dis-bench / src /php /php-src /ext /pcre /tests /bug71537.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
197 Bytes
--TEST--
Fixed bug #71537 (PCRE segfault from Opcache)
--FILE--
<?php
var_dump(preg_replace(array("/Monkey/"), array(2016), "Happy Year of Monkey"));
?>
--EXPECT--
string(18) "Happy Year of 2016"