From: Zoe Slattery Date: Wed, 27 Jun 2007 15:01:36 +0000 (+0000) Subject: Tests for constant initialisation X-Git-Tag: BEFORE_IMPORT_OF_MYSQLND~368 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6851bedd28402c988b7ba561a7ffab414a5a5f03;p=php Tests for constant initialisation --- diff --git a/Zend/tests/selfParent_001.phpt b/Zend/tests/selfParent_001.phpt new file mode 100755 index 0000000000..29b698e2ba --- /dev/null +++ b/Zend/tests/selfParent_001.phpt @@ -0,0 +1,30 @@ +--TEST-- +Test when constants are initialised. See also selfParent_002.phpt. +--FILE-- + +--EXPECT-- +string(10) "const in A" +string(10) "const in A" +--UEXPECT-- +unicode(10) "const in A" +unicode(10) "const in A" \ No newline at end of file diff --git a/Zend/tests/selfParent_002.phpt b/Zend/tests/selfParent_002.phpt new file mode 100755 index 0000000000..30a4a4f7b8 --- /dev/null +++ b/Zend/tests/selfParent_002.phpt @@ -0,0 +1,30 @@ +--TEST-- +Test when constants are initialised. See also selfParent_001.phpt. +--FILE-- + +--EXPECT-- +string(10) "const in A" +string(10) "const in A" +--UEXPECT-- +unicode(10) "const in A" +unicode(10) "const in A"