laruence                                 Mon, 31 Oct 2011 06:52:45 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=318602

Log:
Update tests

Changed paths:
    U   php/php-src/branches/PHP_5_4/Zend/tests/bug60169.phpt
    U   php/php-src/trunk/Zend/tests/bug60169.phpt

Modified: php/php-src/branches/PHP_5_4/Zend/tests/bug60169.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/Zend/tests/bug60169.phpt       2011-10-31 
06:48:20 UTC (rev 318601)
+++ php/php-src/branches/PHP_5_4/Zend/tests/bug60169.phpt       2011-10-31 
06:52:45 UTC (rev 318602)
@@ -6,7 +6,8 @@
 <?php
 error_reporting(0);
 $arr  = array("test");
-list($a,$b)= is_array($arr)? $arr : $arr;
+list($a,$b) = is_array($arr)? $arr : $arr;
+list($c,$d) = is_array($arr)?: NULL;
 echo "ok\n";
 --EXPECT--
 ok

Modified: php/php-src/trunk/Zend/tests/bug60169.phpt
===================================================================
--- php/php-src/trunk/Zend/tests/bug60169.phpt  2011-10-31 06:48:20 UTC (rev 
318601)
+++ php/php-src/trunk/Zend/tests/bug60169.phpt  2011-10-31 06:52:45 UTC (rev 
318602)
@@ -6,7 +6,8 @@
 <?php
 error_reporting(0);
 $arr  = array("test");
-list($a,$b)= is_array($arr)? $arr : $arr;
+list($a,$b) = is_array($arr)? $arr : $arr;
+list($c,$d) = is_array($arr)?: NULL;
 echo "ok\n";
 --EXPECT--
 ok

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to