]> granicus.if.org Git - php/log
php
8 years agoupdate NEWS
Anatol Belski [Sun, 19 Jun 2016 18:40:45 +0000 (20:40 +0200)]
update NEWS

8 years agoupgraded to PCRE 8.39
Anatol Belski [Sun, 19 Jun 2016 18:38:31 +0000 (20:38 +0200)]
upgraded to PCRE 8.39

8 years agoMerge branch 'openssl_aead'
Jakub Zelenka [Sun, 19 Jun 2016 17:01:57 +0000 (18:01 +0100)]
Merge branch 'openssl_aead'

8 years agoAdd NEWS entry about OpenSSL AEAD
Jakub Zelenka [Sun, 19 Jun 2016 16:59:09 +0000 (17:59 +0100)]
Add NEWS entry about OpenSSL AEAD

8 years agoMerge branch 'openssl_error_store' into openssl_aead
Jakub Zelenka [Sun, 19 Jun 2016 16:55:33 +0000 (17:55 +0100)]
Merge branch 'openssl_error_store' into openssl_aead

8 years agoUpdate NEWS with info about OpenSSL error store
Jakub Zelenka [Sun, 19 Jun 2016 16:52:09 +0000 (17:52 +0100)]
Update NEWS with info about OpenSSL error store

8 years agoMerge branch 'openssl_error_store' into openssl_aead
Jakub Zelenka [Sun, 19 Jun 2016 16:36:57 +0000 (17:36 +0100)]
Merge branch 'openssl_error_store' into openssl_aead

8 years agoRemove test for incorrect fix of bug #69882
Jakub Zelenka [Sun, 19 Jun 2016 16:25:30 +0000 (17:25 +0100)]
Remove test for incorrect fix of bug #69882

The fix just cleared the errors without storing which was wrong

8 years agoMerge branch 'openssl_error_store' into openssl_aead
Jakub Zelenka [Sun, 19 Jun 2016 16:05:48 +0000 (17:05 +0100)]
Merge branch 'openssl_error_store' into openssl_aead

8 years agoRemove expected openssl errors that are not needed anymore
Jakub Zelenka [Sun, 19 Jun 2016 15:46:27 +0000 (16:46 +0100)]
Remove expected openssl errors that are not needed anymore

8 years agoMerge branch 'master' into openssl_error_store
Jakub Zelenka [Sun, 19 Jun 2016 15:20:02 +0000 (16:20 +0100)]
Merge branch 'master' into openssl_error_store

8 years agoUpdate NEWS (this bug also exists in 7.1-alpha)
Xinchen Hui [Sun, 19 Jun 2016 06:47:42 +0000 (23:47 -0700)]
Update NEWS (this bug also exists in 7.1-alpha)

