On Sun, 2004-02-29 at 19:09, Stanislav Malyshev wrote: > TF>> I have a patch, but that includes a TSRMLS_FETCH() - maybe it would > TF>> be wise to change: > > Patch that does what?
Well, fix the BC issue by implementing what was marked with "TBI" (which, as I assume, means "to be implemented"). When applied, both PHP4 and PHP5 behave the same: $ php5 -r '$o= new stdclass; var_dump(empty($o));' bool(true) $ php4 -r '$o= new stdclass; var_dump(empty($o));' bool(true) I just noticed there are more places (especially in zend_operators.c) where this needs to be done (grep for /* TBI!! */) - Timm -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php