]> granicus.if.org Git - php/commit
Fix crash with mbstring, this probably isn't the correct behaviour but 272/276 of...
authorScott MacVicar <scottmac@php.net>
Thu, 27 Jan 2011 11:47:31 +0000 (11:47 +0000)
committerScott MacVicar <scottmac@php.net>
Thu, 27 Jan 2011 11:47:31 +0000 (11:47 +0000)
commitc10b7e3ac2825d6bb41a47290a4118212dc7b1db
tree9d32e0516eb993ffe16584c80e456892aac6693a
parent36854c3cadba043e71bc4aa1c6844e5d2d50e979
Fix crash with mbstring, this probably isn't the correct behaviour but 272/276 of the tests pass after this.

When mbstring.language is unset, it ends up being mbfl_no_language_neutral and there is no default when setting the encoding.

internal_encoding and current_internal_encoding then end up being null.
ext/mbstring/mbstring.c