]> granicus.if.org Git - php/log
php
7 years agoFix gc_032.phpt
Nikita Popov [Fri, 13 Oct 2017 09:59:28 +0000 (11:59 +0200)]
Fix gc_032.phpt

Use var_dump instead of debug_zval_dump. The refcounts are not
important for this test and change depending on whether opcache
is loaded or not.

7 years agoMerge branch 'develop_operators' of github.com:tianhe1986/php-src
Dmitry Stogov [Fri, 13 Oct 2017 08:39:42 +0000 (11:39 +0300)]
Merge branch 'develop_operators' of github.com:tianhe1986/php-src

* 'develop_operators' of github.com:tianhe1986/php-src:
  `memcmp` begins from the second char.

7 years ago`memcmp` begins from the second char.
tianhe1986 [Thu, 12 Oct 2017 14:46:26 +0000 (22:46 +0800)]
`memcmp` begins from the second char.

Signed-off-by: tianhe1986 <w1s2j3229@163.com>
7 years agoPHP must not create circular arrays when element is assigned by value.
Dmitry Stogov [Thu, 12 Oct 2017 13:23:45 +0000 (16:23 +0300)]
PHP must not create circular arrays when element is assigned by value.

7 years agoMerge branch 'PHP-7.2'
Christoph M. Becker [Thu, 12 Oct 2017 10:52:58 +0000 (12:52 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fixed bug #75221 (Argon2i always throws NUL at the end)

7 years agoFixed bug #75221 (Argon2i always throws NUL at the end)
Christoph M. Becker [Mon, 18 Sep 2017 16:09:53 +0000 (18:09 +0200)]
Fixed bug #75221 (Argon2i always throws NUL at the end)

Apparently, `argon2_encodedlen()` also counts the terminating NUL byte;
that doesn't appear to be documented somewhere, but from looking at the
implementation[1] it is pretty obvious.  Therefore, the respective
`zend_string` has to be one byte shorter.

[1] <https://github.com/P-H-C/phc-winner-argon2/blob/20161029/src/argon2.c#L431-L436>

7 years agoMerge branch 'PHP-7.2'
Bob Weinand [Thu, 12 Oct 2017 10:32:49 +0000 (12:32 +0200)]
Merge branch 'PHP-7.2'

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Bob Weinand [Thu, 12 Oct 2017 10:32:30 +0000 (12:32 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Bob Weinand [Thu, 12 Oct 2017 10:31:20 +0000 (12:31 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoFixed bug #75363 (openssl_x509_parse leaks memory)
Bob Weinand [Thu, 12 Oct 2017 10:30:20 +0000 (12:30 +0200)]
Fixed bug #75363 (openssl_x509_parse leaks memory)

7 years agoSmall improvement with zend_memnstr (tianhe1986)
Dmitry Stogov [Thu, 12 Oct 2017 08:54:40 +0000 (11:54 +0300)]
Small improvement with zend_memnstr (tianhe1986)

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Wed, 11 Oct 2017 20:26:09 +0000 (22:26 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  It looks like i should've taken joint response on ext/fileinfo long ago

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Wed, 11 Oct 2017 20:25:27 +0000 (22:25 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  It looks like i should've taken joint response on ext/fileinfo long ago

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Wed, 11 Oct 2017 20:24:52 +0000 (22:24 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  It looks like i should've taken joint response on ext/fileinfo long ago

7 years agoIt looks like i should've taken joint response on ext/fileinfo long ago
Anatol Belski [Wed, 11 Oct 2017 20:21:34 +0000 (22:21 +0200)]
It looks like i should've taken joint response on ext/fileinfo long ago

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Wed, 11 Oct 2017 18:32:28 +0000 (20:32 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Put php-sdk-2.0.12beta1 for AppVeyor

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Wed, 11 Oct 2017 18:31:58 +0000 (20:31 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Put php-sdk-2.0.12beta1 for AppVeyor

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Wed, 11 Oct 2017 18:30:40 +0000 (20:30 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Put php-sdk-2.0.12beta1 for AppVeyor

7 years agoPut php-sdk-2.0.12beta1 for AppVeyor
Anatol Belski [Wed, 11 Oct 2017 18:27:27 +0000 (20:27 +0200)]
Put php-sdk-2.0.12beta1 for AppVeyor

Quite some tool upgrades there, especially re2c 1.0.2

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Wed, 11 Oct 2017 17:03:24 +0000 (19:03 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  [ci skip] update NEWS

7 years ago[ci skip] update NEWS
Anatol Belski [Wed, 11 Oct 2017 17:02:51 +0000 (19:02 +0200)]
[ci skip] update NEWS

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Wed, 11 Oct 2017 17:00:41 +0000 (19:00 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Cleanup irrelevant info

7 years agoCleanup irrelevant info
Anatol Belski [Wed, 11 Oct 2017 16:40:16 +0000 (18:40 +0200)]
Cleanup irrelevant info

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Wed, 11 Oct 2017 16:24:29 +0000 (18:24 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Upgrade bundled libmagic to 5.31

7 years agoUpgrade bundled libmagic to 5.31
Anatol Belski [Wed, 11 Oct 2017 16:18:55 +0000 (18:18 +0200)]
Upgrade bundled libmagic to 5.31

7 years agoMerge branch 'PHP-7.2'
Christoph M. Becker [Wed, 11 Oct 2017 15:40:12 +0000 (17:40 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix Bug #75299 Wrong reflection on inflate_init and inflate_add

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Christoph M. Becker [Wed, 11 Oct 2017 15:30:17 +0000 (17:30 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix Bug #75299 Wrong reflection on inflate_init and inflate_add

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Wed, 11 Oct 2017 15:29:02 +0000 (17:29 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fix Bug #75299 Wrong reflection on inflate_init and inflate_add

7 years agoMerge branch 'pull-request/2798' into PHP-7.0
Christoph M. Becker [Wed, 11 Oct 2017 15:05:53 +0000 (17:05 +0200)]
Merge branch 'pull-request/2798' into PHP-7.0

* pull-request/2798:
  Fix Bug #75299 Wrong reflection on inflate_init and inflate_add

7 years agoTest requires mbstring – skip if not available
Christoph M. Becker [Wed, 11 Oct 2017 13:27:56 +0000 (15:27 +0200)]
Test requires mbstring – skip if not available

7 years agoMerge branch 'PHP-7.2'
Christoph M. Becker [Wed, 11 Oct 2017 13:01:23 +0000 (15:01 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Use PHP_VERSION for exif

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Christoph M. Becker [Wed, 11 Oct 2017 12:44:19 +0000 (14:44 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Use PHP_VERSION for exif

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Wed, 11 Oct 2017 12:43:30 +0000 (14:43 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Use PHP_VERSION for exif

7 years agoMerge branch 'pull-request/2799' into PHP-7.0
Christoph M. Becker [Wed, 11 Oct 2017 12:42:02 +0000 (14:42 +0200)]
Merge branch 'pull-request/2799' into PHP-7.0

* pull-request/2799:
  Use PHP_VERSION for exif

7 years agoMerge branch 'PHP-7.2'
Christoph M. Becker [Wed, 11 Oct 2017 12:38:59 +0000 (14:38 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  bump version

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Christoph M. Becker [Wed, 11 Oct 2017 12:38:12 +0000 (14:38 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  bump version

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Wed, 11 Oct 2017 07:00:32 +0000 (09:00 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix datatype

7 years agoFix datatype
Anatol Belski [Wed, 11 Oct 2017 06:58:59 +0000 (08:58 +0200)]
Fix datatype

7 years agoFixed file_cache broken by recent AST related changes.
Dmitry Stogov [Tue, 10 Oct 2017 16:37:46 +0000 (19:37 +0300)]
Fixed file_cache broken by recent AST related changes.

7 years agoMerge branch 'PHP-7.2'
Dmitry Stogov [Tue, 10 Oct 2017 16:37:40 +0000 (19:37 +0300)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fixed cleanup after optimization passes

7 years agoFixed cleanup after optimization passes
Dmitry Stogov [Tue, 10 Oct 2017 16:25:51 +0000 (19:25 +0300)]
Fixed cleanup after optimization passes

7 years agoMerge branch 'PHP-7.2'
Sara Golemon [Tue, 10 Oct 2017 15:58:01 +0000 (11:58 -0400)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Revert "Update NEWS for PHP 7.2.0RC4"
  Revert "Update NEWS for 7.2.0RC5"
  Update NEWS for 7.2.0RC5
  Update NEWS for PHP 7.2.0RC4

7 years agoRevert "Update NEWS for PHP 7.2.0RC4"
Sara Golemon [Tue, 10 Oct 2017 15:55:50 +0000 (11:55 -0400)]
Revert "Update NEWS for PHP 7.2.0RC4"

This reverts commit 1ea657c65e64d8338e47ead04cfe64c88bf47f2c.

7 years agoRevert "Update NEWS for 7.2.0RC5"
Sara Golemon [Tue, 10 Oct 2017 15:55:41 +0000 (11:55 -0400)]
Revert "Update NEWS for 7.2.0RC5"

This reverts commit ef25e56ae6a9df1d8fe409707c208d71c067f285.

7 years agoUpdate NEWS for 7.2.0RC5
Sara Golemon [Tue, 10 Oct 2017 15:49:16 +0000 (15:49 +0000)]
Update NEWS for 7.2.0RC5

7 years agoUpdate NEWS for PHP 7.2.0RC4
Sara Golemon [Tue, 10 Oct 2017 15:27:31 +0000 (15:27 +0000)]
Update NEWS for PHP 7.2.0RC4

7 years agobump version
Joe Watkins [Tue, 10 Oct 2017 15:12:36 +0000 (16:12 +0100)]
bump version

7 years agoAST don't have to be COPYABLE anymore.
Dmitry Stogov [Tue, 10 Oct 2017 12:45:03 +0000 (15:45 +0300)]
AST don't have to be COPYABLE anymore.

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Tue, 10 Oct 2017 12:33:31 +0000 (14:33 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix path in makefile fragment

7 years agoFix path in makefile fragment
Anatol Belski [Tue, 10 Oct 2017 12:32:02 +0000 (14:32 +0200)]
Fix path in makefile fragment

7 years agoMerge branch 'PHP-7.2'
Christoph M. Becker [Tue, 10 Oct 2017 12:00:33 +0000 (14:00 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  [ci skip] Add NEWS entry for bug #75349

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Christoph M. Becker [Tue, 10 Oct 2017 11:59:09 +0000 (13:59 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  [ci skip] Add NEWS entry for bug #75349

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Tue, 10 Oct 2017 11:55:45 +0000 (13:55 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  [ci skip] Add NEWS entry for bug #75349

7 years ago[ci skip] Add NEWS entry for bug #75349
Christoph M. Becker [Tue, 10 Oct 2017 11:54:52 +0000 (13:54 +0200)]
[ci skip] Add NEWS entry for bug #75349

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Tue, 10 Oct 2017 11:00:38 +0000 (13:00 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix re2c version detection

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Tue, 10 Oct 2017 11:00:26 +0000 (13:00 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix re2c version detection

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Tue, 10 Oct 2017 11:00:14 +0000 (13:00 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Update NEWS for 7.2.0RC5
  Update NEWS for PHP 7.2.0RC4

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 10 Oct 2017 10:59:14 +0000 (12:59 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fix re2c version detection

7 years agoUpdate NEWS for 7.2.0RC5
Remi Collet [Tue, 10 Oct 2017 10:27:37 +0000 (10:27 +0000)]
Update NEWS for 7.2.0RC5

7 years agoUpdate NEWS for PHP 7.2.0RC4
Remi Collet [Tue, 10 Oct 2017 10:12:30 +0000 (10:12 +0000)]
Update NEWS for PHP 7.2.0RC4

7 years agoFix re2c version detection
Anatol Belski [Tue, 10 Oct 2017 08:52:52 +0000 (10:52 +0200)]
Fix re2c version detection

7 years agoRenumber types and type_flags
Dmitry Stogov [Tue, 10 Oct 2017 08:10:27 +0000 (11:10 +0300)]
Renumber types and type_flags

7 years agoAlways use IS_CONSTANT_AST (IS_CONSTANT is removed).
Dmitry Stogov [Tue, 10 Oct 2017 07:11:05 +0000 (10:11 +0300)]
Always use IS_CONSTANT_AST (IS_CONSTANT is removed).

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Tue, 10 Oct 2017 06:28:46 +0000 (08:28 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Move dev to 7.0.26

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Tue, 10 Oct 2017 06:28:09 +0000 (08:28 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Move dev to 7.0.26

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 10 Oct 2017 06:27:37 +0000 (08:27 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Move dev to 7.0.26

7 years agoMove dev to 7.0.26
Anatol Belski [Tue, 10 Oct 2017 06:26:04 +0000 (08:26 +0200)]
Move dev to 7.0.26

7 years agoMake GMP more usable by third-party extensions.
Sara Golemon [Mon, 2 Oct 2017 21:26:05 +0000 (17:26 -0400)]
Make GMP more usable by third-party extensions.

Export a PHPAPI function to return gmp_ce (and make the actual storage static).
Provide gmp_object struct in header w/ inline accessor.
Install php_gmp_int.h header.

Remove unnecessary `#ifdef HAVE_GMP` checks.

7 years agoChanged zend_ast_ref structure to use only one allocation, removing dichotomy between...
Dmitry Stogov [Mon, 9 Oct 2017 13:57:51 +0000 (16:57 +0300)]
Changed zend_ast_ref structure to use only one allocation, removing dichotomy between heap/arena ASTs.

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Mon, 9 Oct 2017 13:40:00 +0000 (15:40 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix array access on undeclared properties in DateInterval

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Mon, 9 Oct 2017 13:38:37 +0000 (15:38 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix array access on undeclared properties in DateInterval

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Mon, 9 Oct 2017 13:38:21 +0000 (15:38 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fix array access on undeclared properties in DateInterval

7 years agoFix array access on undeclared properties in DateInterval
Anatol Belski [Mon, 9 Oct 2017 13:35:38 +0000 (15:35 +0200)]
Fix array access on undeclared properties in DateInterval

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Mon, 9 Oct 2017 11:15:17 +0000 (13:15 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix ftok() multibyte path support

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Mon, 9 Oct 2017 11:13:51 +0000 (13:13 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix ftok() multibyte path support

7 years agoFix ftok() multibyte path support
Anatol Belski [Mon, 9 Oct 2017 11:07:40 +0000 (13:07 +0200)]
Fix ftok() multibyte path support

7 years agoUse zval_ptr_dtor_nogc() in places where circular zvals are not possible
Dmitry Stogov [Mon, 9 Oct 2017 09:24:11 +0000 (12:24 +0300)]
Use zval_ptr_dtor_nogc() in places where circular zvals are not possible

7 years agoUpdate README information for the libmbfl library
Peter Kokot [Sun, 8 Oct 2017 15:29:46 +0000 (17:29 +0200)]
Update README information for the libmbfl library

The libmbfl library is bundled with PHP and has its own repository for
development and bug fixes. To avoid confusion and faster development the
README has been updated to include the information of the original library and
to use the bundled library as a fork of the upstream repository instead.

7 years agoRefactor mbstring READMEs
Peter Kokot [Sun, 8 Oct 2017 12:08:23 +0000 (14:08 +0200)]
Refactor mbstring READMEs

7 years agoRemove code examples from dom extension
Peter Kokot [Sun, 8 Oct 2017 01:09:37 +0000 (03:09 +0200)]
Remove code examples from dom extension

PHP documentation is a better place to present code examples. Tests
for ext/dom already include all used PHP code.

7 years agoRemove old apache_hooks occurrence
Peter Kokot [Thu, 5 Oct 2017 17:07:28 +0000 (19:07 +0200)]
Remove old apache_hooks occurrence

The apache_hooks SAPI has been removed since PHP >= 7.0 and there is no
need to have two different php_request_startup definitions.

Also php_request_startup_for_hook() and php_request_shutdown_for_hook() functions
are not used in the PHP source code directly anymore. They are out of sync and
are not touched when making changes to the shutdown sequence.

The php_start_sapi() function was therefore not used anymore and is
removed.

7 years agoRemove some old apache2filter occurrences
Peter Kokot [Thu, 5 Oct 2017 15:55:29 +0000 (17:55 +0200)]
Remove some old apache2filter occurrences

apache2filter was supported in PHP <= 5.6. This patch removes some old
apache2filter occurrences. Also FreeBSD warning therefore is not needed
anymore when building PHP with apache2filter and in later versions don't
need to set the --with-tsrm-pth option.

7 years agoRemove unused Travis configuration for sapi/phpdbg
Peter Kokot [Thu, 5 Oct 2017 14:49:43 +0000 (16:49 +0200)]
Remove unused Travis configuration for sapi/phpdbg

The phpdbg sapi has been initially developed under the
github.com/krakjoe/krakjoe/phpdbg repository with its own Travis-CI.org
configuration. Since 2017-03-16 the main development is happening in the main
php-src repository.

7 years agoRemove README from ext/tidy in favor of the PHP docs
Peter Kokot [Fri, 6 Oct 2017 21:37:32 +0000 (23:37 +0200)]
Remove README from ext/tidy in favor of the PHP docs

The tidy introduction includes an outdated link to tidy HTML library homepage,
and PHP documentation presents the tidy PHP extension better instead.

7 years agoRemove outdated README from ext/com_dotnet
Peter Kokot [Sat, 7 Oct 2017 20:31:38 +0000 (22:31 +0200)]
Remove outdated README from ext/com_dotnet

The PHP documentation includes updated and better com_dotnet
information.

7 years agoRemove done TODO file from date extension
Peter Kokot [Sat, 7 Oct 2017 22:45:36 +0000 (00:45 +0200)]
Remove done TODO file from date extension

TODO file for date extension has been outdated:

- date_default_timezone_set_error.phpt includes checking that
  date_default_timezone_set() validates the passed timezone identifiers.

- ext/date/php_date.c includes timezone caching

- errors are included in date_parse() return value.

7 years agoMerge branch 'PHP-7.2'
Sara Golemon [Sat, 7 Oct 2017 14:14:11 +0000 (10:14 -0400)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Bugfix #74556 stream_socket_get_name() returns null bytes on MacOS
  Add line numbers to Optimizer debug output

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Sara Golemon [Sat, 7 Oct 2017 14:14:03 +0000 (10:14 -0400)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Bugfix #74556 stream_socket_get_name() returns null bytes on MacOS

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Sara Golemon [Sat, 7 Oct 2017 14:13:54 +0000 (10:13 -0400)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Bugfix #74556 stream_socket_get_name() returns null bytes on MacOS

7 years agoBugfix #74556 stream_socket_get_name() returns null bytes on MacOS
Sara Golemon [Sat, 7 Oct 2017 14:08:34 +0000 (10:08 -0400)]
Bugfix #74556 stream_socket_get_name() returns null bytes on MacOS

7 years agoAdd line numbers to Optimizer debug output
Rasmus Lerdorf [Fri, 6 Oct 2017 20:18:12 +0000 (17:18 -0300)]
Add line numbers to Optimizer debug output

7 years agoMerge branch 'PHP-7.2'
Christoph M. Becker [Fri, 6 Oct 2017 15:16:54 +0000 (17:16 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fixed bug #75318 (The parameter of UConverter::getAliases() is not optional)

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Christoph M. Becker [Fri, 6 Oct 2017 14:56:46 +0000 (16:56 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed bug #75318 (The parameter of UConverter::getAliases() is not optional)

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Fri, 6 Oct 2017 14:46:22 +0000 (16:46 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed bug #75318 (The parameter of UConverter::getAliases() is not optional)

7 years agoFixed bug #75318 (The parameter of UConverter::getAliases() is not optional)
Christoph M. Becker [Fri, 6 Oct 2017 14:45:07 +0000 (16:45 +0200)]
Fixed bug #75318 (The parameter of UConverter::getAliases() is not optional)

Of course, reflection has to know that as well.

7 years agoAdd line numbers to Opcache's zend_dump_op() debug output
Rasmus Lerdorf [Fri, 6 Oct 2017 14:03:07 +0000 (11:03 -0300)]
Add line numbers to Opcache's zend_dump_op() debug output

7 years agomb_convert_variables() refactored to use simple recursion.
Dmitry Stogov [Fri, 6 Oct 2017 09:08:55 +0000 (12:08 +0300)]
mb_convert_variables() refactored to use simple recursion.
Fixed incorrect recursion protection (previous implementation kept protection flag or apply counter in non-zero state).

7 years agoFixed incorrect recursion detection
Dmitry Stogov [Fri, 6 Oct 2017 08:47:11 +0000 (11:47 +0300)]
Fixed incorrect recursion detection

7 years agoHASH_FLAG_PERSISTENT renamed into IS_ARRAY_PERSISTENT and moved into GC_FLAGS (to...
Dmitry Stogov [Thu, 5 Oct 2017 23:54:14 +0000 (02:54 +0300)]
HASH_FLAG_PERSISTENT renamed into IS_ARRAY_PERSISTENT and moved into GC_FLAGS (to be consistent with IS_STR_PERSISTENT).

7 years agoRefactored recursion pretection
Dmitry Stogov [Thu, 5 Oct 2017 22:34:50 +0000 (01:34 +0300)]
Refactored recursion pretection