]> granicus.if.org Git - php/commitdiff
Reenabling the test but removing the test cases for old_function as the alternative...
authorLars Strojny <lstrojny@php.net>
Tue, 15 Jul 2008 08:34:18 +0000 (08:34 +0000)
committerLars Strojny <lstrojny@php.net>
Tue, 15 Jul 2008 08:34:18 +0000 (08:34 +0000)
tests/lang/033.phpt

index 724c67b225af45c2d0f5b0557bb6b69572dcf325..21e3768e1b1334571f7e1bf0741a84a55dc31e26 100644 (file)
@@ -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===