>>> - This feature doesn't bring BC - there will still be enough BC >>> breaks. >> >> Name one, please. The idea is that there shouldn't be any, so if you >> have found one, please file a bug. > > Some might say removing register_globals, magic_quotes_*, etc. are BC > break.
If code is portable, it is coded for register_globals = off, magic_quotes_* = off and removes side effects caused by turned on globals and magic_quotes. If code depends on globals or magic_quotes, it already has issues in some PHP4 and PHP5 setups. > We're just keeping ourselves in the BC pit even through major versions.. > The code would be a lot simpler without all those UG(unicode..) parts. > (Just from the developer's pov of course, why make MFH/MFB easy.. :) If unicode_semantics is turned off, code written for PHP4 can work on PHP6. gpc_magic_quotes() and session_register|unregister issues can be solved with simple function_exists or php version checks and working with $_SESSION directly instead of using session_register|unregister. If you force unicode_semantics=on, you will break scripts that manipulate 8bit strings. Short form of binary typecasting will break php 5.2.0 and older with fatal errors. Unicode extension functions are not available. Alternatives available in PHP4/5 are not stable or provide only limited options. -- Tomas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php