]> granicus.if.org Git - php/commit
Use FETCH_CLASS_EXCEPTION for instanceof
authorNikita Popov <nikic@php.net>
Mon, 14 Dec 2015 16:50:20 +0000 (17:50 +0100)
committerNikita Popov <nikic@php.net>
Mon, 14 Dec 2015 16:50:20 +0000 (17:50 +0100)
commit56f1106162cdca2cdebfd9321545cc448da32d21
tree70b688448891a090084671d44db9655f634d50b8
parent7078627d22c1d32a17b193eb6bfe83242d877371
Use FETCH_CLASS_EXCEPTION for instanceof

This does not collide with NO_AUTOLOAD -- missing classes will be
silenced, but invalid use of self etc will result in an exception
instead of a fatal error.
Zend/tests/self_instanceof_outside_class.phpt [new file with mode: 0644]
Zend/zend_compile.c
Zend/zend_vm_def.h
Zend/zend_vm_execute.h