stas                                     Tue, 12 Jul 2011 05:20:40 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=313162

Log:
remove warning for is_a() BC

Changed paths:
    U   php/php-src/branches/PHP_5_3/Zend/zend_builtin_functions.c
    U   php/php-src/branches/PHP_5_4/Zend/zend_builtin_functions.c
    U   php/php-src/trunk/Zend/zend_builtin_functions.c

Modified: php/php-src/branches/PHP_5_3/Zend/zend_builtin_functions.c
===================================================================
--- php/php-src/branches/PHP_5_3/Zend/zend_builtin_functions.c  2011-07-12 
04:58:55 UTC (rev 313161)
+++ php/php-src/branches/PHP_5_3/Zend/zend_builtin_functions.c  2011-07-12 
05:20:40 UTC (rev 313162)
@@ -825,7 +825,6 @@
        if (Z_TYPE_P(obj) == IS_STRING) {
                zend_class_entry **the_ce;
                if (zend_lookup_class(Z_STRVAL_P(obj), Z_STRLEN_P(obj), &the_ce 
TSRMLS_CC) == FAILURE) {
-                       zend_error(E_WARNING, "Unknown class passed as 
parameter");
                        RETURN_FALSE;
                }
                instance_ce = *the_ce;

Modified: php/php-src/branches/PHP_5_4/Zend/zend_builtin_functions.c
===================================================================
--- php/php-src/branches/PHP_5_4/Zend/zend_builtin_functions.c  2011-07-12 
04:58:55 UTC (rev 313161)
+++ php/php-src/branches/PHP_5_4/Zend/zend_builtin_functions.c  2011-07-12 
05:20:40 UTC (rev 313162)
@@ -848,7 +848,6 @@
        if (Z_TYPE_P(obj) == IS_STRING) {
                zend_class_entry **the_ce;
                if (zend_lookup_class(Z_STRVAL_P(obj), Z_STRLEN_P(obj), &the_ce 
TSRMLS_CC) == FAILURE) {
-                       zend_error(E_WARNING, "Unknown class passed as 
parameter");
                        RETURN_FALSE;
                }
                instance_ce = *the_ce;

Modified: php/php-src/trunk/Zend/zend_builtin_functions.c
===================================================================
--- php/php-src/trunk/Zend/zend_builtin_functions.c     2011-07-12 04:58:55 UTC 
(rev 313161)
+++ php/php-src/trunk/Zend/zend_builtin_functions.c     2011-07-12 05:20:40 UTC 
(rev 313162)
@@ -848,7 +848,6 @@
        if (Z_TYPE_P(obj) == IS_STRING) {
                zend_class_entry **the_ce;
                if (zend_lookup_class(Z_STRVAL_P(obj), Z_STRLEN_P(obj), &the_ce 
TSRMLS_CC) == FAILURE) {
-                       zend_error(E_WARNING, "Unknown class passed as 
parameter");
                        RETURN_FALSE;
                }
                instance_ce = *the_ce;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to