diff options
Diffstat (limited to 'ext/pcre/tests/preg_replace_callback_array.phpt')
-rw-r--r-- | ext/pcre/tests/preg_replace_callback_array.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/tests/preg_replace_callback_array.phpt b/ext/pcre/tests/preg_replace_callback_array.phpt index 9e9e819134..6780bfba1b 100644 --- a/ext/pcre/tests/preg_replace_callback_array.phpt +++ b/ext/pcre/tests/preg_replace_callback_array.phpt @@ -38,7 +38,7 @@ var_dump(preg_replace_callback_array( '/d/' => array("Foo", "rep"), "/c/" => new Rep, "/a/" => 'b', - "/b/" => create_function('$a', 'return "ok";')), 'a', -1, $count)); + "/b/" => function($a) { return "ok"; }), 'a', -1, $count)); var_dump($count); ?> |