On 11/6/18 2:35 PM, Christoph M. Becker wrote: > On 06.11.2018 at 12:00, Dan Ackroyd wrote: > >> On Tue, 6 Nov 2018 at 10:05, Dmitry Stogov <dmi...@zend.com> wrote: >> >>> The preloading RFC is turned into voting state. >> Apologies if it's been asked before but from: >> >>> Only classes without unresolved parent, interfaces, traits and constant >>> values may be preloaded. If a class doesn't satisfy to this condition, ... >> Is it possible to inspect which classes have been successfully >> preloaded, and/or which classes have failed to be preloaded due to >> violation of the appropriate conditions? > The RFC states: > > | opcache_get_status is extended to provide information about preloaded > | functions, classes and scripts under the “preload_statistics” index.
Right, if I remember properly, this was Rasmus idea. $ sapi/cli/php -r 'var_dump(opcache_get_status());' array(9) { ... ["preload_statistics"]=> array(4) { ["memory_consumption"]=> int(912672) ["functions"]=> array(?) { [0]=> string(8) "_preload" ... } ["classes"]=> array(?) { [0]=> string(38) "Zend_Controller_Action_Helper_Abstract" ... } array(?) { [0]=> string(46) "/home/dmitry/php/etc/preload.php" ... } } ... } Thanks. Dmitry. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php