xref: /PHP-5.3/Zend/tests/declare_001.phpt (revision ac15afe9)
1--TEST--
2Testing declare statement with several type values
3--SKIPIF--
4<?php
5if (in_array("detect_unicode", array_keys(ini_get_all()))) {
6  die("skip");
7}
8?>
9--FILE--
10<?php
11
12declare(encoding = 1);
13declare(encoding = 1123131232131312321);
14declare(encoding = NULL);
15declare(encoding = M_PI);
16declare(encoding = 'utf-8');
17
18print 'DONE';
19
20?>
21--EXPECT--
22DONE
23