summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLars Strojny <lstrojny@php.net>2008-07-15 08:34:18 +0000
committerLars Strojny <lstrojny@php.net>2008-07-15 08:34:18 +0000
commit742d0ad1660db2a9bbcc58a04213ee8a1312977c (patch)
treeca6b6927c7a8368e81f024878e3ccf25741bd0ef /tests
parent0890b92f86d9df6be66b74776386b72735cc7bf6 (diff)
downloadphp-git-742d0ad1660db2a9bbcc58a04213ee8a1312977c.tar.gz
Reenabling the test but removing the test cases for old_function as the alternative syntaxes are still there
Diffstat (limited to 'tests')
-rw-r--r--tests/lang/033.phpt12
1 files changed, 3 insertions, 9 deletions
diff --git a/tests/lang/033.phpt b/tests/lang/033.phpt
index 724c67b225..21e3768e1b 100644
--- a/tests/lang/033.phpt
+++ b/tests/lang/033.phpt
@@ -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 @@ switch ($a):
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===