You are here: bug in php5.0.3 « PHP « IT news, forums, messages
bug in php5.0.3

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация