Posted by Patrick Fehr on 10/19/94 11:05
hi all
using:
php5.0.3
linux 2.6.9-gentoo-r1
problem:
/usr/bin/php -r '$x = "abc"; var_dump(isset($x->result));'
returns bool(true)
while
/usr/bin/php -r '$x = "abc"; var_dump(is_object($x->result));'
returns bool(false)
Second one seems correct, but what about the first command?
I tried it in php4.3.9 and it returned bool(false)
I need this for PEAR:DB_DataObject where I receive because of that some
Notices like: Trying to get property of non-object in...
thanks for your consideration
--
Patrick Fehr
Swiss Federal Institute Of Technology
Navigation:
[Reply to this message]
|