Searched +hist:1 +hist:f28da02 (Results 1 - 1 of 1) sorted by relevance

/PHP-7.3/Zend/
H A Dzend_API.hdiff 1cd6bc64 Fri Aug 12 06:36:25 UTC 2016 Stanislav Malyshev <stas@php.net> Fix for bug #72807 - do not produce strings with negative length
diff a861019b Tue May 19 08:54:10 UTC 2015 Remi Collet <remi@php.net> Add consistency check in FAST_ZPP call
So ensure Z_PARAM_OPTIONAL is correctly call at the right place
Only in DEBUG build

Will raise 'Assertion `_i > _min_num_args || _optional==0' failed.'
or 'Assertion `_i <= _min_num_args || _optional==1' failed.'
Thus will allow to detect bad code early.
diff 1f28da02 Tue Apr 07 16:33:11 UTC 2015 Jin Hu <bixuehujin@gmail.com> Added RETURN_ARR and RETVAL_ARR macros
diff 1f28da02 Tue Apr 07 16:33:11 UTC 2015 Jin Hu <bixuehujin@gmail.com> Added RETURN_ARR and RETVAL_ARR macros
diff 993d4751 Fri Sep 12 22:03:42 UTC 2014 Anatol Belski <ab@php.net> fix condition

A char array like val[1] would always be valid when checking like
!val. Probably better were to check for ->len, but actually ->val[0]
is fine as the actual zend_string should have been initalized
before.
diff c3e3c98e Mon Aug 25 17:24:55 UTC 2014 Anatol Belski <ab@php.net> master renames phase 1
diff 1dd07d6b Wed Jul 09 07:57:42 UTC 2014 Dmitry Stogov <dmitry@zend.com> Partial fix that allows internal constructors to set $this to null.
The address of $this passed to drectly called internal constructor in execute_data->return_value.
Internal constructors should use ZEND_CTOR_MAKE_NULL() macro (insted of previous ZEND_NULL(EG(This))) to do the work.

This patch doesn't fix the problem for indirectly called constructors. e.g. parant::__construct().
diff 050d7e38 Tue Apr 15 11:40:40 UTC 2014 Dmitry Stogov <dmitry@zend.com> Cleanup (1-st round)
diff 1e752ce9 Tue Feb 18 03:13:00 UTC 2014 Sara Golemon <pollita@php.net> 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);
diff cc0e733b Mon Aug 26 17:06:36 UTC 2013 Nikita Popov <nikic@php.net> Always pass return_value_ptr to internal functions

Previous some places passed return_value_ptr only if the function
returned by reference. Now return_value_ptr is always set, even
for functions returning by-value.

This allows you to return zvals without copying their contents. For
this purpose two new macros RETVAL_ZVAL_FAST and RETURN_ZVAL_FAST
are added:

RETVAL_ZVAL_FAST(zv); /* Analog to RETVAL_ZVAL(zv, 1, 0) */
RETURN_ZVAL_FAST(zv); /* Analog to RETURN_ZVAL(zv, 1, 0) */

These macros behave similarly to the non-FAST versions with
copy=1 and dtor=0, with the difference that the FAST versions
will try return the zval without copying by utilizing return_value_ptr.
diff cc0e733b Mon Aug 26 17:06:36 UTC 2013 Nikita Popov <nikic@php.net> Always pass return_value_ptr to internal functions

Previous some places passed return_value_ptr only if the function
returned by reference. Now return_value_ptr is always set, even
for functions returning by-value.

This allows you to return zvals without copying their contents. For
this purpose two new macros RETVAL_ZVAL_FAST and RETURN_ZVAL_FAST
are added:

RETVAL_ZVAL_FAST(zv); /* Analog to RETVAL_ZVAL(zv, 1, 0) */
RETURN_ZVAL_FAST(zv); /* Analog to RETURN_ZVAL(zv, 1, 0) */

These macros behave similarly to the non-FAST versions with
copy=1 and dtor=0, with the difference that the FAST versions
will try return the zval without copying by utilizing return_value_ptr.
diff cc0e733b Mon Aug 26 17:06:36 UTC 2013 Nikita Popov <nikic@php.net> Always pass return_value_ptr to internal functions

Previous some places passed return_value_ptr only if the function
returned by reference. Now return_value_ptr is always set, even
for functions returning by-value.

This allows you to return zvals without copying their contents. For
this purpose two new macros RETVAL_ZVAL_FAST and RETURN_ZVAL_FAST
are added:

RETVAL_ZVAL_FAST(zv); /* Analog to RETVAL_ZVAL(zv, 1, 0) */
RETURN_ZVAL_FAST(zv); /* Analog to RETURN_ZVAL(zv, 1, 0) */

These macros behave similarly to the non-FAST versions with
copy=1 and dtor=0, with the difference that the FAST versions
will try return the zval without copying by utilizing return_value_ptr.

Completed in 39 milliseconds