dis-bench / src /php /php-src /Zend /tests /attributes /deprecated /message_003.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
238 Bytes
--TEST--
#[\Deprecated]: Message contains NUL bytes.
--FILE--
<?php
#[\Deprecated("Here is a NUL \x00 Byte")]
function test() {
}
test();
?>
--EXPECTF--
Deprecated: Function test() is deprecated, Here is a NUL %0 Byte in %s on line %d