Bug #16595 [Opn->Ver]: Inkompatibility to current version of PHP

From: Date: Mon, 14 Sep 2009 03:55:28 +0000
Subject: Bug #16595 [Opn->Ver]: Inkompatibility to current version of PHP
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-1614@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=16595&edit=1 ID: 16595 Updated by: daniel.oconnor@gmail.com Reported By: sebi at gohres dot de Summary: Inkompatibility to current version of PHP -Status: Open +Status: Verified Type: Bug Package: Date_Holidays Operating System: Windows XP SP2 Package Version: 0.21.4 PHP Version: 5.3.0 Roadmap Versions: New Comment: -Status: Open +Status: Verified Previous Comments: ------------------------------------------------------------------------ [2009-09-14 04:55:14] doconnor if (!is_object($data)) { return false; } is a better solution. ------------------------------------------------------------------------ [2009-09-11 14:34:19] sebi82 Description: ------------ In Holidays.php line 365 you should replace $errorClass = get_class($data); by $errorClass = get_class((Object)$data); in order to solve error messages like warning: get_class() expects parameter 1 to be object, xxx given [...] ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=16595&edit=1

« previous php.pear.bugs (#1614) next »