]> granicus.if.org Git - php/log
php
6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Anatol Belski [Tue, 12 Feb 2019 06:30:49 +0000 (22:30 -0800)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Replace broken binary SDK version

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Anatol Belski [Tue, 12 Feb 2019 06:30:28 +0000 (22:30 -0800)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Replace broken binary SDK version

6 years agoReplace broken binary SDK version
Anatol Belski [Tue, 12 Feb 2019 06:28:34 +0000 (22:28 -0800)]
Replace broken binary SDK version

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Anatol Belski [Tue, 12 Feb 2019 06:14:17 +0000 (22:14 -0800)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Update SDK version for AppVeyor

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Anatol Belski [Tue, 12 Feb 2019 06:13:42 +0000 (22:13 -0800)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Update SDK version for AppVeyor

6 years agoUpdate SDK version for AppVeyor
Anatol Belski [Tue, 12 Feb 2019 06:12:16 +0000 (22:12 -0800)]
Update SDK version for AppVeyor

6 years agoDeprecate ext/wddx
Christoph M. Becker [Mon, 11 Feb 2019 18:27:27 +0000 (19:27 +0100)]
Deprecate ext/wddx

Cf. <https://wiki.php.net/rfc/deprecate-and-remove-ext-wddx>.

6 years agoFix 32-bit build
Anatol Belski [Mon, 11 Feb 2019 18:20:28 +0000 (10:20 -0800)]
Fix 32-bit build

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 11 Feb 2019 14:50:53 +0000 (15:50 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Mon, 11 Feb 2019 14:50:33 +0000 (15:50 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoFix bug #51068 (glob:// do not support current path relative)
Ahmed Abdou [Tue, 29 Jan 2019 07:59:45 +0000 (08:59 +0100)]
Fix bug #51068 (glob:// do not support current path relative)

Fix DirectoryIterator glob://* current path relative queries

6 years agoAdd bless_tests.php
Nikita Popov [Mon, 11 Feb 2019 14:35:34 +0000 (15:35 +0100)]
Add bless_tests.php

Helper script to perform certain kinds of trivial test updates.

6 years agoRemove oniguruma lines from CONTRIBUTING
Nikita Popov [Mon, 11 Feb 2019 14:33:28 +0000 (15:33 +0100)]
Remove oniguruma lines from CONTRIBUTING

6 years agoAdd UPGRADING notes for oniguruma unbundling
Nikita Popov [Mon, 11 Feb 2019 13:59:27 +0000 (14:59 +0100)]
Add UPGRADING notes for oniguruma unbundling

6 years agoUnbundle oniguruma in config.w32
Anatol Belski [Sat, 9 Feb 2019 09:04:56 +0000 (10:04 +0100)]
Unbundle oniguruma in config.w32

6 years agoAdd MB_ONIGURUMA_VERSION and use it in a version dependent test
Nikita Popov [Tue, 5 Feb 2019 12:56:13 +0000 (13:56 +0100)]
Add MB_ONIGURUMA_VERSION and use it in a version dependent test

6 years agoUnbundle oniguruma
Nikita Popov [Tue, 5 Feb 2019 09:43:25 +0000 (10:43 +0100)]
Unbundle oniguruma

And also switch detection over to pkg-config.

6 years agoValidate subject encoding in mb_split and mb_ereg_match
Nikita Popov [Mon, 11 Feb 2019 11:31:59 +0000 (12:31 +0100)]
Validate subject encoding in mb_split and mb_ereg_match

We were already validating the subject encoding in most functions,
but not these two.

6 years agoValidate pattern against mbregex encoding
Nikita Popov [Mon, 11 Feb 2019 11:10:40 +0000 (12:10 +0100)]
Validate pattern against mbregex encoding

Oniguruma does not consistently perform this validation itself (at least
on older versions), so make sure we check pattern encoding validity on the
PHP side.

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 11 Feb 2019 10:33:18 +0000 (11:33 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Mon, 11 Feb 2019 10:32:42 +0000 (11:32 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoFix #77552: Uninitialized buffer in stat functions
johnstevenson [Fri, 1 Feb 2019 19:45:20 +0000 (19:45 +0000)]
Fix #77552: Uninitialized buffer in stat functions

6 years agoDisable PEAR by default
Nikita Popov [Fri, 1 Feb 2019 11:09:29 +0000 (12:09 +0100)]
Disable PEAR by default

Installation of PEAR can be enabled using --with-pear, but will
through a deprecation warning during ./configure.

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 11 Feb 2019 08:36:35 +0000 (09:36 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4

6 years agoFix tests bareword fallback with error suppression
Guilliam Xavier [Thu, 31 Jan 2019 11:25:51 +0000 (12:25 +0100)]
Fix tests bareword fallback with error suppression

(cherry picked from commit aad39879f2d2e89de105c4f87d334ee129b4321c)
(cherry picked from commit 76f8a908bb18aee92b8f3d523b74b06c9d12cb6b)

6 years agoregenerate with re2c 1.0.3
Xinchen Hui [Mon, 11 Feb 2019 07:42:55 +0000 (15:42 +0800)]
regenerate with re2c 1.0.3

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Xinchen Hui [Mon, 11 Feb 2019 07:28:44 +0000 (15:28 +0800)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fixed bug #77589 (Core dump using parse_ini_string with numeric sections)

Conflicts:
Zend/zend_ini_scanner.c

6 years agoFixed bug #77589 (Core dump using parse_ini_string with numeric sections)
Xinchen Hui [Mon, 11 Feb 2019 07:27:29 +0000 (15:27 +0800)]
Fixed bug #77589 (Core dump using parse_ini_string with numeric sections)

Section name should not be typed(NULL, FALSE, TRUE etc)

6 years agoMerge PDO_OCI tracing attribute PR
Christopher Jones [Mon, 11 Feb 2019 06:05:36 +0000 (17:05 +1100)]
Merge PDO_OCI tracing attribute PR

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christopher Jones [Mon, 11 Feb 2019 06:03:51 +0000 (17:03 +1100)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Merge PDO_OCI PR
  PDO_OCI tracing attribute PR merge
  pdo_oci: Add client identifier and module attrs
  pdo_oci: Register new attr constants and add tests
  pdo_oci: Add PDO_OCI_ATTR_ACTION and CLIENT_INFO

6 years agoMerge PDO_OCI PR
Christopher Jones [Mon, 11 Feb 2019 05:38:23 +0000 (16:38 +1100)]
Merge PDO_OCI PR

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Christopher Jones [Mon, 11 Feb 2019 05:36:39 +0000 (16:36 +1100)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  PDO_OCI tracing attribute PR merge
  pdo_oci: Add client identifier and module attrs
  pdo_oci: Register new attr constants and add tests
  pdo_oci: Add PDO_OCI_ATTR_ACTION and CLIENT_INFO

6 years agoPDO_OCI tracing attribute PR merge
Christopher Jones [Mon, 11 Feb 2019 05:19:13 +0000 (16:19 +1100)]
PDO_OCI tracing attribute PR merge

6 years agopdo_oci: Add client identifier and module attrs
Cameron Porter [Fri, 25 Jan 2019 17:44:10 +0000 (11:44 -0600)]
pdo_oci: Add client identifier and module attrs

Add tests for the new attributes, and check the setAttribute return
value.

6 years agopdo_oci: Register new attr constants and add tests
Cameron Porter [Thu, 24 Jan 2019 18:40:26 +0000 (12:40 -0600)]
pdo_oci: Register new attr constants and add tests

6 years agopdo_oci: Add PDO_OCI_ATTR_ACTION and CLIENT_INFO
Cameron Porter [Thu, 24 Jan 2019 02:14:00 +0000 (20:14 -0600)]
pdo_oci: Add PDO_OCI_ATTR_ACTION and CLIENT_INFO

Add the ability to set the action and client info on the database
session for PDO OCI using PDO attributes.

6 years agoAdded test for non existent file for iptcembed
Mark Niebergall [Sun, 10 Feb 2019 21:43:12 +0000 (22:43 +0100)]
Added test for non existent file for iptcembed

6 years agoFix failing tests for readline() without input
Peter Kokot [Sun, 10 Feb 2019 21:31:32 +0000 (22:31 +0100)]
Fix failing tests for readline() without input

If PHP readline extension is using libedit or readline the output is
different with the readline library also the prompt is output.

6 years agoExpand FTP delete basic test with "unknown file" coverage
Ward Cappelle [Sun, 10 Feb 2019 13:15:49 +0000 (14:15 +0100)]
Expand FTP delete basic test with "unknown file" coverage

A port of the original https://github.com/phpcommunity/phptestfest-php-src/pull/148 pull
request, created earlier during #PHPTestFest (User Group: PHP-WVL & PHPGent).
Expands the existing FTP delete command test with coverage for deletion of
non-existing files (which returns a 550 status code).

6 years agoTests for readline() without input
Jonathan Stevens [Mon, 20 Nov 2017 20:59:24 +0000 (21:59 +0100)]
Tests for readline() without input

6 years agoAdded test for openssl_pkcs12_export_to_file_error
Enrico Zimuel [Tue, 26 Dec 2017 09:21:02 +0000 (10:21 +0100)]
Added test for openssl_pkcs12_export_to_file_error

6 years agoTests the 'Dynamically loaded extensions are not enabled' warning for dl()
Tom Van Herreweghe [Mon, 27 Nov 2017 21:02:19 +0000 (22:02 +0100)]
Tests the 'Dynamically loaded extensions are not enabled' warning for dl()

Signed-off-by: Tom Van Herreweghe <tom.van.herreweghe@dx-solutions.be>
6 years agoTest function quotemeta() - using an empty string is given as str.
Rodrigo Prado [Sat, 25 Nov 2017 00:46:57 +0000 (22:46 -0200)]
Test function quotemeta() - using an empty string is given as str.

Rodrigo Prado de Jesus <royopa [at] gmail [dot] com>
User Group: PHPSP #PHPTestFestBrasil

Test function quotemeta() - using an empty string is given as str.
This test coverage line 2722 from file /ext/standard/string.c and is not a ZPP test.
http://gcov.php.net/PHP_HEAD/lcov_html/ext/standard/string.c.gcov.php#L2722

6 years agoAdd test case for pcntl_setpriority basic behaviour
Er Galvão Abbott [Tue, 31 Oct 2017 03:50:49 +0000 (01:50 -0200)]
Add test case for pcntl_setpriority basic behaviour

6 years agoAdded test for xml_parser_set_option
Mark Niebergall [Sun, 10 Feb 2019 18:50:58 +0000 (19:50 +0100)]
Added test for xml_parser_set_option

- For skipping white space and triggering invalid encoding value error

6 years agofnmatch error when pattern or filename too long
Pete Albrecht [Tue, 3 Oct 2017 21:39:22 +0000 (15:39 -0600)]
fnmatch error when pattern or filename too long

i3logix PHP Testfest 2017

6 years ago[ci skip] Update changelog
Peter Kokot [Sun, 10 Feb 2019 18:18:07 +0000 (19:18 +0100)]
[ci skip] Update changelog

6 years agoDelete duplicate test file
Guilliam Xavier [Sun, 10 Feb 2019 11:29:42 +0000 (12:29 +0100)]
Delete duplicate test file

`Zend/tests/cast_to_array_fixed.phpt` was created as exact duplicate of
`Zend/tests/cast_to_array.phpt`

6 years agoFix failing tests
Peter Kokot [Sat, 9 Feb 2019 23:43:28 +0000 (00:43 +0100)]
Fix failing tests

The run-tests script executes the cleaning section separately and interfers
with the running test itself less. This fixes two failing tests on Windows
platforms.

6 years agoFix failing readline() basic test
Peter Kokot [Sat, 9 Feb 2019 11:18:13 +0000 (12:18 +0100)]
Fix failing readline() basic test

Test for readline() basic doesn't seem to capture the STDIN in the
output for some systems such as macOS and Windows.

6 years agoTests for __set_state magic method
MarkBaker [Fri, 6 Oct 2017 22:45:19 +0000 (23:45 +0100)]
Tests for __set_state magic method

Tests for __set_state magic method for DateTime, DateTimeImmutable,
DateTimeZone and DatePeriod.

6 years agoAdd test for date_time_immutable invalid arguments
Mark Niebergall [Sat, 9 Feb 2019 16:05:22 +0000 (17:05 +0100)]
Add test for date_time_immutable invalid arguments

6 years agoAdded basic test for ZipArchive::unchangeName()
Florian Engelhardt [Sat, 16 Sep 2017 20:42:13 +0000 (22:42 +0200)]
Added basic test for ZipArchive::unchangeName()

6 years agoAdded basic test for ZipArchive::unchangeIndex()
Florian Engelhardt [Sat, 16 Sep 2017 20:31:08 +0000 (22:31 +0200)]
Added basic test for ZipArchive::unchangeIndex()

6 years agoFix TS build, ref #77377
Anatol Belski [Sat, 9 Feb 2019 02:42:48 +0000 (18:42 -0800)]
Fix TS build, ref #77377

6 years agoImplement FR #77377 handle CTRL+C in Windows
Anatol Belski [Sat, 9 Feb 2019 02:10:31 +0000 (18:10 -0800)]
Implement FR #77377 handle CTRL+C in Windows

6 years agoAdd test for null return on version_compare with bad operator
David Stockton [Wed, 4 Oct 2017 06:21:22 +0000 (00:21 -0600)]
Add test for null return on version_compare with bad operator

6 years agoTest to verify that closures can't be instantiated
MarkBaker [Thu, 5 Oct 2017 23:52:45 +0000 (00:52 +0100)]
Test to verify that closures can't be instantiated

6 years agoAdd test for pcntl_getpriority() basic behaviour
Er Galvão Abbott [Sat, 28 Oct 2017 23:23:42 +0000 (21:23 -0200)]
Add test for pcntl_getpriority() basic behaviour

6 years agoreadline - add basic test
Joel Clermont [Wed, 13 Sep 2017 00:39:47 +0000 (19:39 -0500)]
readline - add basic test

6 years agoupdated typo in test
Rodrigo Prado [Wed, 8 Nov 2017 00:06:52 +0000 (22:06 -0200)]
updated typo in test

User Group: PHPSP #phptestfestbrasil

6 years agoUpdate and fix remaining year ranges (2019)
Peter Kokot [Sun, 3 Feb 2019 21:47:49 +0000 (22:47 +0100)]
Update and fix remaining year ranges (2019)

This patch follows previous license year ranges updates. With new
approach source code files now have simplified headers with license
information without year ranges.

6 years agoFix incorrect outbuf freeing
Nikita Popov [Fri, 8 Feb 2019 11:59:48 +0000 (12:59 +0100)]
Fix incorrect outbuf freeing

6 years agoFix double free if post inc of typed property throws
Nikita Popov [Fri, 8 Feb 2019 11:43:11 +0000 (12:43 +0100)]
Fix double free if post inc of typed property throws

We either need to add an extra ref because the copy is used as the
retval, which is freed by HANDLE_EXCEPTION, or we need to undef it
(done here).

6 years agoAdd ZEND_TRY_ASSIGN_BOOL API
Nikita Popov [Fri, 8 Feb 2019 10:06:50 +0000 (11:06 +0100)]
Add ZEND_TRY_ASSIGN_BOOL API

Cherry-picked from master, this is of course also necessary in 7.4...

6 years agoFix refcounting of prop types coming from traits
Nikita Popov [Fri, 8 Feb 2019 11:20:31 +0000 (12:20 +0100)]
Fix refcounting of prop types coming from traits

6 years agoFix invalid free
Nikita Popov [Fri, 8 Feb 2019 09:49:54 +0000 (10:49 +0100)]
Fix invalid free

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Fri, 8 Feb 2019 09:10:00 +0000 (10:10 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Fri, 8 Feb 2019 09:09:39 +0000 (10:09 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoFix FTPS passive mode of data channel event poll
YanTao [Fri, 8 Feb 2019 03:41:41 +0000 (11:41 +0800)]
Fix FTPS passive mode of data channel event poll

Bugfix: when using passive mode of FTPS protocol, data channel events
should be polled when creating data connection channel, instead of polling
the event of ftp's self control channel, which may cause ftp transfer
problem while using ftps and passive mode.

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Anatol Belski [Fri, 8 Feb 2019 06:29:30 +0000 (22:29 -0800)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Sync test with changes in libcurl 7.64.0
  Sync test for libcurl 7.64.0

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Anatol Belski [Fri, 8 Feb 2019 06:28:45 +0000 (22:28 -0800)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Sync test with changes in libcurl 7.64.0
  Sync test for libcurl 7.64.0

6 years agoSync test with changes in libcurl 7.64.0
Anatol Belski [Fri, 8 Feb 2019 06:22:38 +0000 (22:22 -0800)]
Sync test with changes in libcurl 7.64.0

6 years agoSync test for libcurl 7.64.0
Anatol Belski [Fri, 8 Feb 2019 06:21:59 +0000 (22:21 -0800)]
Sync test for libcurl 7.64.0

6 years ago[ci skip] Move OPcache configure option changes
Peter Kokot [Thu, 7 Feb 2019 23:31:25 +0000 (00:31 +0100)]
[ci skip] Move OPcache configure option changes

6 years ago[ci skip] Update changelog
Peter Kokot [Thu, 7 Feb 2019 17:13:45 +0000 (18:13 +0100)]
[ci skip] Update changelog

6 years agoMerge branch 'PHP-7.4' of git.php.net:php-src into PHP-7.4
Derick Rethans [Thu, 7 Feb 2019 11:14:10 +0000 (11:14 +0000)]
Merge branch 'PHP-7.4' of git.php.net:php-src into PHP-7.4

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Derick Rethans [Thu, 7 Feb 2019 11:13:01 +0000 (11:13 +0000)]
Merge branch 'PHP-7.3' into PHP-7.4

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Derick Rethans [Thu, 7 Feb 2019 11:12:42 +0000 (11:12 +0000)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoRemove --disable-opcache-filecache option
Nikita Popov [Thu, 7 Feb 2019 10:10:12 +0000 (11:10 +0100)]
Remove --disable-opcache-filecache option

This is no longer an experimental feature, and we have the ability
to control this at runtime via an ini setting.

6 years agoUse pkg-config for ICU, as the old icu-config has been deprecated
Derick Rethans [Wed, 6 Feb 2019 10:39:55 +0000 (10:39 +0000)]
Use pkg-config for ICU, as the old icu-config has been deprecated

6 years agoRequire icu-uc and icu-i18n next to icu-io
Nikita Popov [Thu, 7 Feb 2019 10:00:51 +0000 (11:00 +0100)]
Require icu-uc and icu-i18n next to icu-io

6 years agoFix DIM_OBJ specialization in zend_vm_get_opcode_handler_func
Nikita Popov [Thu, 7 Feb 2019 09:04:54 +0000 (10:04 +0100)]
Fix DIM_OBJ specialization in zend_vm_get_opcode_handler_func

DIM_OBJ also specializes over ASSIGN_STATIC_PROP nowadays.

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Tue, 5 Feb 2019 22:05:37 +0000 (23:05 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix NEWS

6 years agoFix NEWS
Christoph M. Becker [Tue, 5 Feb 2019 22:04:31 +0000 (23:04 +0100)]
Fix NEWS

Bug #77287 is already fixed in PHP 7.3.2.

6 years agoSome more test removals
Nikita Popov [Tue, 5 Feb 2019 11:42:00 +0000 (12:42 +0100)]
Some more test removals

Noticed these while implementing error handler changes.

6 years agoRemove zpp variation tests
Nikita Popov [Fri, 1 Feb 2019 11:57:55 +0000 (12:57 +0100)]
Remove zpp variation tests

6 years agoRemove copyright years.
Dmitry Stogov [Tue, 5 Feb 2019 07:33:28 +0000 (10:33 +0300)]
Remove copyright years.

6 years agoMark ldap_control_paged_result and ldap_control_paged_result_response as deprecated
Côme Chilliet [Mon, 4 Feb 2019 11:09:51 +0000 (12:09 +0100)]
Mark ldap_control_paged_result and ldap_control_paged_result_response as deprecated

These functions have serious limitations and may confuse users.
Same operations can be done using the new ldap control system in search
 operations.

6 years agoReset common fields of EG(trampoline)
Dmitry Stogov [Mon, 4 Feb 2019 10:57:03 +0000 (13:57 +0300)]
Reset common fields of EG(trampoline)

6 years agoRemove local variables
Peter Kokot [Tue, 22 Jan 2019 20:39:32 +0000 (21:39 +0100)]
Remove local variables

This patch removes the so called local variables defined per
file basis for certain editors to properly show tab width, and
similar settings. These are mainly used by Vim and Emacs editors
yet with recent changes the once working definitions don't work
anymore in Vim without custom plugins or additional configuration.
Neither are these settings synced across the PHP code base.

A simpler and better approach is EditorConfig and fixing code
using some code style fixing tools in the future instead.

This patch also removes the so called modelines for Vim. Modelines
allow Vim editor specifically to set some editor configuration such as
syntax highlighting, indentation style and tab width to be set in the
first line or the last 5 lines per file basis. Since the php test
files have syntax highlighting already set in most editors properly and
EditorConfig takes care of the indentation settings, this patch removes
these as well for the Vim 6.0 and newer versions.

With the removal of local variables for certain editors such as
Emacs and Vim, the footer is also probably not needed anymore when
creating extensions using ext_skel.php script.

Additionally, Vim modelines for setting php syntax and some editor
settings has been removed from some *.phpt files.  All these are
mostly not relevant for phpt files neither work properly in the
middle of the file.

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Sun, 3 Feb 2019 17:32:01 +0000 (18:32 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  [ci skip] Add missing notes regarding gc_status()

6 years ago[ci skip] Add missing notes regarding gc_status()
Christoph M. Becker [Sun, 3 Feb 2019 17:28:43 +0000 (18:28 +0100)]
[ci skip] Add missing notes regarding gc_status()

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Joe Watkins [Sun, 3 Feb 2019 07:42:07 +0000 (08:42 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Properly check for array_replace_recursive in sccp.c

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Joe Watkins [Sun, 3 Feb 2019 07:41:26 +0000 (08:41 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Properly check for array_replace_recursive in sccp.c

6 years agoProperly check for array_replace_recursive in sccp.c
Tyson Andre [Sat, 2 Feb 2019 01:54:21 +0000 (20:54 -0500)]
Properly check for array_replace_recursive in sccp.c

Due to a typo, this code used to check for array_merge_recursive
twice.

6 years agoDeprecate mb_ereg_replace with non-string pattern
Nikita Popov [Fri, 1 Feb 2019 13:58:10 +0000 (14:58 +0100)]
Deprecate mb_ereg_replace with non-string pattern

I'm counting this towards the non-string needle deprecation from
https://wiki.php.net/rfc/deprecations_php_7_3. I wasn't aware that
mb_ereg_replace() is also affected by this issue. It's even more
ridiculous than usual here, because the integer is interpreted as
an ASCII codepoint, even though these are supposed to be multibyte
functions :(

6 years agoFix bogus $PHP_PCRE_REGEX checks
Nikita Popov [Fri, 1 Feb 2019 10:41:18 +0000 (11:41 +0100)]
Fix bogus $PHP_PCRE_REGEX checks

This variable was dropped in the pkg-config migration, which resulted
in spurious warnings about using valgrind with external PCRE. Fix the
checks to use the right variable.

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Dmitry Stogov [Fri, 1 Feb 2019 08:13:25 +0000 (11:13 +0300)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fixed bug #77329 (Buffer Overflow via overly long Error Messages)

6 years agoFixed bug #77329 (Buffer Overflow via overly long Error Messages)
Dmitry Stogov [Fri, 1 Feb 2019 08:11:15 +0000 (11:11 +0300)]
Fixed bug #77329 (Buffer Overflow via overly long Error Messages)