Hi,

With PHP5.4 I get this warning

| Warning: declare(encoding=...) ignored because Zend multibyte feature
| is turned off by settings in [..]

because of

| declare(encoding = 'UTF-8');

An except from the manual [1]

The encoding declare value is ignored in PHP 5.3 unless php is compiled with 
--enable-zend-multibyte.

Does this really means, that this declare statement is _ignored_, when PHP is _not_ compiled with "--enable-zend-multibyte", but it yields a warning (and not even just a notice), when it is (what is default now)? That feels a little bit inconsistent to me.

And btw: Its probably asked before, but is there a reason, why multibyte-support is disabled by default?

Regards,
Sebastian

[1] http://php.net/manual/en/control-structures.declare.php

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to