From: Zoe Slattery Date: Wed, 27 Jun 2007 14:50:21 +0000 (+0000) Subject: Tests constant initialisation X-Git-Tag: php-5.2.4RC1~278 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=af85497e8f620c5960ca1c8e5d8ef513ef5e938a;p=php Tests constant initialisation --- diff --git a/Zend/tests/selfParent_001.phpt b/Zend/tests/selfParent_001.phpt new file mode 100755 index 0000000000..9d8cd6e22f --- /dev/null +++ b/Zend/tests/selfParent_001.phpt @@ -0,0 +1,27 @@ +--TEST-- +Test when constants are initialised. See also selfParent_002.phpt. +--FILE-- + +--EXPECT-- +string(10) "const in A" +string(10) "const in A" diff --git a/Zend/tests/selfParent_002.phpt b/Zend/tests/selfParent_002.phpt new file mode 100755 index 0000000000..18a8f09ea9 --- /dev/null +++ b/Zend/tests/selfParent_002.phpt @@ -0,0 +1,27 @@ +--TEST-- +Test when constants are initialised. See also selfParent_001.phpt. +--FILE-- + +--EXPECT-- +string(10) "const in A" +string(10) "const in A"