History log of /PHP-7.0/Zend/zend_compile.h (Results 201 – 225 of 686)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# ea2e1bb1 18-Apr-2014 Dmitry Stogov

Optimized zend_leave_helper()


# 5c02e0fc 17-Apr-2014 Dmitry Stogov

Cache op_array->run_time_cache in zend_execute_data for faster access


# e96073b1 17-Apr-2014 Dmitry Stogov

Moved zend_literal->cache_slot right into zval.
It should be accessed using Z_CACHE_SLOT() macro.
zend_literal structure is removed.
API functions that accepted pointer to zend_literal no

Moved zend_literal->cache_slot right into zval.
It should be accessed using Z_CACHE_SLOT() macro.
zend_literal structure is removed.
API functions that accepted pointer to zend_literal now accept pointer to zval or cache_slot directly.
Calls of such functiond that now accept cache_slot need to be changed to pass -1 instead of NULL.

show more ...


Revision tags: php-5.4.28RC1, php-5.5.12RC1
# 050d7e38 15-Apr-2014 Dmitry Stogov

Cleanup (1-st round)


# f614fc68 11-Apr-2014 Bob Weinand

Fix bug #66015 by reverting "Removed operations on constant arrays."


Revision tags: php-5.6.0beta1
# 20f2e598 09-Apr-2014 Nikita Popov

Fix ZTS build

This only makes it compile, it doesn't actually work, presumably
because interned strings are assumed in some places.


Revision tags: php-5.4.27, php-5.5.11
# ea85451b 27-Mar-2014 Dmitry Stogov

Refactored data structures to keep zend_object* instead of a whole zval in some places


# 9a8fbdf2 27-Mar-2014 Dmitry Stogov

Use CV variable offset instead of CV variable number


# ef6919e6 21-Mar-2014 Dmitry Stogov

Fixed static data cleanup


Revision tags: php-5.5.11RC1, php-5.4.27RC1
# aa5f5530 17-Mar-2014 Dmitry Stogov

Refactored EG(active_symbol_table) to be zend_array* instead of HashTable*


# 51494f25 14-Mar-2014 Dmitry Stogov

Don't include trailing zero into hash caclculation


Revision tags: php-5.5.10, php-5.4.26, php-5.6.0alpha3
# d3b484df 26-Feb-2014 Nikita Popov

Disallow use of positional args after unpacking

This commit disallows the use of trailing positional arguments
after argument unpacking was used. The following calls are no
longer va

Disallow use of positional args after unpacking

This commit disallows the use of trailing positional arguments
after argument unpacking was used. The following calls are no
longer valid:

fn(...$array, $var);
fn(...$array1, $var, ...$array2);

However, all of the following continue to be valid:

fn($var, ...$array);
fn(...$array1, ...$array2);
fn($var, ...$array1, ...$array2);

The reason behind this change is a stack allocation issue pointed
out by Dmitry: As of PHP 5.5 the stack necessary for pushing
arguments is precomputed and preallocated, as such the individual
SEND opcodes no longer verify that there is enough stack space.
The unpacked arguments will occupy some of that preallocated
space and as such following positional arguments could write past
a stack page boundary.

An alternative resolution for this issue is to ensure that there
is enough space for the remaining arguments in the UNPACK opcode.
However making this allocation precise (rather than using a
conversative over-estimate) would require some effort. Given that
this particular aspect of the feature wasn't very popular in the
first place, it doesn't seem worth the effort.

show more ...


# 2eae1879 25-Feb-2014 Nikita Popov

Store arg_num in fcall entry

Instead of storing the argument number in the znode of the parameter
list, store it in fcall->arg_num. This mainly cleans up the parameter
parsing code,

Store arg_num in fcall entry

Instead of storing the argument number in the znode of the parameter
list, store it in fcall->arg_num. This mainly cleans up the parameter
parsing code, which previously had to duplicate all rules (this
becomes more excessive as more features are added, e.g. named params
would already require a minimum of 14 rules...)

show more ...


# cefa7f8d 25-Feb-2014 Nikita Popov

Introduce zend_function_call_entry structure

Instead of directly pushing the zend_function* onto the
function_call_stack, push this structure. This allows us to store
additional data

Introduce zend_function_call_entry structure

Instead of directly pushing the zend_function* onto the
function_call_stack, push this structure. This allows us to store
additional data on this stack.

show more ...


# 47fb1985 21-Feb-2014 Xinchen Hui

Revert "Use zend_string for arg_info to fixed segfault in Zend/tests/argument_restriction_003.phpt"

This reverts commit b96318105b8a908ec3cb294b8133e36d1b8cba7a.


# b9631810 21-Feb-2014 Xinchen Hui

Use zend_string for arg_info to fixed segfault in Zend/tests/argument_restriction_003.phpt


Revision tags: php-5.4.26RC1, php-5.5.10RC1
# bb58ea34 18-Feb-2014 Dmitry Stogov

Use better data structures (incomplete)


# 1e752ce9 18-Feb-2014 Sara Golemon

Add __debugInfo() magic method

class Foo {
private $val = 'Random, meaningless data';

public function count() { return 42; }

public function __debugInfo() {

Add __debugInfo() magic method

class Foo {
private $val = 'Random, meaningless data';

public function count() { return 42; }

public function __debugInfo() {
return ['count' => $this->count()];
}
}

$f = new Foo;
var_dump($f);

show more ...


# a0fe8e5a 17-Feb-2014 Dmitry Stogov

Use better data structures (incomplete)


# 2b9b9afa 17-Feb-2014 Dmitry Stogov

Use better data structures (incomplete)


# 4e66abad 12-Feb-2014 Dmitry Stogov

Use better data structures (incomplete) - refactored return_value handling


Revision tags: php-5.6.0alpha2
# e2ea9a73 12-Feb-2014 Dmitry Stogov

Use better data structures (incomplete)


# f4cfaf36 10-Feb-2014 Dmitry Stogov

Use better data structures (incomplete)


Revision tags: php-5.5.9, php-5.4.25, php-5.5.9RC1, php-5.4.25RC1, php-5.6.0alpha1, php-5.5.8, php-5.4.24, php-5.4.24RC1, php-5.5.8RC1, php-5.5.7, php-5.4.23, php-5.3.28, php-5.5.7RC1, php-5.4.23RC1, php-5.4.22, php-5.5.6, php-5.4.22RC1, php-5.5.6RC1, php-5.4.21, php-5.5.5, php-5.4.21RC1, php-5.5.5RC1, php-5.5.4, php-5.4.20, php-5.5.4RC1, php-5.4.20RC1
# 2c47dfba 29-Aug-2013 Nikita Popov

Implement argument unpacking

RFC: https://wiki.php.net/rfc/argument_unpacking


# c081ce62 03-Jan-2014 Xinchen Hui

Bump year


12345678910>>...28