Nikita Popov cc0e733baa 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.
2013-10-16 01:23:57 -07:00
2013-08-22 11:02:24 -07:00
2013-06-16 18:13:49 -07:00
…
2013-08-23 07:12:56 -07:00
2013-08-04 16:06:24 -07:00
2013-10-16 01:12:00 -07:00
2013-08-16 10:57:55 -07:00
2013-07-15 00:19:49 -07:00
2013-02-26 14:35:47 +01:00
2013-08-26 05:19:14 -07:00
…
2013-05-21 13:27:45 +02:00
…
…
2013-01-01 16:37:09 +08:00
2012-03-20 11:14:59 +01:00
…
…
2013-08-23 08:18:33 -07:00
…
2013-08-20 18:30:46 +09:00
2013-08-20 18:30:46 +09:00
2012-06-03 18:49:47 +02:00
2013-06-10 14:30:59 -07:00
…
…
…

The PHP Interpreter

This is the github mirror of the official PHP repository located at http://git.php.net.

Build Status

Pull Requests

PHP accepts pull requests via github. Discussions are done on github, but depending on the topic can also be relayed to the official PHP developer mailinglist internals@lists.php.net.

New features require an RFC and must be accepted by the developers. See https://wiki.php.net/rfc and https://wiki.php.net/rfc/voting for more information on the process.

Bug fixes do not require an RFC, but require a bugtracker ticket. Always open a ticket at http://bugs.php.net and reference the bug id using #NNNNNN.

Fix #55371: get_magic_quotes_gpc() throws deprecation warning

After removing magic quotes, the get_magic_quotes_gpc function caused
a deprecate warning. get_magic_quotes_gpc can be used to detected
the magic_quotes behavior and therefore should not raise a warning at any
time. The patch removes this warning

We do not merge pull requests directly on github. All PRs will be pulled and pushed through http://git.php.net.

S
Description
No description provided
Readme
470 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 72.1%
PHP 25.9%
C++ 0.4%
M4 0.4%
Shell 0.3%
Other 0.6%