php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #55754
Patch bug55754-test-case_v2.patch revision 2011-10-06 16:58 UTC by dk at uw dot no
Patch bug_55754_minimal.patch revision 2011-09-23 18:45 UTC by dk at uw dot no
Patch bug_55754-test-case.patch revision 2011-09-23 15:59 UTC by dk at uw dot no
Patch bug_55754-php5.4-201109231430.patch revision 2011-09-23 15:55 UTC by dk at uw dot no
Patch bug_55754-php5.3-201109231430.patch revision 2011-09-23 15:54 UTC by dk at uw dot no

Patch bug55754-test-case_v2.patch for Scripting Engine problem Bug #55754

Patch version 2011-10-06 16:58 UTC

Return to Bug #55754 | Download this patch
This patch renders other patches obsolete

Obsolete patches:

Patch Revisions:

Developer: dk@uw.no

--- /dev/null	2011-07-31 22:39:26.003634828 +0200
+++ php-5.3.8/tests/lang/bug55754.phpt	2011-09-23 12:39:35.000000000 +0200
@@ -0,0 +1,14 @@
+--TEST--
+Bug #55754 (Only variables should be passed by reference for ZEND_SEND_PREFER_REF params)
+--FILE--
+<?php
+
+current($arr = array(0 => "a"));
+current(array(0 => "a"));
+current($arr);
+
+echo "DONE";
+
+?>
+--EXPECT--
+DONE
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 15:01:29 2024 UTC