Page MenuHomeFreeBSD

D13233.1793456390.diff
No OneTemporary

Authored By
Unknown
Size
984 B
Referenced Files
None
Subscribers
None

D13233.1793456390.diff

Index: devel/pear/files/patch-php72
===================================================================
--- /dev/null
+++ devel/pear/files/patch-php72
@@ -0,0 +1,24 @@
+From 85ebf1e6190681820634c891af624bacde49a017 Mon Sep 17 00:00:00 2001
+From: Andy Thompson <me@andytson.com>
+Date: Sun, 11 Jun 2017 09:25:12 +0100
+Subject: [PATCH] Remove unneeded by-reference on built-in fuction
+
+PHP 7.2 is complaining about this. It also doesn't appear to be
+needed, as the argument array items aren't being passed by-reference.
+---
+ Archive/Tar.php | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Archive/Tar.php b/Archive/Tar.php
+index 202fffb..0bd1c6c 100644
+--- go-pear-bundle/Tar.php
++++ go-pear-bundle/Tar.php
+@@ -659,7 +659,7 @@ public function setAttribute()
+ }
+
+ // ----- Get the arguments
+- $v_att_list = & func_get_args();
++ $v_att_list = func_get_args();
+
+ // ----- Read the attributes
+ $i = 0;

File Metadata

Mime Type
text/plain
Expires
Sat, Oct 31, 2:19 PM (17 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41266125
Default Alt Text
D13233.1793456390.diff (984 B)

Event Timeline