8 years agoMerge branch 'PHP-7.0'
Stanislav Malyshev [Sun, 19 Jun 2016 05:13:23 +0000 (22:13 -0700)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Update NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Sun, 19 Jun 2016 05:13:16 +0000 (22:13 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Update NEWS

8 years agoUpdate NEWS
Stanislav Malyshev [Sun, 19 Jun 2016 05:13:04 +0000 (22:13 -0700)]
Update NEWS

8 years agoMerge branch 'PHP-7.0'
Stanislav Malyshev [Sun, 19 Jun 2016 05:11:38 +0000 (22:11 -0700)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fix bug #72447: Type Confusion in php_bz2_filter_create()

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Sun, 19 Jun 2016 05:11:23 +0000 (22:11 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix bug #72447: Type Confusion in php_bz2_filter_create()

Conflicts:
ext/bz2/bz2_filter.c

8 years agoFix bug #72447: Type Confusion in php_bz2_filter_create()
Stanislav Malyshev [Sun, 19 Jun 2016 05:10:22 +0000 (22:10 -0700)]
Fix bug #72447: Type Confusion in php_bz2_filter_create()

8 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Sun, 19 Jun 2016 04:34:33 +0000 (21:34 -0700)]
Merge branch 'PHP-7.0'

8 years agoUpdate NEWS
Xinchen Hui [Sun, 19 Jun 2016 04:34:12 +0000 (21:34 -0700)]
Update NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Xinchen Hui [Sun, 19 Jun 2016 04:33:54 +0000 (21:33 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0

Conflicts:
main/streams/xp_socket.c

8 years agoFixed bug #72439 (Stream socket with remote address leads to a segmentation fault)
Xinchen Hui [Sun, 19 Jun 2016 04:29:47 +0000 (21:29 -0700)]
Fixed bug #72439 (Stream socket with remote address leads to a segmentation fault)

8 years agoException safety for direct CV assign of *CALL instrs
Nikita Popov [Fri, 17 Jun 2016 22:05:58 +0000 (00:05 +0200)]
Exception safety for direct CV assign of *CALL instrs

Converting T = *CALL; ASSIGN $v, T into $v = *CALL may not be
safe if an exception is thrown after the return value has been
populated -- in this case the value might be destroyed twice.

8 years agotypo
Xinchen Hui [Fri, 17 Jun 2016 16:40:12 +0000 (09:40 -0700)]
typo

8 years agoFixed bug #72441 (Segmentation fault: RFC list_keys)
Xinchen Hui [Fri, 17 Jun 2016 16:34:15 +0000 (09:34 -0700)]
Fixed bug #72441 (Segmentation fault: RFC list_keys)

8 years agoUpdate NEWS
Christoph M. Becker [Fri, 17 Jun 2016 16:09:46 +0000 (18:09 +0200)]
Update NEWS

8 years agoMerge branch 'PHP-7.0'
Christoph M. Becker [Fri, 17 Jun 2016 16:00:54 +0000 (18:00 +0200)]
Merge branch 'PHP-7.0'

8 years agoUpdate NEWS
Christoph M. Becker [Fri, 17 Jun 2016 16:00:24 +0000 (18:00 +0200)]
Update NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Fri, 17 Jun 2016 15:52:10 +0000 (17:52 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix #53640: XBM images require width to be multiple of 8
Christoph M. Becker [Fri, 17 Jun 2016 15:50:36 +0000 (17:50 +0200)]
Fix #53640: XBM images require width to be multiple of 8

8 years agofix SQLite info
Anatol Belski [Fri, 17 Jun 2016 15:26:31 +0000 (17:26 +0200)]
fix SQLite info

8 years agoupdate NEWS and UPGRADING
Anatol Belski [Fri, 17 Jun 2016 15:18:29 +0000 (17:18 +0200)]
update NEWS and UPGRADING

8 years agoupdate NEWS
Anatol Belski [Fri, 17 Jun 2016 15:16:36 +0000 (17:16 +0200)]
update NEWS

8 years agofix test portability
Anatol Belski [Fri, 17 Jun 2016 15:09:42 +0000 (17:09 +0200)]
fix test portability

8 years agofix test portability
Anatol Belski [Fri, 17 Jun 2016 15:03:13 +0000 (17:03 +0200)]
fix test portability

8 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Fri, 17 Jun 2016 08:00:04 +0000 (16:00 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed "implicit declaration of function ‘msgformat_fix_quotes’"

8 years agoFixed "implicit declaration of function ‘msgformat_fix_quotes’"
Xinchen Hui [Fri, 17 Jun 2016 07:59:41 +0000 (15:59 +0800)]
Fixed "implicit declaration of function ‘msgformat_fix_quotes’"

8 years agofix test portability
Anatol Belski [Fri, 17 Jun 2016 07:05:27 +0000 (09:05 +0200)]
fix test portability

8 years agoMerge branch 'PHP-7.0'
Jakub Zelenka [Thu, 16 Jun 2016 19:12:50 +0000 (20:12 +0100)]
Merge branch 'PHP-7.0'

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Jakub Zelenka [Thu, 16 Jun 2016 19:11:54 +0000 (20:11 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix incorrect error suppressing in openssl_error_string test
Jakub Zelenka [Thu, 16 Jun 2016 19:11:02 +0000 (20:11 +0100)]
Fix incorrect error suppressing in openssl_error_string test

8 years agoFix occasionally failing OpenSSL DH bug test
Jakub Zelenka [Thu, 16 Jun 2016 19:09:17 +0000 (20:09 +0100)]
Fix occasionally failing OpenSSL DH bug test

The test was failing when first byte was 0

8 years agoMerge branch 'master' of http://git.php.net/repository/php-src
Christoph M. Becker [Thu, 16 Jun 2016 12:35:50 +0000 (14:35 +0200)]
Merge branch 'master' of http://git.php.net/repository/php-src

8 years agoUpdate NEWS
Christoph M. Becker [Thu, 16 Jun 2016 12:34:34 +0000 (14:34 +0200)]
Update NEWS

8 years agoMerge branch 'PHP-7.0'
Christoph M. Becker [Thu, 16 Jun 2016 12:34:10 +0000 (14:34 +0200)]
Merge branch 'PHP-7.0'

8 years agoUpdate NEWS
Christoph M. Becker [Thu, 16 Jun 2016 12:33:41 +0000 (14:33 +0200)]
Update NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Thu, 16 Jun 2016 12:32:10 +0000 (14:32 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoUpdate NEWS
Christoph M. Becker [Thu, 16 Jun 2016 12:26:45 +0000 (14:26 +0200)]
Update NEWS

8 years agoMore type inference fixes
Nikita Popov [Thu, 16 Jun 2016 09:24:20 +0000 (11:24 +0200)]
More type inference fixes

8 years agoMerge branch 'PHP-7.0'
Christoph M. Becker [Thu, 16 Jun 2016 12:12:35 +0000 (14:12 +0200)]
Merge branch 'PHP-7.0'

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Thu, 16 Jun 2016 12:06:39 +0000 (14:06 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix #43475: Styled thick horizontal lines are scrambled
Christoph M. Becker [Wed, 15 Jun 2016 18:58:06 +0000 (20:58 +0200)]
Fix #43475: Styled thick horizontal lines are scrambled

Thick lines are drawn by gdImageFilledRectangle(), which iterates over
the x ordinate first (Z order) to apply the style pattern. While this works
fine for vertical and diagonal lines, it obviously fails for horizontal
lines, which have to be iterated over in N order.

To fix this bug, we introduce the helpers  gdImageFilled(H|V)Rectangle(),
which may be reused for other purposes as well.

This is basically the same fix as libgd/libgd/c2b91dbc.

8 years agoAdded NEWS entries
Dmitry Stogov [Thu, 16 Jun 2016 05:44:38 +0000 (08:44 +0300)]
Added NEWS entries

8 years agoImplemented RFC: Replace "Missing argument" warning with "Too few arguments" exception
Dmitry Stogov [Wed, 15 Jun 2016 23:32:02 +0000 (02:32 +0300)]
Implemented RFC: Replace "Missing argument" warning with "Too few arguments" exception
Squashed commit of the following:

commit 8b45fa2acb8cd92542a39e1e4720fe1f4fabc26c
Author: Dmitry Stogov <dmitry@zend.com>
Date:   Thu Jun 16 01:52:50 2016 +0300

    Separate slow path of ZEND_RECV into a cold function.

commit 9e18895ee59c64c93a96b1ba3061355c4663e962
Author: Dmitry Stogov <dmitry@zend.com>
Date:   Wed Jun 15 23:26:28 2016 +0300

    Required argument can't be IS_UNDEF anymore.

commit 662db66e3943d4455c65e4f987bb54abf724ecb2
Author: Dmitry Stogov <dmitry@zend.com>
Date:   Tue May 31 17:14:50 2016 +0300

    Replace "Missing argument" warning by "Too few arguments" exception.

8 years agoImplemented RFC: Fix inconsistent behavior of $this variable
Dmitry Stogov [Wed, 15 Jun 2016 23:30:23 +0000 (02:30 +0300)]
Implemented RFC: Fix inconsistent behavior of $this variable
Squashed commit of the following:

commit bdd3b6895c3ce3eacfcf7d4bf4feb8dfa61801fd
Author: Dmitry Stogov <dmitry@zend.com>
Date:   Thu Jun 16 00:19:42 2016 +0300

    Fixed GOTO VM

commit 2f1d7c8b89ce821086d357cf65f629f040a85c03
Author: Dmitry Stogov <dmitry@zend.com>
Date:   Wed Jun 15 21:01:57 2016 +0300

    Removed unused variable

commit cf749c42b0b1919f70b1e7d6dcbfff76899506af
Author: Dmitry Stogov <dmitry@zend.com>
Date:   Wed Jun 15 19:06:16 2016 +0300

    Protection from $this reassign through mb_parse_str()

commit 59a9a6c83c66b666971e57f1173b33a422166efd
Author: Dmitry Stogov <dmitry@zend.com>
Date:   Wed Jun 15 18:14:50 2016 +0300

    Added type inference rule for FETCH_THIS opcode

commit 73f8d14a856f14a461430b3c7534ab2ce870cbf6
Author: Dmitry Stogov <dmitry@zend.com>
Date:   Wed Jun 15 18:11:18 2016 +0300

    Restored PHP-7 behavior of isset($this->foo).
    It throws exception if not in object context.
    Removed useless opcode handlers.

commit fa0881381e8ae97e022ae5d1ec0851c952f33c82
Author: Dmitry Stogov <dmitry@zend.com>
Date:   Tue May 31 12:25:47 2016 +0300

    Changed "Notice: Undefined variable: this" into "Exception: Using $this when not in object context".

commit e32cc528c0f2c97963d8ec83eff0269f1f45af18
Author: Dmitry Stogov <dmitry@zend.com>
Date:   Tue May 24 02:02:43 2016 +0300

    Throw exception on attempt to re-assign $this through extract() and parse_str().

commit 41f1531b52113ec8a4c208aa6b9ef50f1386bb3f
Author: Dmitry Stogov <dmitry@zend.com>
Date:   Mon May 23 22:18:36 2016 +0300

    Fixed inconsistent $this behavior

8 years agoFix type inference bugs
Nikita Popov [Wed, 8 Jun 2016 20:21:36 +0000 (22:21 +0200)]
Fix type inference bugs

* Add proper array_key_any|array_of_any|array_of_ref in some more
  places
* strlen() on objects may be null
* IS fetch on string dim may be null

8 years agoAdded specialized handlers for SEND_VAR/SEND_VAR_EX opcodes.
Dmitry Stogov [Wed, 15 Jun 2016 20:07:46 +0000 (23:07 +0300)]
Added specialized handlers for SEND_VAR/SEND_VAR_EX opcodes.

8 years agoFixed mistakes in type inference rules.
Dmitry Stogov [Wed, 15 Jun 2016 20:04:17 +0000 (23:04 +0300)]
Fixed mistakes in type inference rules.

8 years agoFixed expected test outcome due to rule changes
Derick Rethans [Wed, 15 Jun 2016 17:31:41 +0000 (18:31 +0100)]
Fixed expected test outcome due to rule changes

8 years agoMerge branch 'PHP-7.0'
Derick Rethans [Wed, 15 Jun 2016 17:30:19 +0000 (18:30 +0100)]
Merge branch 'PHP-7.0'

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Derick Rethans [Wed, 15 Jun 2016 17:30:03 +0000 (18:30 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFixed expected test outcome due to rule changes
Derick Rethans [Wed, 15 Jun 2016 17:29:40 +0000 (18:29 +0100)]
Fixed expected test outcome due to rule changes

8 years agoUpdated to version 2016.5 (2016e)
Derick Rethans [Wed, 15 Jun 2016 10:58:51 +0000 (11:58 +0100)]
Updated to version 2016.5 (2016e)

8 years agoEmpty merge
Derick Rethans [Wed, 15 Jun 2016 10:58:51 +0000 (11:58 +0100)]
Empty merge

8 years agoUpdated to version 2016.5 (2016e)
Derick Rethans [Wed, 15 Jun 2016 10:58:50 +0000 (11:58 +0100)]
Updated to version 2016.5 (2016e)

8 years agoEmpty merge
Derick Rethans [Wed, 15 Jun 2016 10:58:49 +0000 (11:58 +0100)]
Empty merge

8 years agoUpdated to version 2016.5 (2016e)
Derick Rethans [Wed, 15 Jun 2016 10:58:47 +0000 (11:58 +0100)]
Updated to version 2016.5 (2016e)

8 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Wed, 15 Jun 2016 06:56:58 +0000 (14:56 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:

8 years agoThese bugs are also in 7.1-alpha
Xinchen Hui [Wed, 15 Jun 2016 06:56:41 +0000 (14:56 +0800)]
These bugs are also in 7.1-alpha

8 years agoMerge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
Xinchen Hui [Wed, 15 Jun 2016 06:56:07 +0000 (14:56 +0800)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0

* 'PHP-7.0' of git.php.net:/php-src:
  Maybe fix bug #72011
  Fix #50845: exif_process_IFD_TAG: Use the right offset if reading from stream
  Fix bug #72138 - Integer Overflow in Length of String-typed ZVAL

8 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Wed, 15 Jun 2016 06:55:43 +0000 (14:55 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed(attempt to) bug #72405 (mb_ereg_replace - mbc_to_code (oniguruma) - oob read access)

8 years agoFixed(attempt to) bug #72405 (mb_ereg_replace - mbc_to_code (oniguruma) - oob read...
Xinchen Hui [Wed, 15 Jun 2016 06:54:57 +0000 (14:54 +0800)]
Fixed(attempt to) bug #72405 (mb_ereg_replace - mbc_to_code (oniguruma) - oob read access)

according to ext/mbstring/oniguruma/enc/utf8.c, max bytes are 6

8 years agoMerge branch 'PHP-7.0'
Nikita Popov [Tue, 14 Jun 2016 20:39:18 +0000 (22:39 +0200)]
Merge branch 'PHP-7.0'

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Tue, 14 Jun 2016 20:38:44 +0000 (22:38 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

Conflicts:
ext/date/php_date.c

8 years agoMaybe fix bug #72011
Nikita Popov [Tue, 14 Jun 2016 20:36:09 +0000 (22:36 +0200)]
Maybe fix bug #72011

8 years agoMerge branch 'PHP-7.0'
Stanislav Malyshev [Tue, 14 Jun 2016 17:51:02 +0000 (10:51 -0700)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fix #50845: exif_process_IFD_TAG: Use the right offset if reading from stream

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Tue, 14 Jun 2016 17:50:45 +0000 (10:50 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix #50845: exif_process_IFD_TAG: Use the right offset if reading from stream

8 years agoFix #50845: exif_process_IFD_TAG: Use the right offset if reading from stream
Bartosz Dziewoński [Tue, 14 Jun 2016 11:27:56 +0000 (13:27 +0200)]
Fix #50845: exif_process_IFD_TAG: Use the right offset if reading from stream

When the location of the data is outside of the range we have
preloaded (for example, if it's before the beginning of the IFD
structure), we have to read it from the stream into a separate buffer.
The offset calculations in this case were incorrect, resulting in
bogus values being read for the affected fields (sometimes parts of
other fields, sometimes binary data).

The included test image, sourced from [1], is in the public domain.

[1] https://commons.wikimedia.org/wiki/File:U.S._Marines_Prepare_to_board_an_MV-22_Osprey_160509-M-AF202-041.jpg

8 years agoImprove the signature
Xinchen Hui [Tue, 14 Jun 2016 15:05:17 +0000 (08:05 -0700)]
Improve the signature

8 years agoUnused var
Xinchen Hui [Tue, 14 Jun 2016 13:29:02 +0000 (21:29 +0800)]
Unused var

8 years agoMerge branch 'master' of git.php.net:/php-src
Xinchen Hui [Tue, 14 Jun 2016 10:20:23 +0000 (18:20 +0800)]
Merge branch 'master' of git.php.net:/php-src

* 'master' of git.php.net:/php-src:
  Fix bug #72138 - Integer Overflow in Length of String-typed ZVAL

8 years agoC89 compatibility
Xinchen Hui [Tue, 14 Jun 2016 10:17:49 +0000 (18:17 +0800)]
C89 compatibility

8 years agoMerge branch 'PHP-7.0'
Stanislav Malyshev [Tue, 14 Jun 2016 08:04:07 +0000 (01:04 -0700)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fix bug #72138 - Integer Overflow in Length of String-typed ZVAL

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Tue, 14 Jun 2016 08:03:37 +0000 (01:03 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix bug #72138 - Integer Overflow in Length of String-typed ZVAL

8 years agoFix bug #72138 - Integer Overflow in Length of String-typed ZVAL
Stanislav Malyshev [Tue, 14 Jun 2016 08:03:03 +0000 (01:03 -0700)]
Fix bug #72138 - Integer Overflow in Length of String-typed ZVAL

8 years agoOnly allow single comma in tail
Xinchen Hui [Tue, 14 Jun 2016 06:02:34 +0000 (14:02 +0800)]
Only allow single comma in tail

8 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Tue, 14 Jun 2016 01:20:37 +0000 (18:20 -0700)]
Merge branch 'PHP-7.0'

8 years agoFixed bug #72399 (Use-After-Free in MBString (search_re))
Xinchen Hui [Tue, 14 Jun 2016 01:20:26 +0000 (18:20 -0700)]
Fixed bug #72399 (Use-After-Free in MBString (search_re))

8 years agoImplemented FR #72385 (Update SQLite bundle lib(3.13.0))
Xinchen Hui [Tue, 14 Jun 2016 00:53:31 +0000 (17:53 -0700)]
Implemented FR #72385 (Update SQLite bundle lib(3.13.0))

8 years agoMerge branch 'master' of git.php.net:/php-src
Xinchen Hui [Tue, 14 Jun 2016 00:36:26 +0000 (17:36 -0700)]
Merge branch 'master' of git.php.net:/php-src

8 years agoCleanup
Xinchen Hui [Tue, 14 Jun 2016 00:36:03 +0000 (17:36 -0700)]
Cleanup

8 years agoAdd support for "instanceof" pi nodes
Nikita Popov [Tue, 7 Jun 2016 19:52:47 +0000 (21:52 +0200)]
Add support for "instanceof" pi nodes

8 years agoUse union for pi constraints
Nikita Popov [Tue, 7 Jun 2016 19:16:29 +0000 (21:16 +0200)]
Use union for pi constraints

This will make it easier to extend pi constraints without impacting
structure sizes.

8 years agoCleanup
Xinchen Hui [Mon, 13 Jun 2016 16:33:19 +0000 (09:33 -0700)]
Cleanup

8 years agoMerge branch 'master' of git.php.net:/php-src
Xinchen Hui [Mon, 13 Jun 2016 16:21:34 +0000 (09:21 -0700)]
Merge branch 'master' of git.php.net:/php-src

8 years agoFixed bug #72395 (list() regression)
Xinchen Hui [Mon, 13 Jun 2016 16:21:14 +0000 (09:21 -0700)]
Fixed bug #72395 (list() regression)

8 years agoSwitch zend_print_zval_r to use smart_str
Nikita Popov [Wed, 7 Oct 2015 09:35:43 +0000 (11:35 +0200)]
Switch zend_print_zval_r to use smart_str

Instead of directly writing to stdout. This allows doing a print_r
into a string, without using output buffering.

The motivation for this is bug #67467: print_r() in return mode
will still dump the string to stdout (causing a potential information
leak) if a fatal error occurs.

8 years agofix test portability
Anatol Belski [Mon, 13 Jun 2016 13:46:28 +0000 (15:46 +0200)]
fix test portability

8 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Mon, 13 Jun 2016 13:08:23 +0000 (21:08 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed bug #72306 (Heap overflow through proc_open and $env parameter)

8 years agoFixed bug #72306 (Heap overflow through proc_open and $env parameter)
Xinchen Hui [Mon, 13 Jun 2016 13:08:04 +0000 (21:08 +0800)]
Fixed bug #72306 (Heap overflow through proc_open and $env parameter)