History log of /PHP-5.4/Zend/zend_opcode.c (Results 51 – 75 of 158)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# f82ed136 23-Sep-2004 Andi Gutmans

- Commit new VM architecture. This one allows people (aka Derick) to
- ask the engine to use function handler mode. Will update the README
- about that.


Revision tags: php-5.0.2, php-4.3.9, php-5.0.2RC1, php-4.3.9RC3
# 96ab56e1 09-Sep-2004 Andi Gutmans

- Roll back VM commit


# 8eb8850c 08-Sep-2004 Andi Gutmans

- Some architectural changes:
a) We specialize opcodes according to op_type fields. Each opcode has to
be marked with which op_type's it uses.
b) We support different execution meth

- Some architectural changes:
a) We specialize opcodes according to op_type fields. Each opcode has to
be marked with which op_type's it uses.
b) We support different execution methods. Function handlers, switch()
and goto dispatching. goto seems to be the fastest but it really
depends on the compiler and how well it optimizes. I suggest playing
around with optimization flags.

- Warning: Things might break so keep us posted on how things are going.
(Dmitry, Andi)

show more ...


Revision tags: PRE_ZEND_VM_DISPATCH_PATCH, php-4.3.9RC2, php-5.0.1, php-5.0.1RC2, php-4.3.9RC1, php-5.0.1RC1
# d96e7a17 29-Jul-2004 Sara Golemon

Revert goto opcode


# 5865b368 29-Jul-2004 Sara Golemon

Add goto operator by popular request.


Revision tags: RELEASE_0_1, php-5.0.0RC4, php-5.0.0, php-4.3.8, php-5.0.0RC3
# fb5cb590 06-Jun-2004 Stefan Esser

Fixed Zend Function Destructor to use correct TSRM handle.


Revision tags: php-5.0.0RC3RC2, php-4.3.7, php-5.0.0RC3RC1, php-4.3.7RC1, RELEASE_0_1_1, php-5.0.0RC2, php-5.0.0RC2RC2, php-4.3.6, php-5.0.0RC2RC1, php-4.3.6RC3, php-4.3.6RC2, php-4.3.6RC1, php-4.3.5, php-4.3.5RC4, php-5.0.0RC1, php-5.0.0RC1RC2, php-5.0.0RC1RC1, RELEASE_0_2_0
# 36a75184 25-Feb-2004 Zeev Suraski

- Abstract methods cannot have defaults for arguments
- Make function foo($a, $b=null) satisfy both foo($a) and foo($a, $b)
prototypes


# acf7a5e2 20-Feb-2004 foobar

ws fix


Revision tags: php-4.3.5RC3, php-5.0.0b4, php-5.0.0b4RC1
# 72364159 04-Feb-2004 Zeev Suraski

Optimize


Revision tags: php-4.3.5RC2
# 9e60cb55 03-Feb-2004 Zeev Suraski

Rewrote exception support. Fixes a few limitations and bugs in the old
implementation, and allows exceptions to 'fire' much earlier than before.

Instructions on how to use the new mecha

Rewrote exception support. Fixes a few limitations and bugs in the old
implementation, and allows exceptions to 'fire' much earlier than before.

Instructions on how to use the new mechanism will follow on internals@
shortly...

Note - this (most probably) breaks the current implementation of
set_exception_handler()

show more ...


Revision tags: RELEASE_1_3b6, php_ibase_before_split, php-4.3.5RC1
# ccfc46b0 08-Jan-2004 foobar

- Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?


Revision tags: php-5.0.0b3, php-5.0.0b3RC2, php-5.0.0b3RC1, php-4.3.4, php-4.3.4RC3, php-5.0.0b2, RELEASE_2_0_0RC1, php-5.0.0b2RC1, php-4.3.4RC2, RELEASE_1_3b3, BEFORE_HANDLERS_RESHUFFLE, RELEASE_1_3b2, php-4.3.4RC1, RELEASE_0_7, php-4.3.3, php-4.3.3RC4, RELEASE_0_5_3, php-4.3.3RC3, RELEASE_0_5_2, RELEASE_1_2b5
# 6f53e48b 04-Aug-2003 Zeev Suraski

