From: Felipe Pena Date: Tue, 11 Nov 2008 16:12:18 +0000 (+0000) Subject: - New test X-Git-Tag: BEFORE_HEAD_NS_CHANGE~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=539536fb3cfa413807dc772db6a0174e7a80afe8;p=php - New test --- diff --git a/Zend/tests/declare_001.phpt b/Zend/tests/declare_001.phpt new file mode 100644 index 0000000000..dcd10ba3d2 --- /dev/null +++ b/Zend/tests/declare_001.phpt @@ -0,0 +1,22 @@ +--TEST-- +Testing declare statement with several type values +--FILE-- + +--EXPECTF-- +Warning: Unsupported encoding [1] in %s on line %d + +Warning: Unsupported encoding [1.2] in %s on line %d + +Warning: Unsupported encoding [] in %s on line %d + +Fatal error: Cannot use constants as encoding in %s on line %d