History log of /PHP-7.4/Zend/zend_API.h (Results 226 – 250 of 520)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# c0d060f5 03-Jan-2014 Xinchen Hui

Bump year


Revision tags: php-5.4.24RC1, php-5.5.8RC1
# 0fc8e6af 12-Dec-2013 Kalle Sommer Nielsen

Eliminate another straight forward TSRMLS_FETCH() in zend_startup_module()

# For THTTPD:
# The code that uses a call to this function is for older versions of PHP anyway so its not cover

Eliminate another straight forward TSRMLS_FETCH() in zend_startup_module()

# For THTTPD:
# The code that uses a call to this function is for older versions of PHP anyway so its not covered

# For Zend OpCache:
# Added a new define for 5.6 and wrapped the code around that so its still compatible with older version

show more ...


Revision tags: 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
# 0d7a6388 26-Sep-2013 Nikita Popov

Implement variadic function syntax

As per RFC: https://wiki.php.net/rfc/variadics


Revision tags: php-5.5.4, php-5.4.20, php-5.5.4RC1, php-5.4.20RC1
# 08567145 26-Aug-2013 Nikita Popov

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
f

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.

show more ...


# d18b9698 26-Aug-2013 Nikita Popov

Evaluate ZVAL_ZVAL arguments only once

Also remove some isref/refcount assignments, which are no longer
necessary (as ZVAL_COPY_VALUE is used now).


Revision tags: php-5.5.3, php-5.4.19, php-5.5.2, php-5.4.18, php-5.5.2RC1, php-5.4.18RC2, php-5.5.1, php-5.4.18RC1, php-5.3.27, php-5.4.17, php-5.5.0, php-5.3.27RC1, php-5.4.17RC1, php-5.5.0RC3, php-5.3.26, php-5.4.16, php-5.5.0RC2, php-5.3.26RC1, php-5.4.16RC1, php-5.5.0RC1, php-5.3.25, php-5.4.15, php-5.3.25RC1, php-5.5.0beta4, php-5.4.15RC1
# 04145dc2 22-Apr-2013 Veres Lajos

typo fixes (argument)


# 2d5695cb 19-May-2013 Sara Golemon

Don't double-quote name of namespaced function.

ZEND_NS_NAMED_FE(ns, zend_name, name, arg_info)

was resulting in a function declaration of:

ns\"zend_name"()

includ

Don't double-quote name of namespaced function.

ZEND_NS_NAMED_FE(ns, zend_name, name, arg_info)

was resulting in a function declaration of:

ns\"zend_name"()

including the errant quotes.

This diff corrects that. There are currently no uses of ZEND_NS_NAMED_FE
in core and reason to believe that there are no uses in the wild either.

show more ...


Revision tags: php-5.4.14, php-5.3.24, php-5.5.0beta3, php-5.3.24RC1, php-5.4.14RC1, php-5.5.0beta2
# 7dce0194 21-Mar-2013 Xinchen Hui

Fixed bug #64239 (Debug backtrace changed behavior since 5.4.10 or 5.4.11)


Revision tags: php-5.5.0beta1, php-5.3.23, php-5.4.13, php-5.5.0alpha6, php-5.3.23RC1, php-5.4.13RC1, php-5.3.22, php-5.5.0alpha5, php-5.4.12
# fcc6611d 16-Feb-2013 Nikita Popov

Add support for non-scalar Iterator keys in foreach

RFC: https://wiki.php.net/rfc/foreach-non-scalar-keys


Revision tags: php-5.3.22RC2, php-5.4.12RC2, php-5.3.22RC1
# 09e73fd8 30-Jan-2013 Jelle Zijlstra

Fix build problem in C++11


# 86b36438 30-Jan-2013 Jelle Zijlstra

Fix build problem in C++11


# 31468401 30-Jan-2013 Jelle Zijlstra

Fix build problem in C++11


Revision tags: php-5.4.12RC1
# 93fd9c70 29-Jan-2013 Johannes Schlüter

Fix bug #64099 (Wrong TSRM usage in zend_register_class_alias)


Revision tags: php-5.5.0alpha4, php-5.3.21, php-5.4.11, php-5.5.0alpha3
# 07590e6e 09-Jan-2013 Gustavo Lopes

