derick Sat Nov 23 17:08:07 2002 EDT Modified files: /php4/tests/func 002.phpt 003.phpt 004.phpt /php4/tests/lang 033.phpt Log: - Adjust tests for removed old_function() in Zend Engine 2 Index: php4/tests/func/002.phpt diff -u php4/tests/func/002.phpt:1.1 php4/tests/func/002.phpt:1.2 --- php4/tests/func/002.phpt:1.1 Sun Aug 27 15:46:04 2000 +++ php4/tests/func/002.phpt Sat Nov 23 17:08:03 2002 @@ -1,7 +1,7 @@ --TEST-- Static variables in functions ---POST-- ---GET-- +--SKIPIF-- +<?php if(version_compare(zend_version(), "2.0.0-dev", '>=')) echo "skip removed in +Zend Engine 2\n"; ?> --FILE-- <?php old_function blah ( Index: php4/tests/func/003.phpt diff -u php4/tests/func/003.phpt:1.1 php4/tests/func/003.phpt:1.2 --- php4/tests/func/003.phpt:1.1 Sun Aug 27 15:46:04 2000 +++ php4/tests/func/003.phpt Sat Nov 23 17:08:03 2002 @@ -1,7 +1,7 @@ --TEST-- General function test ---POST-- ---GET-- +--SKIPIF-- +<?php if(version_compare(zend_version(), "2.0.0-dev", '>=')) echo "skip removed in +Zend Engine 2\n"; ?> --FILE-- <?php Index: php4/tests/func/004.phpt diff -u php4/tests/func/004.phpt:1.1 php4/tests/func/004.phpt:1.2 --- php4/tests/func/004.phpt:1.1 Sun Aug 27 15:46:04 2000 +++ php4/tests/func/004.phpt Sat Nov 23 17:08:03 2002 @@ -1,7 +1,7 @@ --TEST-- General function test ---POST-- ---GET-- +--SKIPIF-- +<?php if(version_compare(zend_version(), "2.0.0-dev", '>=')) echo "skip removed in +Zend Engine 2\n"; ?> --FILE-- <?php Index: php4/tests/lang/033.phpt diff -u php4/tests/lang/033.phpt:1.1 php4/tests/lang/033.phpt:1.2 --- php4/tests/lang/033.phpt:1.1 Fri Mar 29 12:12:11 2002 +++ php4/tests/lang/033.phpt Sat Nov 23 17:08:05 2002 @@ -1,7 +1,7 @@ --TEST-- Alternative syntaxes test ---POST-- ---GET-- +--SKIPIF-- +<?php if(version_compare(zend_version(), "2.0.0-dev", '>=')) echo "skip removed in +Zend Engine 2\n"; ?> --FILE-- <?php $a = 1;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php