lstrojny Tue Jul 15 08:34:18 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/tests/lang 033.phpt Log: Reenabling the test but removing the test cases for old_function as the alternative syntaxes are still there http://cvs.php.net/viewvc.cgi/php-src/tests/lang/033.phpt?r1=1.2&r2=1.2.8.1&diff_format=u Index: php-src/tests/lang/033.phpt diff -u php-src/tests/lang/033.phpt:1.2 php-src/tests/lang/033.phpt:1.2.8.1 --- php-src/tests/lang/033.phpt:1.2 Sat Nov 23 22:08:05 2002 +++ php-src/tests/lang/033.phpt Tue Jul 15 08:34:18 2008 @@ -1,7 +1,5 @@ --TEST-- Alternative syntaxes test ---SKIPIF-- -<?php if(version_compare(zend_version(), "2.0.0-dev", '>=')) echo "skip removed in Zend Engine 2\n"; ?> --FILE-- <?php $a = 1; @@ -38,16 +36,12 @@ echo 0; break; endswitch; - -echo "\nold_function: "; -old_function foo $bar, $baz ( - return sprintf("foo(%s, %s);\n", $bar, $baz); -); -echo foo(1,2); ?> + +===DONE=== --EXPECT-- If: 11 While: 12346789 For: 0123401234 Switch: 1 -old_function: foo(1, 2); +===DONE===
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php