Sebastian Bergmann
35e83d2afb
sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.php
2010-01-05 20:46:53 +00:00
Sebastian Bergmann
7f4dc8702a
Bump copyright year, 3 of 3.
2008-12-31 11:12:40 +00:00
Dmitry Stogov
8d2e0a7e0f
Added closures support
2008-07-08 07:05:04 +00:00
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
Sebastian Bergmann
9b620d50b4
Bump copyright year, 2 of 2.
2007-12-31 07:12:20 +00:00
Dmitry Stogov
32ff00efce
Speed-up of ZEND_DO_FCALL and ZEND_INIT_FCALL_BY_NAME by lowercasing and calculating hash values at compile time.
2007-11-22 09:03:11 +00:00
Dmitry Stogov
611abb17fc
Namespace constants
2007-08-24 13:50:52 +00:00
Marcus Boerger
80c2f1f92c
- Improved version of ternary shortcut
2007-03-08 17:30:28 +00:00
Sebastian Bergmann
3717df72ae
Bump year.
2007-01-01 09:29:37 +00:00
Dmitry Stogov
f8576f84dc
Implemented "jump label" operator (limited "goto")
2006-03-10 08:29:43 +00:00
Andi Gutmans
5de7cc3194
- Update copyright notices to 2006
2006-01-04 23:54:12 +00:00
Dmitry Stogov
3c6c6d2a9a
$id:$ tatgs are removed from generated files to avoid committing of Zend/zend_vm_opcodes.h without real changes.
2005-10-28 06:05:41 +00:00
Andrei Zmievski
b80cb7bd2f
Unicode support
2005-08-11 23:35:03 +00:00
Dmitry Stogov
c3e6a90808
ZEND_UNSET_DIM_OBJ is splitted to ZEND_UNSET_DIM and ZEND_UNSET_OBJ.
2005-06-16 12:17:39 +00:00
Dmitry Stogov
84b96e9b03
Fix so that extensions like xdebug, can overload opcodes in all execution modes including goto/switch
2005-06-10 09:54:38 +00:00
Dmitry Stogov
6efa17c2a1
Merge three opcodes (ZEND_NEW, ZEND_JMP_NO_CTOR, ZEND_INIT_CTOR) into one (ZEND_NEW). There was no real reason for this anymore and API should be changed before 5.1
2005-06-10 07:56:40 +00:00
foobar
a96507c1ec
- Added missing header sections.
2005-01-10 14:57:36 +00:00
Andi Gutmans
657e5d0fbc
- Oops missed this one
2004-10-27 20:13:59 +00:00