>>> works fine here... (with php 5.2) >> >> http://www.php.net/ChangeLog-5.php#5.2.1 >> >> - Added forward support for 'b' prefix in front of string literals. >> (Andrei) >> >> >> PHP 5.2.0 >> Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in >> test.php on line 5 >> >> PHP 4.1.2 >> Parse error: parse error, expecting `','' or `';'' in test.php on >> line 2 > > Right, it's available in 5.2.1. What's the problem?
No problem. I just can't use it. It does not pass even basic "must work on Debian Stable" test. Option creates parsing errors in older PHP versions and I can't wrap it with PHP6 check. Such code must be stored in separate libraries loaded only in PHP6 and issue affects way to many functions. If scripts are portable, they should work on any PHP version without tweaks in PHP_INI_PERDIR configuration. Minimal 5.2.1+ requirement is not acceptable. We are not talking about code designed to work only on some selected setup. unicode.semantics is the third PHP configuration option that can seriously break things. First two are 'variables_order' and 'gpc_order'. -- Tomas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php