]> granicus.if.org Git - php/commit
Fix static variable in methods inheritance during preloading
authorNikita Popov <nikita.ppv@gmail.com>
Wed, 4 Nov 2020 14:33:11 +0000 (15:33 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Wed, 4 Nov 2020 14:42:52 +0000 (15:42 +0100)
commit670fe594b9cb838ddc78b7da0dc8aa55f3eebf3f
tree84c24e70f5e50c7ee3c24ad4f5d64096639aa1bd
parentb8f2531ff0ac6a5e7828debd56e8e37ee04a4d6a
Fix static variable in methods inheritance during preloading

This is now "bug compatible" with the normal behavior, and more
imporantly, does not crash :)
Zend/zend_inheritance.c
ext/opcache/tests/preload_method_static_vars.inc [new file with mode: 0644]
ext/opcache/tests/preload_method_static_vars.phpt [new file with mode: 0644]