mirror of
https://github.com/php/php-src.git
synced 2024-11-25 10:54:15 +08:00
23 lines
354 B
PHP
23 lines
354 B
PHP
--TEST--
|
|
Testing declare statement with several type values
|
|
--SKIPIF--
|
|
<?php
|
|
if (in_array("detect_unicode", array_keys(ini_get_all()))) {
|
|
die("skip");
|
|
}
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
|
|
declare(encoding = 1);
|
|
declare(encoding = 1123131232131312321);
|
|
declare(encoding = NULL);
|
|
declare(encoding = M_PI);
|
|
declare(encoding = 'utf-8');
|
|
|
|
print 'DONE';
|
|
|
|
?>
|
|
--EXPECT--
|
|
DONE
|