]> granicus.if.org Git - php/commitdiff
- New test
authorFelipe Pena <felipe@php.net>
Tue, 11 Nov 2008 16:16:20 +0000 (16:16 +0000)
committerFelipe Pena <felipe@php.net>
Tue, 11 Nov 2008 16:16:20 +0000 (16:16 +0000)
Zend/tests/declare_001.phpt [new file with mode: 0644]

diff --git a/Zend/tests/declare_001.phpt b/Zend/tests/declare_001.phpt
new file mode 100644 (file)
index 0000000..8f6f733
--- /dev/null
@@ -0,0 +1,16 @@
+--TEST--
+Testing declare statement with several type values
+--FILE--
+<?php
+
+declare(encoding = 1);
+declare(encoding = 1123131232131312321);
+declare(encoding = NULL);
+declare(encoding = M_PI);
+declare(encoding = 'utf-8');
+
+print 'DONE';
+
+?>
+--EXPECT--
+DONE