1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 18:53:33 +02:00

Happy Year of Monkey (Forgot test of #71537)

This commit is contained in:
Xinchen Hui
2016-02-08 10:22:16 +08:00
parent 336e39f2b1
commit 0490d4a404
+9
View File
@@ -0,0 +1,9 @@
--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"