On Sat, 2004-03-06 at 15:53, Timm Friebe wrote:
[...]
I'm not sure whether this affects a lot of users, and as noone has
commented on it, I guess PHP5 will get away with this break:)
I'll just have to find a workaround if you insist the PHP4 behaviour is
broken:)
Additionally, it should be
Hi,
$ php5 -r '$o= new stdclass; var_dump(empty($o));'
bool(false)
$ php4 -r '$o= new stdclass; var_dump(empty($o));'
bool(true)
Was this an intentional change?
- Timm
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
On Sun, 2004-02-29 at 18:10, Timm Friebe wrote:
Hi,
[...]
Was this an intentional change?
zend_execute.h, lines 95 - 98:
case IS_OBJECT:
/* OBJ-TBI */
result = 1;
break;
I have a patch, but that includes a TSRMLS_FETCH() - maybe it would be
wise to change:
TF I have a patch, but that includes a TSRMLS_FETCH() - maybe it would
TF be wise to change:
Patch that does what?
--
Stanislav Malyshev, Zend Products Engineer
[EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.109
--
PHP Internals - PHP Runtime Development Mailing List
To
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