php-src/sapi
Dmitry Stogov ea9305c543 Implemented concept of "delayed early binding" that allows opcode caches to perform class declaration (early and/or run-time binding) in exactly the same order as vanila php.
The following pseudo-code explains how it should be used in opcode cache.

function cache_compile_file($filename) {
        if (!is_cached($filename)) {
                ...
                orig_compiler_options = CG(compiler_optins);
                CG(compiler_options) |= ZEND_COMPILE_IGNORE_INTERNAL_CLASSES |
                                        ZEND_COMPILE_DELAYED_BINDING;
                $op_array = orig_compile_file($filename);
                CG(compiler_options) = orig_copiler_options;
                ...
        } else {
                $op_array = restore_from_cache($filename);
        }
        zend_do_delayed_early_binding($op_array);
}
2008-03-18 08:36:49 +00:00
..
aolserver Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
apache Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
apache2filter Adding itk again to non-threaded MPMs. Sorry for the confusion 2008-03-11 22:50:41 +00:00
apache2handler Adding itk again to non-threaded MPMs. Sorry for the confusion 2008-03-11 22:50:41 +00:00
apache_hooks New macro for check void parameters 2008-02-28 14:16:25 +00:00
caudium Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
cgi Implemented concept of "delayed early binding" that allows opcode caches to perform class declaration (early and/or run-time binding) in exactly the same order as vanila php. 2008-03-18 08:36:49 +00:00
cli Implemented concept of "delayed early binding" that allows opcode caches to perform class declaration (early and/or run-time binding) in exactly the same order as vanila php. 2008-03-18 08:36:49 +00:00
continuity Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
embed Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
isapi Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
litespeed Initial checkin of LiteSpeed SAPI module 2006-01-13 03:21:51 +00:00
milter Implemented concept of "delayed early binding" that allows opcode caches to perform class declaration (early and/or run-time binding) in exactly the same order as vanila php. 2008-03-18 08:36:49 +00:00
nsapi Fix typo (#44381) 2008-03-09 16:07:46 +00:00
phttpd Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
pi3web Imporoved PHP binary size and startup speed with GCC4 visibility control (Nuno) 2008-01-30 09:56:22 +00:00
roxen Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
tests - Remove unused blocks 2004-05-19 08:45:46 +00:00
thttpd Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
tux Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
webjames Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00