TypePHP 编译器
https://swoole.com/aot/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
633 B
19 lines
633 B
--TEST--
|
|
chr() with out of range values
|
|
--SKIPIF--
|
|
<?php
|
|
echo 'skip Test output differs under AOT compilation';
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
|
|
var_dump("\xFF" == chr(-1));
|
|
var_dump("\0" == chr(256));
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Deprecated: chr(): Providing a value not in-between 0 and 255 is deprecated, this is because a byte value must be in the [0, 255] interval. The value used will be constrained using % 256 in %s on line 3
|
|
bool(true)
|
|
|
|
Deprecated: chr(): Providing a value not in-between 0 and 255 is deprecated, this is because a byte value must be in the [0, 255] interval. The value used will be constrained using % 256 in %s on line 4
|
|
bool(true)
|
|
|