dmitry          Mon Feb 18 09:02:17 2008 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/standard/tests/array   count_variation3.phpt 
  Log:
  Fixed test
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/count_variation3.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/standard/tests/array/count_variation3.phpt
diff -u php-src/ext/standard/tests/array/count_variation3.phpt:1.1.2.2 
php-src/ext/standard/tests/array/count_variation3.phpt:1.1.2.3
--- php-src/ext/standard/tests/array/count_variation3.phpt:1.1.2.2      Thu Feb 
14 16:49:17 2008
+++ php-src/ext/standard/tests/array/count_variation3.phpt      Mon Feb 18 
09:02:16 2008
@@ -24,6 +24,8 @@
 echo "\n-- \$mode = 1: --\n";
 var_dump(count ($array1, 1));
 
+$array1[3] = null;
+
 echo "Done";
 ?>
 --EXPECTF--
@@ -32,4 +34,8 @@
 -- $mode not set: --
 int(4)
 
--- $mode = 1: --
\ No newline at end of file
+-- $mode = 1: --
+
+Warning: count(): recursion detected in %s on line %d
+int(12)
+Done

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

Reply via email to