This check shouldn't be necessary


# 1f8fd69e 03-Aug-2003 Marcus Boerger

Fix crash


# f8bbafd6 03-Aug-2003 Zeev Suraski

ntroduce infrastructure for supplying information about arguments,
including:

- Whether or not to pass by ref (replaces the old arg_types, with arg_info)
- Argument name (for future

ntroduce infrastructure for supplying information about arguments,
including:

- Whether or not to pass by ref (replaces the old arg_types, with arg_info)
- Argument name (for future use, maybe introspection)
- Class/Interface name (for type hints)
- If a class/interface name is available, whether to allow a null instance

Both user and builtin functions share the same data structures.

To declare a builtin function that expects its first arg to be an instance
of class 'Person', its second argument as a regular arg, and its third by
reference, use:

ZEND_BEGIN_ARG_INFO(my_func_arg_info, 0)
ZEND_ARG_OBJ_INFO(0, someone, Person, 1)
ZEND_ARG_PASS_INFO(0)
ZEND_ARG_PASS_INFO(1)
ZEND_END_ARG_INFO();

and use my_func_arg_info as the arg_info parameter to the ZEND_FE() family
of macros.

The first arg to each ZEND_ARG_*() macro is whether or not to pass by ref.

The boolean arg to ZEND_BEGIN_ARG_INFO() tells the engine whether to treat
the arguments for which there's no explicit information as pass by reference
or not.
The boolean argument to ZEND_ARG_OBJ_INFO() (4th arg) is whether or not to allownull values.

show more ...


Revision tags: BEFORE_ARG_INFO, php-4.3.3RC2
# 237116aa 23-Jul-2003 Stanislav Malyshev

Remove namespace leftovers


# 288dacca 30-Jun-2003 Andi Gutmans

- ZE coding style requires if ( instead of if(


Revision tags: php-5.0.0b1, php-4.3.3RC1
# f68c7ff2 10-Jun-2003 James Cox

updating license information in the headers.


# f7f5a5ea 02-Jun-2003 Stanislav Malyshev

MEGA-patch: namespaces are R.I.P.


# a023c103 01-Jun-2003 Marcus Boerger

Bugfix #23670: implements and extends cause Apache 2 crash


Revision tags: BEFORE_FD_REAPPLY, php-4.3.2, php-4.3.2RC4, BEFORE_FD_REVERT, php-4.3.2RC3, RELEASE_0_9b, SPL_ALPHA, php-4.3.2RC2
# 48b33032 18-Apr-2003 Sterling Hughes

Patch by Marcus Börger to fix some memleaks


Revision tags: RELEASE_0_6, RELEASE_0_5, init
# 62f9eb80 01-Apr-2003 Andrei Zmievski

Split ZEND_NAMESPACE into user and internal namespaces. Hope this is
okay with engine folks.


# 5657b836 31-Mar-2003 Andrei Zmievski

Multi-purpose patch:
- The fields of zend_namespace were not completely initialized which
led to a variety of problems.
- The occurrence of class/interface/namespace definition is no

Multi-purpose patch:
- The fields of zend_namespace were not completely initialized which
led to a variety of problems.
- The occurrence of class/interface/namespace definition is now
captured.
- Functions/classes/interfaces/namespaces can be preceded by doc
comments which are stored for use by extensions.

show more ...


# 3fc85282 26-Mar-2003 Sebastian Bergmann

Eliminate TSRMLS_FETCH() calls in destroy_op_array() and zend_get_class_entry().


Revision tags: php-4.3.2RC1
# 26dd8492 05-Mar-2003 Zeev Suraski

Add support for interfaces


# e645f20d 20-Feb-2003 Stanislav Malyshev

Allow namespaces to have a number of parts. I.e., now you can do:
namespace foo {
function abc() {}
}
...
namespace foo {
functio def() {}
}


1234567