…callStatic() userspace method @doc
- Add ZVAL_ENC_STRING[L] macro that allows returning either a binary string or an encoded strings as Unicode based on type, instead of UG(unicode)
- Also mark get_include_path() and restore_include_path() with U.
strings to Unicode actually issues errors on failure. I'm surprised we haven't done this already.
strings passed to PCRE have to be IS_UNICODE or IS_STRING in UTF-8 encoding. Failure to do so will result in unpredictable results.