Fix mb_parse_str to have the arg separator the same as PHP
commit18e2ef9d64fa482576dd2025bbabb5be749a8abf
authorMichael O'Farrell <michaelofarrell@fb.com>
Wed, 5 Apr 2017 17:35:16 +0000 (5 10:35 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Wed, 5 Apr 2017 17:47:54 +0000 (5 10:47 -0700)
treeba9b991b8624db9bdfccc274667f34635e2ff6fc
parent19cf179fdf07718c2c9fdb1217e1f4498b98ff91
Fix mb_parse_str to have the arg separator the same as PHP

Summary:
The default arg_separator in php is just '&' not '&' or ';'.
See http://php.net/manual/en/ini.core.php#ini.arg-separator.input

Closes https://github.com/facebook/hhvm/issues/7751

Reviewed By: Orvid

Differential Revision: D4829904

fbshipit-source-id: 8a4295270b13934b40468dc0feadae8e48cc8f1f
hphp/runtime/ext/mbstring/ext_mbstring.cpp
hphp/test/slow/mbstring-github-bug7751.php [new file with mode: 0644]
hphp/test/slow/mbstring-github-bug7751.php.expect [new file with mode: 0644]