preg_replace_callback should pass darrays to the callback
commit668f6c9912fd5fcba6d2fe2714278d15096a4690
authorKevin Viratyosin <viratyosin@fb.com>
Fri, 21 Jun 2019 22:03:07 +0000 (21 15:03 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Fri, 21 Jun 2019 22:10:31 +0000 (21 15:10 -0700)
tree5a50b9322454c212f0bc5e4f6fa0bc730e2cf40b
parent690e69a3c42b7de62a8da2587a9cf816c52ddfa9
preg_replace_callback should pass darrays to the callback

Summary: As titled

Reviewed By: billf

Differential Revision: D15932222

fbshipit-source-id: 4c5343e3dc5a1637b91b46bf483c21674ff9baf2
hphp/runtime/base/preg.cpp
hphp/test/slow/ext_preg/hackarrdvarrs/preg_replace_named_subpat.php.expect
hphp/test/slow/ext_preg/preg_replace_named_subpat.php
hphp/test/slow/ext_preg/preg_replace_named_subpat.php.expect