From 539536fb3cfa413807dc772db6a0174e7a80afe8 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Tue, 11 Nov 2008 16:12:18 +0000 Subject: [PATCH] - New test --- Zend/tests/declare_001.phpt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Zend/tests/declare_001.phpt 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 -- 2.50.1