]> granicus.if.org Git - php/log
php
6 years agoFix #33502: Some nullary functions don't check the number of arguments
Christoph M. Becker [Thu, 12 Jul 2018 13:05:56 +0000 (15:05 +0200)]
Fix #33502: Some nullary functions don't check the number of arguments

We add the missing zend_parse_parameters_none() checks for:

* output_reset_rewrite_vars()
* func_num_args()
* gc_status()
* gc_disable()
* gc_enable()
* gc_enabled()
* gc_collect_cycles()
* gc_mem_caches()
* zend_version()

6 years agoMerge branch 'PHP-7.2'
Christoph M. Becker [Thu, 12 Jul 2018 11:47:11 +0000 (13:47 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix Travis build

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Christoph M. Becker [Thu, 12 Jul 2018 11:46:10 +0000 (13:46 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix Travis build

6 years agoFix Travis build
Christoph M. Becker [Thu, 12 Jul 2018 11:45:30 +0000 (13:45 +0200)]
Fix Travis build

As of commit f9d1d1f[1] we require `sudo`, so we tell Travis about it.

[1] <http://git.php.net/?p=php-src.git;a=commit;h=f9d1d1f>

6 years agoExport stdClass objects using (object) cast (fixes #48016)
Andrea Faulds [Thu, 5 Jul 2018 20:02:59 +0000 (22:02 +0200)]
Export stdClass objects using (object) cast (fixes #48016)

Before this change, var_export()'s output for stdClass objects calls
the non-existent stdClass::__set_state method, and is therefore useless.

This commit makes var_export() output an (object) cast from an array
instead, which when evaluated, will produce a stdClass object. Other
classes see unchanged output.

6 years agoImproved user iterator implementation to reduce zend_class_entry memory consumption...
Dmitry Stogov [Thu, 12 Jul 2018 11:04:14 +0000 (14:04 +0300)]
Improved user iterator implementation to reduce zend_class_entry memory consumption and avoid race condition during resolving/caching of user iterator functions of internal classes in ZTS build.

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Thu, 12 Jul 2018 09:38:18 +0000 (11:38 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix macro

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Thu, 12 Jul 2018 09:37:13 +0000 (11:37 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix macro

6 years agoFix macro
Anatol Belski [Thu, 12 Jul 2018 09:35:00 +0000 (11:35 +0200)]
Fix macro

6 years agoSupport long path also when reading from file cache
Anatol Belski [Thu, 12 Jul 2018 07:26:50 +0000 (09:26 +0200)]
Support long path also when reading from file cache

6 years agoMark conditions unexpected
Anatol Belski [Wed, 11 Jul 2018 16:05:10 +0000 (18:05 +0200)]
Mark conditions unexpected

6 years agoChanged structure of zend_class_entry.trait_aliases and zend_class_entry.trait_preced...
Dmitry Stogov [Wed, 11 Jul 2018 15:56:10 +0000 (18:56 +0300)]
Changed structure of zend_class_entry.trait_aliases and zend_class_entry.trait_precedences to avoid keeping "intermediate" trait references, that are used only during inheritance.

6 years agoMake error messages more speaking
Anatol Belski [Wed, 11 Jul 2018 12:34:18 +0000 (14:34 +0200)]
Make error messages more speaking

6 years agoSwitch to ioutil routines to support long path in file cache
Anatol Belski [Wed, 11 Jul 2018 12:28:57 +0000 (14:28 +0200)]
Switch to ioutil routines to support long path in file cache

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Wed, 11 Jul 2018 11:16:04 +0000 (13:16 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix condition

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Wed, 11 Jul 2018 11:13:56 +0000 (13:13 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix condition

6 years agoFix condition
Anatol Belski [Wed, 11 Jul 2018 11:09:20 +0000 (13:09 +0200)]
Fix condition

It looks like the real length limit is 247 bytes, not 248 as documented.

6 years agoFix build with ZEND_RC_DEBUG
Anatol Belski [Wed, 11 Jul 2018 10:19:20 +0000 (12:19 +0200)]
Fix build with ZEND_RC_DEBUG

6 years agoFixed possible assertion/crash when PHP script can't be stored in SHM (e.g. because...
Dmitry Stogov [Wed, 11 Jul 2018 07:35:36 +0000 (10:35 +0300)]
Fixed possible assertion/crash when PHP script can't be stored in SHM (e.g. because another process already did this)

6 years agoRemove these two old and outdated files we never use:
Kalle Sommer Nielsen [Tue, 10 Jul 2018 19:24:54 +0000 (21:24 +0200)]
Remove these two old and outdated files we never use:

 * OBJECTS2_HOWTO is rather outdated and the wiki contains much of this
 * ZendCore.dep is an old leftover from the previous Windows build system

6 years ago[ci skip] Fix typos
Christoph M. Becker [Tue, 10 Jul 2018 15:03:48 +0000 (17:03 +0200)]
[ci skip] Fix typos

6 years ago[ci skip] Document changes to php_add[c]slashes
Christoph M. Becker [Tue, 10 Jul 2018 14:04:14 +0000 (16:04 +0200)]
[ci skip] Document changes to php_add[c]slashes

6 years agoFix #76574: use of undeclared identifiers INT_MAX and LONG_MAX
Christoph M. Becker [Tue, 10 Jul 2018 12:28:28 +0000 (14:28 +0200)]
Fix #76574: use of undeclared identifiers INT_MAX and LONG_MAX

As of Oniguruma 6.4.0 <limits.h> is required, so we have to add a check
for this header file to set the respective macro.

6 years agoAvoid copying
Dmitry Stogov [Tue, 10 Jul 2018 10:17:33 +0000 (13:17 +0300)]
Avoid copying

6 years ago[skip ci] Update NEWS
Anatol Belski [Tue, 10 Jul 2018 09:53:04 +0000 (11:53 +0200)]
[skip ci] Update NEWS

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Tue, 10 Jul 2018 09:52:24 +0000 (11:52 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  [ci skip] Update NEWS
  [ci skip] Update NEWS

6 years ago[ci skip] Update NEWS
Anatol Belski [Tue, 10 Jul 2018 09:51:49 +0000 (11:51 +0200)]
[ci skip] Update NEWS

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Tue, 10 Jul 2018 09:51:11 +0000 (11:51 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  [ci skip] Update NEWS

6 years ago[ci skip] Update NEWS
Anatol Belski [Tue, 10 Jul 2018 09:50:33 +0000 (11:50 +0200)]
[ci skip] Update NEWS

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Tue, 10 Jul 2018 09:20:50 +0000 (11:20 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix bug #76524 - ZipArchive memory leak

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Tue, 10 Jul 2018 09:19:54 +0000 (11:19 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix bug #76524 - ZipArchive memory leak

6 years agoFix bug #76524 - ZipArchive memory leak
timurib [Mon, 25 Jun 2018 11:14:26 +0000 (14:14 +0300)]
Fix bug #76524 - ZipArchive memory leak

Bugfix #76524: Free up zip internal state and adjust the tests for Windows

Bugfix #76524: Fix possible use after free for libzip 1.3.1

Bugfix #76524: Make the test independent of platform

6 years agoUse ZVAL_COPY_DEREF()
Dmitry Stogov [Tue, 10 Jul 2018 09:11:10 +0000 (12:11 +0300)]
Use ZVAL_COPY_DEREF()

6 years agoAvoid useless copying
Dmitry Stogov [Tue, 10 Jul 2018 09:03:32 +0000 (12:03 +0300)]
Avoid useless copying

6 years agoRemoved deprecated condition
Dmitry Stogov [Tue, 10 Jul 2018 08:04:10 +0000 (11:04 +0300)]
Removed deprecated condition

6 years agoOptimization
Dmitry Stogov [Mon, 9 Jul 2018 21:04:44 +0000 (00:04 +0300)]
Optimization

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Mon, 9 Jul 2018 19:25:19 +0000 (21:25 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Sync callback signature with libxml2 2.9.8

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Mon, 9 Jul 2018 19:24:51 +0000 (21:24 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Sync callback signature with libxml2 2.9.8

6 years agoSync callback signature with libxml2 2.9.8
Anatol Belski [Mon, 9 Jul 2018 19:21:41 +0000 (21:21 +0200)]
Sync callback signature with libxml2 2.9.8

6 years agoSkip test on incompatible servers
Anatol Belski [Mon, 9 Jul 2018 14:39:07 +0000 (16:39 +0200)]
Skip test on incompatible servers

6 years agoAvoid useless checks for public functions
Dmitry Stogov [Mon, 9 Jul 2018 14:30:14 +0000 (17:30 +0300)]
Avoid useless checks for public functions

6 years agoCombined few checks into one
Dmitry Stogov [Mon, 9 Jul 2018 14:29:34 +0000 (17:29 +0300)]
Combined few checks into one

6 years agoAvoid reloading
Dmitry Stogov [Mon, 9 Jul 2018 13:28:13 +0000 (16:28 +0300)]
Avoid reloading

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Mon, 9 Jul 2018 13:15:08 +0000 (15:15 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Add missing flag

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Mon, 9 Jul 2018 13:14:30 +0000 (15:14 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Add missing flag

6 years agoAdd missing flag
Anatol Belski [Mon, 9 Jul 2018 13:12:52 +0000 (15:12 +0200)]
Add missing flag

6 years agoEliminated check
Dmitry Stogov [Mon, 9 Jul 2018 12:18:09 +0000 (15:18 +0300)]
Eliminated check

6 years agoMove to size_t for string length
Anatol Belski [Mon, 9 Jul 2018 11:34:04 +0000 (13:34 +0200)]
Move to size_t for string length

6 years agoRemove conflicting declaration
Anatol Belski [Mon, 9 Jul 2018 10:32:26 +0000 (12:32 +0200)]
Remove conflicting declaration

6 years agoEliminated reference-counting and EG(exception) check
Dmitry Stogov [Mon, 9 Jul 2018 10:20:46 +0000 (13:20 +0300)]
Eliminated reference-counting and EG(exception) check

6 years agoFixed test
Dmitry Stogov [Mon, 9 Jul 2018 09:49:19 +0000 (12:49 +0300)]
Fixed test

6 years agoUze ZVAL_COPY_DEREF() instead of ZVAL_DEREF() and ZVAL_COPY()
Dmitry Stogov [Mon, 9 Jul 2018 09:46:46 +0000 (12:46 +0300)]
Uze ZVAL_COPY_DEREF() instead of ZVAL_DEREF() and ZVAL_COPY()

6 years agoThe session_array global is not used at all, so comment it out for now
Kalle Sommer Nielsen [Mon, 9 Jul 2018 02:21:46 +0000 (04:21 +0200)]
The session_array global is not used at all, so comment it out for now

6 years agoAdded test to accompany the FILTER_SANITIZE_ADD_SLASHES filter
Kalle Sommer Nielsen [Mon, 9 Jul 2018 01:59:35 +0000 (03:59 +0200)]
Added test to accompany the FILTER_SANITIZE_ADD_SLASHES filter

6 years agoAdded the 'add_slashes' sanitization filter (FILTER_SANITIZE_ADD_SLASHES) as an alias...
Kalle Sommer Nielsen [Mon, 9 Jul 2018 01:58:20 +0000 (03:58 +0200)]
Added the 'add_slashes' sanitization filter (FILTER_SANITIZE_ADD_SLASHES) as an alias to 'magic_quotes' (FILTER_SANITIZE_MAGIC_QUOTES) so we can move past our "magical" legacy.

6 years agoFix #76594: Bus Error due to unaligned access in zend_ini.c OnUpdateLong
Christoph M. Becker [Sun, 8 Jul 2018 22:54:36 +0000 (00:54 +0200)]
Fix #76594: Bus Error due to unaligned access in zend_ini.c OnUpdateLong

Since commit ea83b69[1] changed the type of mbstring.strict_detection
from `long` to `zend_bool`, we have to update the `on_modify` callback
as well.

[1] http://git.php.net/?p=php-src.git;a=commit;h=ea83b69883f3f77fd27e4663fa854c88f141ab41

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Sun, 8 Jul 2018 18:34:58 +0000 (20:34 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix C++11 and up compatibility for zend_finite and more

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Sun, 8 Jul 2018 18:32:52 +0000 (20:32 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix C++11 and up compatibility for zend_finite and more

6 years agoFix C++11 and up compatibility for zend_finite and more
Anatol Belski [Sun, 8 Jul 2018 18:20:08 +0000 (20:20 +0200)]
Fix C++11 and up compatibility for zend_finite and more

C++11 puts isfinite, isinf, isnan and a lot of other stuff into the
std namespace. Thus, if a C++11 or newer source is compiled, these
symbols won't be available. A good solution would be to include cmath,
but depending on a particular compiler that might remove even more
stuff from the global namespace, so such a fix should only target master.
For now, just keep these defines same for C++11 and upper, as the actual
C++ code should use symbols from the std namespace anyway. This
especially concerns older GCC versions like at least 4 and 5, which are
used by default in the LTS Linux distros.

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Sat, 7 Jul 2018 15:33:47 +0000 (17:33 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fixed regex for checking libzip static lib

6 years agoFixed regex for checking libzip static lib
Dylan K. Taylor [Sat, 7 Jul 2018 09:14:31 +0000 (10:14 +0100)]
Fixed regex for checking libzip static lib

This bug caused linking issues in debug mode (see bug [#76564](https://bugs.php.net/bug.php?id=76564))

This issue affects PHP 7.2 and master.

6 years ago[ci skip] Fix EOL
Anatol Belski [Fri, 6 Jul 2018 17:07:11 +0000 (19:07 +0200)]
[ci skip] Fix EOL

6 years agoUpdate NEWS for log related changes in FPM
Jakub Zelenka [Sat, 7 Jul 2018 12:16:16 +0000 (13:16 +0100)]
Update NEWS for log related changes in FPM

6 years agoRefactore FPM logging
Jakub Zelenka [Thu, 14 Jun 2018 17:14:33 +0000 (18:14 +0100)]
Refactore FPM logging

6 years agoUpdate NEWS and UPGRADING for fpm_get_status addition
Jakub Zelenka [Sat, 7 Jul 2018 11:53:08 +0000 (12:53 +0100)]
Update NEWS and UPGRADING for fpm_get_status addition

6 years agoMigrate fpm_get_status test
Jakub Zelenka [Sat, 7 Jul 2018 11:48:16 +0000 (12:48 +0100)]
Migrate fpm_get_status test

6 years agoImplement fpm_get_status
Till Backhaus [Sun, 25 Feb 2018 11:08:47 +0000 (12:08 +0100)]
Implement fpm_get_status

6 years agoAdd missing INI directives to curl phpinfo
Peter Kokot [Sat, 30 Jun 2018 12:10:31 +0000 (14:10 +0200)]
Add missing INI directives to curl phpinfo

6 years agoBump Autoconf version in configure.ac to 2.64
Peter Kokot [Wed, 4 Jul 2018 10:12:01 +0000 (12:12 +0200)]
Bump Autoconf version in configure.ac to 2.64

Since PHP 7.2 the minimum autoconf version is 2.64. The configure.ac
script file includes also AX_CHECK_COMPILE_FLAG macro call so besides
only checking it in buildconf script this bumps the autoconf here too.

The phpize.m4 script is for now still relaxed to 2.59 version since some
still supported systems such as CentOS 6 still include autoconf 2.63
version and might require calling phpize on some old extensions.

6 years agoReplace AC_CONFIG_HEADER with AC_CONFIG_HEADERS
Peter Kokot [Thu, 5 Jul 2018 01:06:06 +0000 (03:06 +0200)]
Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS

Autoconf doesn't mention the AC_CONFIG_HEADER macro since the v2.13
released in 1999 anywhere in the documentation. Future of this macro is
unclear and commented as possible candidate for obsoletion in the
autoconf source code. Since it is just a wrapper around the main
AC_CONFIG_HEADERS macro, the functionality is the same, and also more
clear to find it in the autoconf documentation and avoid possible future
obsoletion.

6 years agoMerge branch 'PHP-7.2'
Nikita Popov [Sat, 7 Jul 2018 10:08:14 +0000 (12:08 +0200)]
Merge branch 'PHP-7.2'

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Sat, 7 Jul 2018 10:07:52 +0000 (12:07 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

6 years agoFixed bug #76366 (references in sub-array for filtering breaks the filter)
cdoco [Fri, 6 Jul 2018 14:13:46 +0000 (22:13 +0800)]
Fixed bug #76366 (references in sub-array for filtering breaks the filter)

6 years agoFixed bug #76136 (stream_socket_get_name enclosed IPv6 in brackets)
seliver [Sat, 31 Mar 2018 03:05:12 +0000 (04:05 +0100)]
Fixed bug #76136 (stream_socket_get_name enclosed IPv6 in brackets)

The IPv6 IP of a socket is provided by inet_ntop() as a string, but
this function doesn't enclose the IP in brackets. This patch adds
them in the php_network_populate_name_from_sockaddr() function.

6 years agoFix bug #76392
Peter Kokot [Thu, 28 Jun 2018 13:26:45 +0000 (15:26 +0200)]
Fix bug #76392

On systems without glibc, such as Alpine with Musl libc, the function attributes
are not supported. GCC 6 doesn't properly omit some systems. This is
already fixed in GCC 7 but for systems with GCC 6 and ones without
glibc, this additional check fixes this bug.

6 years agoWarn if continue is used on switch
Nikita Popov [Sun, 24 Jun 2018 14:55:22 +0000 (16:55 +0200)]
Warn if continue is used on switch

Supersedes RFC https://wiki.php.net/rfc/continue_on_switch_deprecation
by generating a warning instead of deprecating and removing this
functionality.

6 years agoAdd UPGRADING for mb_ereg changes
Nikita Popov [Fri, 6 Jul 2018 21:42:16 +0000 (23:42 +0200)]
Add UPGRADING for mb_ereg changes

Also some minor code cleanup.

6 years agoadds support for named subpatterns to `mb_ereg_replace`
ju1ius [Sat, 30 Jul 2016 04:05:59 +0000 (06:05 +0200)]
adds support for named subpatterns to `mb_ereg_replace`

Named subpatterns are now passed to `mb_ereg_replace_callback`.

This commit also adds a subset of the oniguruma back-reference syntax
for replacements:
* `\k<name>` and `\k'name'` for named subpatterns.
* `\k<n>` and `\k'n'` for numbered subpatterns
These last two notations allow referencing numbered groups where n > 9.

6 years agoadds support for named captures to mb_ereg & mb_ereg_search
ju1ius [Fri, 29 Jul 2016 16:00:28 +0000 (18:00 +0200)]
adds support for named captures to mb_ereg & mb_ereg_search

`mb_ereg`, `mb_ereg_search_regs` & `mb_ereg_search_getregs`
returned only numbered capturing groups.
Now they return both numbered and named capturing groups.
Fixes Bug #72704.

6 years agoFix out-of bounds access
Zenju [Sun, 12 Feb 2017 15:47:34 +0000 (16:47 +0100)]
Fix out-of bounds access

Test case: strnatcmp_ex(L"333", 3, L"333 ", 4, true)
The reason this bug didn't come up earlier is probably because most input strings are null-terminated.

6 years agoAdd test for PR #2382
Christoph M. Becker [Fri, 6 Jul 2018 16:59:04 +0000 (18:59 +0200)]
Add test for PR #2382

6 years agoFix coding style
Anatol Belski [Fri, 6 Jul 2018 15:57:08 +0000 (17:57 +0200)]
Fix coding style

6 years agorandom_bytes improvements for FreeBSD (from 12.x serie)
David Carlier [Mon, 25 Jun 2018 10:17:13 +0000 (11:17 +0100)]
random_bytes improvements for FreeBSD (from 12.x serie)

giving the possiblity to pre-fill the buffer. A new getrandom
function was added for future version with a similar interface
than Linux's syscall.

6 years ago[ci skip] Update NEWS
Anatol Belski [Fri, 6 Jul 2018 15:46:04 +0000 (17:46 +0200)]
[ci skip] Update NEWS

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Fri, 6 Jul 2018 15:45:38 +0000 (17:45 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  [ci skip] Update NEWS
  [ci skip] Update NEWS

6 years ago[ci skip] Update NEWS
Anatol Belski [Fri, 6 Jul 2018 15:45:01 +0000 (17:45 +0200)]
[ci skip] Update NEWS

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Fri, 6 Jul 2018 15:44:37 +0000 (17:44 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  [ci skip] Update NEWS

6 years ago[ci skip] Update NEWS
Anatol Belski [Fri, 6 Jul 2018 15:43:48 +0000 (17:43 +0200)]
[ci skip] Update NEWS

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Fri, 6 Jul 2018 14:08:57 +0000 (16:08 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix event log handling in startup phase
  Fix bug #76488 Memory leak when fetching a BLOB field

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Fri, 6 Jul 2018 14:08:17 +0000 (16:08 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix event log handling in startup phase
  Fix bug #76488 Memory leak when fetching a BLOB field
  Fix year
  Bump version

6 years agoFix event log handling in startup phase
Anatol Belski [Fri, 6 Jul 2018 11:59:14 +0000 (13:59 +0200)]
Fix event log handling in startup phase

The log header can be saved in the globals on startup. At the same
time, the log header can be changed per request. In case that
happened, wrong pointer will be free'd on shutdown. It can happen at
any point when zend_error() or similar is called at startup, like for
example in the case of the ini deprecation warnings. Thus, ZMM cannot
be used here.

6 years agoFix bug #76488 Memory leak when fetching a BLOB field
sim1984 [Mon, 25 Jun 2018 18:35:51 +0000 (21:35 +0300)]
Fix bug #76488 Memory leak when fetching a BLOB field

Add a phpt test

6 years agoMerge branch 'PHP-7.1'
Sara Golemon [Fri, 6 Jul 2018 14:05:17 +0000 (10:05 -0400)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fix year
  Bump version

6 years agoFix year
Sara Golemon [Fri, 6 Jul 2018 14:02:20 +0000 (10:02 -0400)]
Fix year

6 years agoBump version
Sara Golemon [Fri, 6 Jul 2018 14:01:54 +0000 (10:01 -0400)]
Bump version

6 years agoForgotten one replacement
Xinchen Hui [Fri, 6 Jul 2018 11:18:06 +0000 (19:18 +0800)]
Forgotten one replacement

6 years agorename ref_dtor_func to rc_dtor_func
Xinchen Hui [Fri, 6 Jul 2018 11:14:44 +0000 (19:14 +0800)]
rename ref_dtor_func to rc_dtor_func

6 years agoRename zval_dtor_func and ref_dotr_func
Xinchen Hui [Fri, 6 Jul 2018 10:47:30 +0000 (18:47 +0800)]
Rename zval_dtor_func and ref_dotr_func

6 years agoRevert "Rename _zval_dtor_func to _ref_dtor_func"
Xinchen Hui [Fri, 6 Jul 2018 10:37:45 +0000 (18:37 +0800)]
Revert "Rename _zval_dtor_func to _ref_dtor_func"

This reverts commit a362ae6b12419369c5cbdbb4e924915f9b196ef6.

6 years agoRename _zval_dtor_func to _ref_dtor_func
Xinchen Hui [Fri, 6 Jul 2018 10:32:27 +0000 (18:32 +0800)]
Rename _zval_dtor_func to _ref_dtor_func