Fix mb_parse_str for empty input
commit463308a88b5e3e5ba181c43ce38d5d0a5e1162b5
authorFred Emmott <fredemmott@fb.com>
Tue, 18 Mar 2014 00:04:53 +0000 (17 17:04 -0700)
committerSara Golemon <sgolemon@fb.com>
Tue, 18 Mar 2014 21:00:11 +0000 (18 14:00 -0700)
tree33d60acdd3a9f6229fdcfc37532160f9981c041d
parent8e51f03670052bbac63fa1db7cdbd38008d30edd
Fix mb_parse_str for empty input

Should be array(), currently null Breaks the Slim unit tests.

Reviewed By: @jdelong

Differential Revision: D1225411
hphp/runtime/ext/ext_mb.cpp
hphp/test/slow/ext_mb/mb_str.php
hphp/test/slow/ext_mb/mb_str.php.expect