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:
@@ -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"
|
||||
Reference in New Issue
Block a user