]> granicus.if.org Git - php/commitdiff
- Change to E_STRICT so as not to break existing scripts.
authorAndi Gutmans <andi@php.net>
Mon, 1 Dec 2003 12:35:46 +0000 (12:35 +0000)
committerAndi Gutmans <andi@php.net>
Mon, 1 Dec 2003 12:35:46 +0000 (12:35 +0000)
- Thanks Edin

Zend/zend_execute.c

index b3702ad15c11d8d3c77b5f34ef83142fb1d23d73..ac4b2565be177c2465d684f6c7510ea01d485128 100644 (file)
@@ -282,7 +282,7 @@ static inline void make_real_object(zval **object_ptr TSRMLS_DC)
                if (!PZVAL_IS_REF(*object_ptr)) {
                        SEPARATE_ZVAL(object_ptr);
                }
-               zend_error(E_NOTICE, "Creating default object from empty value");
+               zend_error(E_STRICT, "Creating default object from empty value");
                object_init(*object_ptr);
        }
 }