Description
The following code:
<?php
namespace test\ns1;
var_dump(str_replace("\0", '\0', $data));
Resulted in this output (JIT 1211):
/php-src/Zend/zend_API.c:501: _Bool zend_null_arg_deprecated(const char *, uint32_t): Assertion `func->common.fn_flags & (1 << 14)' failed.
Aborted (core dumped)
#16405
PHP Version
nightly
Operating System
ubuntu 22.04