From: Antony Dovgal Date: Thu, 13 Dec 2007 13:51:15 +0000 (+0000) Subject: MFH: add new tests written by Felipe Pena X-Git-Tag: RELEASE_1_3_1~512 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2569b593f14ee4a95ea2b88c6ba09ecea67472a3;p=php MFH: add new tests written by Felipe Pena --- diff --git a/Zend/tests/constructor_args.phpt b/Zend/tests/constructor_args.phpt new file mode 100644 index 0000000000..8056874286 --- /dev/null +++ b/Zend/tests/constructor_args.phpt @@ -0,0 +1,20 @@ +--TEST-- +Different numbers of arguments in __construct() +--FILE-- + +--EXPECT-- +ok! diff --git a/Zend/tests/inter_01.phpt b/Zend/tests/inter_01.phpt new file mode 100644 index 0000000000..db2e86d206 --- /dev/null +++ b/Zend/tests/inter_01.phpt @@ -0,0 +1,18 @@ +--TEST-- +Inherited constant from interface +--FILE-- + +--EXPECTF-- +Fatal error: Cannot inherit previously-inherited constant foo from interface foo in %s on line %d diff --git a/Zend/tests/inter_02.phpt b/Zend/tests/inter_02.phpt new file mode 100644 index 0000000000..18db230b21 --- /dev/null +++ b/Zend/tests/inter_02.phpt @@ -0,0 +1,21 @@ +--TEST-- +Namespace constant as value default +--FILE-- + +--EXPECT-- +int(2)