Export zend_parse_parameter()


Revision tags: php-5.3.21RC1, php-5.4.11RC1
# a666285b 01-Jan-2013 Xinchen Hui

Happy New Year


# 0a7395e0 01-Jan-2013 Xinchen Hui

Happy New Year


# 831fbcf3 01-Jan-2013 Xinchen Hui

Happy New Year


Revision tags: php-5.3.20, php-5.4.10, php-5.5.0alpha2, php-5.3.20RC1, php-5.4.10RC1, php-5.3.19, php-5.4.9, php-5.5.0alpha1, php-5.3.19RC1, php-5.4.9RC1, php-5.3.18, php-5.4.8, php-5.3.18RC1, php-5.4.8RC1, php-5.3.17, php-5.4.7, php-5.4.7RC1, php-5.3.16, php-5.4.6
# 03a1fcab 04-Aug-2012 Xinchen Hui

Fixed bug #62744 (dangling pointers made by zend_disable_class)

the test will be added while commit the fix for #62737


Revision tags: php-5.4.6RC1
# 13f1d53b 18-Jul-2012 Gustavo André dos Santos Lopes

Expose zend_parse_arg() as zend_parse_parameter()

Sometimes, one wants to accept several types for a given parameter. zpp
has special functionality for detecting the NULL type, since the

Expose zend_parse_arg() as zend_parse_parameter()

Sometimes, one wants to accept several types for a given parameter. zpp
has special functionality for detecting the NULL type, since the NULL
type is frequently used to skip parameters.

However, supporting several types is otherwise very tedious. There are
many cases where this situation arises -- for instance one may want
to accept an arbitrary number of integer and expect them in an array,
but allow a bare integer too; one may want to accept something that
will be used as an array key (which can be either and int or a string);
one may want to accept integer and double numbers. A search for IS_LONG
reveals many situations where this need arises.

The usual solution is to fetch the argument with 'z'/'Z', check its
type, and then convert the argument, e.g. with convert_to_long_ex().
As explain in the last commit, this has different behavior and
generates inconsistency.

Another -- even more flawed strategy --, is to try zpp with a specific
format, forcing it quiet, and if it fails retrying with another form.
But because zpp changes the arguments directly in the stack (for
instance, using "l" converts the zval in the stack to IS_LONG), the
arguments may look different after the first zpp, leaving subtle bugs.

This commit also allows more complex scenarios, for instance where the
expected type of one parameter depends on other parameters.

show more ...


Revision tags: php-5.4.5, php-5.3.15, php-5.3.15RC1, php-5.4.5RC1, php-5.3.14, php-5.4.4, php-5.3.14RC2, php-5.4.4RC2, php-5.3.14RC1, php-5.4.4RC1, php-5.3.13, php-5.4.3, php-5.4.2, php-5.3.12, php-5.3.11, php-5.4.1, php-5.3.11RC2, php-5.4.1RC2, php-5.3.11RC1, php-5.4.1RC1, PHP-5.4.1-RC1, php-5.4.0, php-5.4.0RC8, php-5.3.10, php-5.4.0RC7, php-5.4.0RC6, php-5.3.9, php-5.4.0RC5
# e4ca0ed0 01-Jan-2012 Felipe Pena

- Year++


# 8775a375 01-Jan-2012 Felipe Pena

- Year++


# 4e198252 01-Jan-2012 Felipe Pena

- Year++


Revision tags: php-5.3.9RC4, php-5.4.0RC4, php-5.3.9RC3, php-5.4.0RC3, php-5.3.9RC2, php-5.4.0RC2, php-5.4.0RC1, php-5.3.9RC1, php-5.4.0beta2, php-5.4.0beta1
# 4a25a774 13-Sep-2011 Dmitry Stogov

Fixed ZE specific compile warnings (Bug #55629)


# e43ff135 13-Sep-2011 Dmitry Stogov

Fixed ZE specific compile warnings (Bug #55629)


Revision tags: yaf-2.1.0, php-5.3.8, php-5.3.7, php-5.3.7RC5, php-5.4.0alpha3, php-5.3.7RC4
# 054e1caf 25-Jul-2011 Felipe Pena

- Added new macro to be used in the end of zend_function_entry declaration (Gwynne)


12345678910>>...21