Test: /ext/pcre/tests/preg_replace_callback_array2.phpt - Version 7.0.16-dev    

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
019+ Fatal error: Uncaught TypeError: Argument 2 passed to preg_replace_callback() must be callable, array given in %s/preg_replace_callback_array2.php:13
020+ Stack trace:
021+ #0 %s/preg_replace_callback_array2.php(13): preg_replace_callback(Array, Array, Array, Array, '')
022+ #1 {main}
023+ thrown in %s/preg_replace_callback_array2.php on line 13
019- Warning: preg_replace_callback() expects parameter 4 to be integer, array given in %s on line %d
020- NULL
021- string(0) ""
022-
023- Warning: preg_replace_callback_array(): 's' is not a valid callback in %spreg_replace_callback_array2.php on line %d
024- array(0) {
025- }
026- string(0) ""
027-
028- Warning: preg_replace_callback_array(): No ending delimiter '/' found in %spreg_replace_callback_array2.php on line %d
029- NULL
030- string(1) "1"
031- Done