Edit report at http://bugs.php.net/bug.php?id=52348&edit=1
ID: 52348 Updated by: cataphr...@php.net Reported by: php-bugs at thequod dot de Summary: Ability to detect zend multibyte mode at runtime Status: Closed Type: Feature/Change Request Package: PHP options/info functions PHP Version: 5.3.3RC3 Assigned To: kalle Block user comment: N Private report: N New Comment: Someone on internals requested I added this here: «The problem in 5.3 is not as grave as the bug report paints it, you don't need to sniff phpinfo() to see whether PHP was compiled with --enable-zend-multibyte. You can use, for instance: key_exists("detect_unicode", ini_get_all())» Previous Comments: ------------------------------------------------------------------------ [2010-11-11 18:19:33] php-bugs at thequod dot de Thanks a lot! ------------------------------------------------------------------------ [2010-11-11 02:44:17] ka...@php.net Added, this will be available in PHP 5.3.4+ ;-) ------------------------------------------------------------------------ [2010-11-11 02:43:55] ka...@php.net Automatic comment from SVN on behalf of kalle Revision: http://svn.php.net/viewvc/?view=revision&revision=305266 Log: Added new constant; ZEND_MULTIBYTE to check whether PHP was compiled using --enable-zend-multibyte or not instead of sniffing phpinfo() (FR #52348) ------------------------------------------------------------------------ [2010-10-23 19:14:02] ka...@php.net Done, I can add such a constant to the 5.3 branch and trunk sometime this weekend ------------------------------------------------------------------------ [2010-10-23 17:46:17] php-bugs at thequod dot de Thank you! Can you forward / re-assign the bug maybe so that it is possible to detect this during runtime, please? Please leave a short reply, if you won't do it, so I will do this. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/bug.php?id=52348 -- Edit this bug report at http://bugs.php.net/bug.php?id=52348&edit=1