diff options
author | Dmitry Stogov <dmitry@zend.com> | 2020-03-12 16:31:24 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2020-03-12 16:31:24 +0300 |
commit | 2dddab01ae6a5427d9f6f38770cea4553e93b033 (patch) | |
tree | 5e04f2d91956e224b235fc84f232bceab7da10c4 /Zend/zend.c | |
parent | ddc3f3d595c28b7b9756dc346c0895000cf2631f (diff) | |
download | php-git-2dddab01ae6a5427d9f6f38770cea4553e93b033.tar.gz |
Avoid "Anonymous class wasn't preloaded" error by lazely loading of not preloaded part of a preloaded script
Diffstat (limited to 'Zend/zend.c')
-rw-r--r-- | Zend/zend.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend.c b/Zend/zend.c index 97ac3327ca..a9ae03e624 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -81,6 +81,7 @@ ZEND_API char *(*zend_getenv)(char *name, size_t name_len); ZEND_API zend_string *(*zend_resolve_path)(const char *filename, size_t filename_len); ZEND_API int (*zend_post_startup_cb)(void) = NULL; ZEND_API void (*zend_post_shutdown_cb)(void) = NULL; +ZEND_API int (*zend_preload_autoload)(zend_string *filename) = NULL; void (*zend_on_timeout)(int seconds); |