Searched +hist:27 +hist:f38798 (Results 1 - 18 of 18) sorted by relevance

/PHP-7.3/ext/standard/
H A Dtype.cdiff 1e82ad80 Wed Mar 30 00:44:27 UTC 2016 Andrea Faulds <ajf@ajf.me> Warn about invalid strings in arithmetic

Squashed commit of the following:

commit e05d3b67325d4521418483ed924ac9211a188919
Author: Andrea Faulds <ajf@ajf.me>
Date: Wed Mar 30 01:43:35 2016 +0100

UPGRADING and NEWS

commit 6caf1d4585207d1b02fb06a216cd7da1a1f5e12d
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Mar 20 21:18:33 2016 +0000

Fixes

commit 6dadb1b0efe5e2ed071e95a55c806519e61377ac
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Feb 14 02:15:01 2016 +0000

Add test for numeric string errors in assignment

commit bd5f04e8dd576f92a48d25546f4f9a0f57f374de
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Feb 13 23:53:05 2016 +0000

Add test for numeric string errors

commit c72e92f16d512bcae30cc9639c89bcb08d971742
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 26 23:28:33 2016 +0000

Add test for scientific notation in integer operations

commit d94c08852d405b3a7ef6c84d24bf7915c890ce78
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Feb 14 01:25:57 2016 +0000

Disable optimiser evaluation for numeric string errors

commit 30ee954ed13d933e766c68605d683c8ebae3d8ee
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Feb 14 01:46:25 2016 +0000

fixup

commit a6403b79e054c95e2b7345d787f3092b261eed27
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Feb 13 22:00:27 2016 +0000

Do not convert error-causing numeric strings ahead-of-time

commit f9dc35401471ef3035954cb6f171826769297548
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Feb 13 19:15:38 2016 +0000

Disable compile-time evaluation for numeric string errors

commit e05b0cc8496ea082c6db27efd8b8277ef1f785b5
Author: Andrea Faulds <ajf@ajf.me>
Date: Fri Feb 5 11:42:26 2016 +0000

Make _zval_get_long_func_noisy function for inlining

commit 84d66321a57e579759109650c8bb7e3d5002854a
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 26 23:10:00 2016 +0000

Update tests

commit 5ac4a0cc4bff282e3a15eaa8ab44b67391881a6d
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 26 22:08:19 2016 +0000

Use is_numeric_string_ex for zval_get_long etc.

commit c21f08848533723331012a62a153de3577731d6a
Author: Andrea Faulds <ajf@ajf.me>
Date: Thu Jan 7 21:13:04 2016 +0000

Update tests

commit 63e214cf8160420bfc51c6a2b4ae32f09ad8e8af
Author: Andrea Faulds <ajf@ajf.me>
Date: Wed Jan 6 00:28:01 2016 +0000

Warn on non-/bad numeric strings in arithmetic
diff 1e82ad80 Wed Mar 30 00:44:27 UTC 2016 Andrea Faulds <ajf@ajf.me> Warn about invalid strings in arithmetic

Squashed commit of the following:

commit e05d3b67325d4521418483ed924ac9211a188919
Author: Andrea Faulds <ajf@ajf.me>
Date: Wed Mar 30 01:43:35 2016 +0100

UPGRADING and NEWS

commit 6caf1d4585207d1b02fb06a216cd7da1a1f5e12d
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Mar 20 21:18:33 2016 +0000

Fixes

commit 6dadb1b0efe5e2ed071e95a55c806519e61377ac
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Feb 14 02:15:01 2016 +0000

Add test for numeric string errors in assignment

commit bd5f04e8dd576f92a48d25546f4f9a0f57f374de
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Feb 13 23:53:05 2016 +0000

Add test for numeric string errors

commit c72e92f16d512bcae30cc9639c89bcb08d971742
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 26 23:28:33 2016 +0000

Add test for scientific notation in integer operations

commit d94c08852d405b3a7ef6c84d24bf7915c890ce78
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Feb 14 01:25:57 2016 +0000

Disable optimiser evaluation for numeric string errors

commit 30ee954ed13d933e766c68605d683c8ebae3d8ee
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Feb 14 01:46:25 2016 +0000

fixup

commit a6403b79e054c95e2b7345d787f3092b261eed27
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Feb 13 22:00:27 2016 +0000

Do not convert error-causing numeric strings ahead-of-time

commit f9dc35401471ef3035954cb6f171826769297548
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Feb 13 19:15:38 2016 +0000

Disable compile-time evaluation for numeric string errors

commit e05b0cc8496ea082c6db27efd8b8277ef1f785b5
Author: Andrea Faulds <ajf@ajf.me>
Date: Fri Feb 5 11:42:26 2016 +0000

Make _zval_get_long_func_noisy function for inlining

commit 84d66321a57e579759109650c8bb7e3d5002854a
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 26 23:10:00 2016 +0000

Update tests

commit 5ac4a0cc4bff282e3a15eaa8ab44b67391881a6d
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 26 22:08:19 2016 +0000

Use is_numeric_string_ex for zval_get_long etc.

commit c21f08848533723331012a62a153de3577731d6a
Author: Andrea Faulds <ajf@ajf.me>
Date: Thu Jan 7 21:13:04 2016 +0000

Update tests

commit 63e214cf8160420bfc51c6a2b4ae32f09ad8e8af
Author: Andrea Faulds <ajf@ajf.me>
Date: Wed Jan 6 00:28:01 2016 +0000

Warn on non-/bad numeric strings in arithmetic
diff 49493a2d Fri Jan 01 17:19:27 UTC 2016 Lior Kaplan <kaplanlior@gmail.com> Happy new year (Update copyright to 2016)
diff fc33f52d Thu Jan 15 15:27:30 UTC 2015 Xinchen Hui <laruence@php.net> bump year
diff 32344808 Wed Aug 27 13:31:48 UTC 2014 Anatol Belski <ab@php.net> first show to make 's' work with size_t
diff f2182ab8 Sun Aug 17 19:16:27 UTC 2014 Anatol Belski <ab@php.net> some more pure naming replacements
diff 27f38798 Fri Jul 11 12:32:20 UTC 2014 Dmitry Stogov <dmitry@zend.com> Fast parameter parsing API

This API is experemental. It may be changed or removed.
It should be used only for really often used functions.
(Keep the original parsing code and wrap usage with #ifndef FAST_ZPP)
diff 27f38798 Fri Jul 11 12:32:20 UTC 2014 Dmitry Stogov <dmitry@zend.com> Fast parameter parsing API

This API is experemental. It may be changed or removed.
It should be used only for really often used functions.
(Keep the original parsing code and wrap usage with #ifndef FAST_ZPP)
diff c6cba554 Thu Mar 27 09:39:09 UTC 2014 Dmitry Stogov <dmitry@zend.com> Use ZVAL_DEREF() macro
diff 16cb1cd4 Sun Jan 03 09:23:27 UTC 2010 Sebastian Bergmann <sebastian@php.net> sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
H A Durl.cdiff 5eb1f92f Mon May 28 13:27:12 UTC 2018 Dmitry Stogov <dmitry@zend.com> Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.
diff 085dfca0 Tue Oct 27 04:40:53 UTC 2015 Ilia Alshanetsky <ilia@ilia.ws> Added validation to parse_url() to prohibit restricted characters inside login/pass components based on RFC3986
diff d1ac9edc Tue Mar 29 09:27:39 UTC 2016 Anatol Belski <ab@php.net> Merge branch 'PHP-7.0'

* PHP-7.0:
Fixed bug #71704 php_snmp_error() Format String Vulnerability
Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut
Updated to version 2016.3 (2016c)
Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut
Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file
Fix bug #71798 - Integer Overflow in php_raw_url_encode
update NEWS
Disable huge pages in the Zend allocator by default As per the discussion on internals, this is an expert feature that needs special system-level configuration and care.
Added ability to disable huge pages in Zend Memeory Manager through the environment variable USE_ZEND_ALLOC_HUGE_PAGES=0.
Fix bug #71860: Require valid paths for phar filenames
Fix bug #71860: Require valid paths for phar filenames
update NEWS
Fixed bug #71704 php_snmp_error() Format String Vulnerability
Merge branch 'PHP-5.6' into PHP-7.0
Updated to version 2016.2 (2016b)
update libs versions
set RC1 versions
Going for 5.5.34
diff 95433e8e Sun Mar 27 21:22:19 UTC 2016 Stanislav Malyshev <stas@php.net> Fix bug #71798 - Integer Overflow in php_raw_url_encode
diff 49493a2d Fri Jan 01 17:19:27 UTC 2016 Lior Kaplan <kaplanlior@gmail.com> Happy new year (Update copyright to 2016)
diff f705063e Tue Oct 27 04:40:53 UTC 2015 Ilia Alshanetsky <ilia@ilia.ws> Added validation to parse_url() to prohibit restricted characters inside login/pass components based on RFC3986
diff fc33f52d Thu Jan 15 15:27:30 UTC 2015 Xinchen Hui <laruence@php.net> bump year
diff d0e51f5c Sun Oct 05 23:27:05 UTC 2014 Tjerk Meesters <datibbaw@php.net> Fixed bug #68129

Empty usernames and passwords are now treated differently from no username or password

For example, empty password:

ftp://user:@example.org

Empty username:

ftp://:password@example.org

Empty username and empty password

ftp://:@example.org
diff 257ed406 Wed Aug 27 15:31:24 UTC 2014 Anatol Belski <ab@php.net> 's' works with size_t round 2
diff 32344808 Wed Aug 27 13:31:48 UTC 2014 Anatol Belski <ab@php.net> first show to make 's' work with size_t
H A Dmath.cdiff 5eb1f92f Mon May 28 13:27:12 UTC 2018 Dmitry Stogov <dmitry@zend.com> Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.
diff 49493a2d Fri Jan 01 17:19:27 UTC 2016 Lior Kaplan <kaplanlior@gmail.com> Happy new year (Update copyright to 2016)
diff fc33f52d Thu Jan 15 15:27:30 UTC 2015 Xinchen Hui <laruence@php.net> bump year
diff 32344808 Wed Aug 27 13:31:48 UTC 2014 Anatol Belski <ab@php.net> first show to make 's' work with size_t
diff f2182ab8 Sun Aug 17 19:16:27 UTC 2014 Anatol Belski <ab@php.net> some more pure naming replacements
diff 27f38798 Fri Jul 11 12:32:20 UTC 2014 Dmitry Stogov <dmitry@zend.com> Fast parameter parsing API

This API is experemental. It may be changed or removed.
It should be used only for really often used functions.
(Keep the original parsing code and wrap usage with #ifndef FAST_ZPP)
diff 27f38798 Fri Jul 11 12:32:20 UTC 2014 Dmitry Stogov <dmitry@zend.com> Fast parameter parsing API

This API is experemental. It may be changed or removed.
It should be used only for really often used functions.
(Keep the original parsing code and wrap usage with #ifndef FAST_ZPP)
diff c16bfe40 Fri May 27 19:24:09 UTC 2011 Stanislav Malyshev <stas@php.net> MFH: Fixed comilation on x86_64
diff 7da89df2 Tue May 24 08:27:36 UTC 2011 Dmitry Stogov <dmitry@php.net> Fixed comilation on x86_64
diff 16cb1cd4 Sun Jan 03 09:23:27 UTC 2010 Sebastian Bergmann <sebastian@php.net> sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
H A Dhtml.cdiff 49493a2d Fri Jan 01 17:19:27 UTC 2016 Lior Kaplan <kaplanlior@gmail.com> Happy new year (Update copyright to 2016)
diff fc33f52d Thu Jan 15 15:27:30 UTC 2015 Xinchen Hui <laruence@php.net> bump year
diff 32344808 Wed Aug 27 13:31:48 UTC 2014 Anatol Belski <ab@php.net> first show to make 's' work with size_t
diff f2182ab8 Sun Aug 17 19:16:27 UTC 2014 Anatol Belski <ab@php.net> some more pure naming replacements
diff 27f38798 Fri Jul 11 12:32:20 UTC 2014 Dmitry Stogov <dmitry@zend.com> Fast parameter parsing API

This API is experemental. It may be changed or removed.
It should be used only for really often used functions.
(Keep the original parsing code and wrap usage with #ifndef FAST_ZPP)
diff 27f38798 Fri Jul 11 12:32:20 UTC 2014 Dmitry Stogov <dmitry@zend.com> Fast parameter parsing API

This API is experemental. It may be changed or removed.
It should be used only for really often used functions.
(Keep the original parsing code and wrap usage with #ifndef FAST_ZPP)
diff 0cd95c1e Tue Jul 02 15:27:48 UTC 2013 Anthony Ferrara <ircmaxell@gmail.com> Get basic language tests to all pass (minus xfails)
diff 3db6b511 Tue Jul 02 15:27:48 UTC 2013 Anthony Ferrara <ircmaxell@gmail.com> Get basic language tests to all pass (minus xfails)
diff 755c2cd0 Wed Dec 08 11:27:34 UTC 2010 Dmitry Stogov <dmitry@php.net> Removed compile time dependency from ext/mbstring
diff e69b1ff2 Wed Oct 27 18:13:25 UTC 2010 Gustavo André dos Santos Lopes <cataphract@php.net> - Fixed bug #49687 (utf8_decode vulnerabilities and deficiencies in the number
of reported malformed sequences). (Gustavo)
#Made a public interface for get_next_char/utf-8 in trunk to use in utf8_decode.
#In PHP 5.3, trunk's get_next_char was copied to xml.c because 5.3's
#get_next_char is different and is not prepared to recover appropriately from
#errors.
H A Dfilestat.cdiff fc23452c Sun Feb 04 22:27:31 UTC 2018 Nikita Popov <nikita.ppv@gmail.com> Adjust manual zpp-like error message implementations

This should also use int/bool.
diff 49493a2d Fri Jan 01 17:19:27 UTC 2016 Lior Kaplan <kaplanlior@gmail.com> Happy new year (Update copyright to 2016)
diff fc33f52d Thu Jan 15 15:27:30 UTC 2015 Xinchen Hui <laruence@php.net> bump year
diff bf96ee95 Wed Aug 27 18:42:47 UTC 2014 Anatol Belski <ab@php.net> 's' works with size_t round 4
diff 32344808 Wed Aug 27 13:31:48 UTC 2014 Anatol Belski <ab@php.net> first show to make 's' work with size_t
diff 27f38798 Fri Jul 11 12:32:20 UTC 2014 Dmitry Stogov <dmitry@zend.com> Fast parameter parsing API

This API is experemental. It may be changed or removed.
It should be used only for really often used functions.
(Keep the original parsing code and wrap usage with #ifndef FAST_ZPP)
diff 27f38798 Fri Jul 11 12:32:20 UTC 2014 Dmitry Stogov <dmitry@zend.com> Fast parameter parsing API

This API is experemental. It may be changed or removed.
It should be used only for really often used functions.
(Keep the original parsing code and wrap usage with #ifndef FAST_ZPP)
diff f7d8b274 Thu May 10 13:27:44 UTC 2012 Anatoliy Belsky <ab@php.net> Fix bug ext\standard\tests\file\realpath_cache_win32.phpt fails

What happens here is trivial long overflow. Despite the bug attracted
attention on windows, the same story is on linux. Just wait for a big
anough bucket->key . The linux test had %i to check the key value
which should be %d all the way.
diff 16cb1cd4 Sun Jan 03 09:23:27 UTC 2010 Sebastian Bergmann <sebastian@php.net> sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
diff 22f4ef45 Sun Jan 03 09:23:27 UTC 2010 Sebastian Bergmann <sebastian@php.net> sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
H A Dfile.cdiff 5eb1f92f Mon May 28 13:27:12 UTC 2018 Dmitry Stogov <dmitry@zend.com> Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.
diff 1314f0fb Fri Feb 23 07:42:27 UTC 2018 Gabriel Caruso <carusogabriel34@gmail.com> Use int instead of long in protos
diff 207dab58 Mon Aug 29 23:53:27 UTC 2016 Christoph M. Becker <cmbecker69@gmx.de> Fix #71882: Negative ftruncate() on php://memory exhausts memory

We must not pass negative sizes to a size_t parameter.
diff 49493a2d Fri Jan 01 17:19:27 UTC 2016 Lior Kaplan <kaplanlior@gmail.com> Happy new year (Update copyright to 2016)
diff 509712c7 Sun Sep 20 02:27:51 UTC 2015 Bob Weinand <bobwei9@hotmail.com> Add FAST_ZPP to various important stream funcs
diff f86600c1 Mon Feb 02 15:52:27 UTC 2015 Daniel Lowrey <rdlowrey@php.net> Merge branch 'PHP-5.5' into PHP-5.6

Conflicts:
ext/standard/file.c
diff fc33f52d Thu Jan 15 15:27:30 UTC 2015 Xinchen Hui <laruence@php.net> bump year
diff bf96ee95 Wed Aug 27 18:42:47 UTC 2014 Anatol Belski <ab@php.net> 's' works with size_t round 4
diff 6db8d4f8 Wed Aug 27 17:25:28 UTC 2014 Anatol Belski <ab@php.net> 's' works with size_t round 3
diff 257ed406 Wed Aug 27 15:31:24 UTC 2014 Anatol Belski <ab@php.net> 's' works with size_t round 2
H A Darray.cdiff 6bf68124 Tue Sep 18 18:50:27 UTC 2018 Nikita Popov <nikita.ppv@gmail.com> Merge branch 'PHP-7.1' into PHP-7.2
diff 939e1095 Thu Jun 21 09:26:27 UTC 2018 Xinchen Hui <laruence@gmail.com> Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
Fixed bug #76505 (array_merge_recursive() is duplicating sub-array keys)
diff 5eb1f92f Mon May 28 13:27:12 UTC 2018 Dmitry Stogov <dmitry@zend.com> Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.
diff 97a84831 Sun May 27 22:48:35 UTC 2018 Bob Weinand <bobwei9@hotmail.com> Fixed bug #76383 (array_map on $GLOBALS returns IS_INDIRECT)
diff 3770c2e4 Fri Apr 13 13:27:59 UTC 2018 Christoph M. Becker <cmbecker69@gmx.de> Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
Fix arginfo for array_replace(_recursive) and array_merge(_recursive)
diff 98aeb528 Wed Mar 07 16:12:27 UTC 2018 Anatol Belski <ab@php.net> Remove unused assignment
diff 352b4066 Fri Oct 27 17:07:50 UTC 2017 Sara Golemon <pollita@php.net> Merge branch 'PHP-7.2'

* PHP-7.2:
Don't optimize input arrays with suffix holes
diff cc96166f Fri Oct 27 17:05:38 UTC 2017 Sara Golemon <pollita@php.net> Don't optimize input arrays with suffix holes
diff fabb5b7a Fri Oct 27 14:13:17 UTC 2017 Sara Golemon <pollita@php.net> array_slice() passthrough for preserve_keys=true as well
diff e751e6ce Fri Oct 27 14:00:17 UTC 2017 Sara Golemon <pollita@php.net> Do not create a new array when slicing all of input array.
H A Dstring.cdiff fee38633 Tue Nov 26 09:19:27 UTC 2019 Christoph M. Becker <cmbecker69@gmx.de> Fix #78840: imploding $GLOBALS crashes

We add support for IS_INDIRECT zvals to implode().
diff 5eb1f92f Mon May 28 13:27:12 UTC 2018 Dmitry Stogov <dmitry@zend.com> Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.
diff 87b71804 Sat Feb 10 08:58:27 UTC 2018 Xinchen Hui <laruence@gmail.com> Fixed cpu feature check in reslover functions
diff 98aa3a65 Mon Jan 15 13:01:27 UTC 2018 Xinchen Hui <laruence@gmail.com> Optimized php_addslashes with SSE4.2 instructions

According to benchmark
(https://gist.github.com/laruence/fd0d443d2c5bacca9d8ab99250499956) this brings 30%+ execution time reduced.

In the further, this open the door for possible SSE4.2 optimizations in
other places.
diff b8487b6a Mon Jun 27 07:32:11 UTC 2016 Stanislav Malyshev <stas@php.net> Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
Fix the fix for #72403 on nl2br
5.5.38 now

Conflicts:
configure.in
main/php_version.h
diff 25bd11cf Mon Jun 27 07:30:42 UTC 2016 Stanislav Malyshev <stas@php.net> Fix the fix for #72403 on nl2br
diff 8bc89942 Wed Jan 27 06:55:20 UTC 2016 Stanislav Malyshev <stas@php.net> Merge branch 'PHP-7.0'

* PHP-7.0:
Use safe alloc functions when calculations are made on sizes.
diff 88bd7cb4 Wed Jan 27 06:10:43 UTC 2016 Stanislav Malyshev <stas@php.net> Use safe alloc functions when calculations are made on sizes.

Fixes bug #71449, bug #71450
diff 49493a2d Fri Jan 01 17:19:27 UTC 2016 Lior Kaplan <kaplanlior@gmail.com> Happy new year (Update copyright to 2016)
diff 80edd403 Mon Jul 27 14:56:53 UTC 2015 Remi Collet <remi@php.net> fix memleak
H A Dbasic_functions.cdiff 5eb1f92f Mon May 28 13:27:12 UTC 2018 Dmitry Stogov <dmitry@zend.com> Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.
diff 1314f0fb Fri Feb 23 07:42:27 UTC 2018 Gabriel Caruso <carusogabriel34@gmail.com> Use int instead of long in protos
diff 06202f0f Mon Nov 27 20:18:08 UTC 2017 Anatol Belski <ab@php.net> Fix allocation
diff 2868ff84 Mon Nov 27 19:24:30 UTC 2017 Anatol Belski <ab@php.net> Fix memory leak
diff 2b7d283c Mon Nov 27 17:49:02 UTC 2017 Anatol Belski <ab@php.net> Fixed bug #75574 putenv does not work properly if parameter contains non-ASCII unicode character
diff 7cdf5203 Tue Apr 11 06:27:17 UTC 2017 Sebastian Bergmann <sebastian@php.net> Fix bug #74409
diff 98f4ce93 Thu Mar 09 19:27:01 UTC 2017 Adam Saponara <as@php.net> Return FALSE if error_log fails to write all bytes
diff 49493a2d Fri Jan 01 17:19:27 UTC 2016 Lior Kaplan <kaplanlior@gmail.com> Happy new year (Update copyright to 2016)
diff 08b6fe9e Wed Feb 18 14:27:27 UTC 2015 Ferenc Kovacs <tyrael@php.net> Fix bug #69033 (Request may get env. variables from previous requests if PHP works as FastCGI)
diff 08b6fe9e Wed Feb 18 14:27:27 UTC 2015 Ferenc Kovacs <tyrael@php.net> Fix bug #69033 (Request may get env. variables from previous requests if PHP works as FastCGI)
/PHP-7.3/Zend/
H A Dzend_operators.hdiff 5eb1f92f Mon May 28 13:27:12 UTC 2018 Dmitry Stogov <dmitry@zend.com> Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.
diff 6acfade8 Mon Nov 27 21:37:00 UTC 2017 Dmitry Stogov <dmitry@zend.com> Prefer "GNU asm goto" to __builtin_saddl_overflow() for overflow detection. This allows generation of significantly better code.
diff 1e82ad80 Wed Mar 30 00:44:27 UTC 2016 Andrea Faulds <ajf@ajf.me> Warn about invalid strings in arithmetic

Squashed commit of the following:

commit e05d3b67325d4521418483ed924ac9211a188919
Author: Andrea Faulds <ajf@ajf.me>
Date: Wed Mar 30 01:43:35 2016 +0100

UPGRADING and NEWS

commit 6caf1d4585207d1b02fb06a216cd7da1a1f5e12d
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Mar 20 21:18:33 2016 +0000

Fixes

commit 6dadb1b0efe5e2ed071e95a55c806519e61377ac
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Feb 14 02:15:01 2016 +0000

Add test for numeric string errors in assignment

commit bd5f04e8dd576f92a48d25546f4f9a0f57f374de
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Feb 13 23:53:05 2016 +0000

Add test for numeric string errors

commit c72e92f16d512bcae30cc9639c89bcb08d971742
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 26 23:28:33 2016 +0000

Add test for scientific notation in integer operations

commit d94c08852d405b3a7ef6c84d24bf7915c890ce78
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Feb 14 01:25:57 2016 +0000

Disable optimiser evaluation for numeric string errors

commit 30ee954ed13d933e766c68605d683c8ebae3d8ee
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Feb 14 01:46:25 2016 +0000

fixup

commit a6403b79e054c95e2b7345d787f3092b261eed27
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Feb 13 22:00:27 2016 +0000

Do not convert error-causing numeric strings ahead-of-time

commit f9dc35401471ef3035954cb6f171826769297548
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Feb 13 19:15:38 2016 +0000

Disable compile-time evaluation for numeric string errors

commit e05b0cc8496ea082c6db27efd8b8277ef1f785b5
Author: Andrea Faulds <ajf@ajf.me>
Date: Fri Feb 5 11:42:26 2016 +0000

Make _zval_get_long_func_noisy function for inlining

commit 84d66321a57e579759109650c8bb7e3d5002854a
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 26 23:10:00 2016 +0000

Update tests

commit 5ac4a0cc4bff282e3a15eaa8ab44b67391881a6d
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 26 22:08:19 2016 +0000

Use is_numeric_string_ex for zval_get_long etc.

commit c21f08848533723331012a62a153de3577731d6a
Author: Andrea Faulds <ajf@ajf.me>
Date: Thu Jan 7 21:13:04 2016 +0000

Update tests

commit 63e214cf8160420bfc51c6a2b4ae32f09ad8e8af
Author: Andrea Faulds <ajf@ajf.me>
Date: Wed Jan 6 00:28:01 2016 +0000

Warn on non-/bad numeric strings in arithmetic
diff 1e82ad80 Wed Mar 30 00:44:27 UTC 2016 Andrea Faulds <ajf@ajf.me> Warn about invalid strings in arithmetic

Squashed commit of the following:

commit e05d3b67325d4521418483ed924ac9211a188919
Author: Andrea Faulds <ajf@ajf.me>
Date: Wed Mar 30 01:43:35 2016 +0100

UPGRADING and NEWS

commit 6caf1d4585207d1b02fb06a216cd7da1a1f5e12d
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Mar 20 21:18:33 2016 +0000

Fixes

commit 6dadb1b0efe5e2ed071e95a55c806519e61377ac
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Feb 14 02:15:01 2016 +0000

Add test for numeric string errors in assignment

commit bd5f04e8dd576f92a48d25546f4f9a0f57f374de
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Feb 13 23:53:05 2016 +0000

Add test for numeric string errors

commit c72e92f16d512bcae30cc9639c89bcb08d971742
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 26 23:28:33 2016 +0000

Add test for scientific notation in integer operations

commit d94c08852d405b3a7ef6c84d24bf7915c890ce78
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Feb 14 01:25:57 2016 +0000

Disable optimiser evaluation for numeric string errors

commit 30ee954ed13d933e766c68605d683c8ebae3d8ee
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Feb 14 01:46:25 2016 +0000

fixup

commit a6403b79e054c95e2b7345d787f3092b261eed27
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Feb 13 22:00:27 2016 +0000

Do not convert error-causing numeric strings ahead-of-time

commit f9dc35401471ef3035954cb6f171826769297548
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Feb 13 19:15:38 2016 +0000

Disable compile-time evaluation for numeric string errors

commit e05b0cc8496ea082c6db27efd8b8277ef1f785b5
Author: Andrea Faulds <ajf@ajf.me>
Date: Fri Feb 5 11:42:26 2016 +0000

Make _zval_get_long_func_noisy function for inlining

commit 84d66321a57e579759109650c8bb7e3d5002854a
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 26 23:10:00 2016 +0000

Update tests

commit 5ac4a0cc4bff282e3a15eaa8ab44b67391881a6d
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 26 22:08:19 2016 +0000

Use is_numeric_string_ex for zval_get_long etc.

commit c21f08848533723331012a62a153de3577731d6a
Author: Andrea Faulds <ajf@ajf.me>
Date: Thu Jan 7 21:13:04 2016 +0000

Update tests

commit 63e214cf8160420bfc51c6a2b4ae32f09ad8e8af
Author: Andrea Faulds <ajf@ajf.me>
Date: Wed Jan 6 00:28:01 2016 +0000

Warn on non-/bad numeric strings in arithmetic
diff 1cdee9a5 Fri Feb 27 10:45:11 UTC 2015 Dmitry Stogov <dmitry@zend.com> Fixed C++ support
diff fc33f52d Thu Jan 15 15:27:30 UTC 2015 Xinchen Hui <laruence@php.net> bump year
diff 107ae86c Sat Dec 27 08:11:40 UTC 2014 Dmitry Stogov <dmitry@zend.com> Introduce specialized functions to compare with integer and string, to eliminate repeatable checks on each loop iteration in in_array() function.
diff 27dc5986 Thu Dec 11 10:18:40 UTC 2014 Dmitry Stogov <dmitry@zend.com> Moved zend_is_true() from zend_execute.h/zend_execute_API.c into zend_operators.h/zend_operators.c.
Splited the most expensive part of inline i_zend_is_true() into a separate zend_object_is_true().
Replaced zendi_convert_to_long() with cals to zend_is_true().
diff f2182ab8 Sun Aug 17 19:16:27 UTC 2014 Anatol Belski <ab@php.net> some more pure naming replacements
diff 27f38798 Fri Jul 11 12:32:20 UTC 2014 Dmitry Stogov <dmitry@zend.com> Fast parameter parsing API

This API is experemental. It may be changed or removed.
It should be used only for really often used functions.
(Keep the original parsing code and wrap usage with #ifndef FAST_ZPP)
diff 27f38798 Fri Jul 11 12:32:20 UTC 2014 Dmitry Stogov <dmitry@zend.com> Fast parameter parsing API

This API is experemental. It may be changed or removed.
It should be used only for really often used functions.
(Keep the original parsing code and wrap usage with #ifndef FAST_ZPP)
H A Dzend.hdiff 26f8fc83 Wed Nov 15 23:29:27 UTC 2017 Nikita Popov <nikita.ppv@gmail.com> Enable and fix printf() format warnings

Add _unchecked() variants of zend_spprintf and zend_strpprintf for
cases where we specifically want to disable these checks, such as
use of %H.
diff 5fc9aa9a Sun Dec 18 16:53:27 UTC 2016 Nikita Popov <nikic@php.net> Make printf_to_smart_str(ing) the primitive printf operation

vs(tr)pprintf is now implemented in Zend on top of
printf_to_smart_str(int), which is provided as a utility function.

This allows us to efficiently printf to the end of a smart string.
diff 3abd9c34 Mon Jun 20 10:27:59 UTC 2016 Dmitry Stogov <dmitry@zend.com> Removed unused callbacks
diff fc33f52d Thu Jan 15 15:27:30 UTC 2015 Xinchen Hui <laruence@php.net> bump year
diff d11734b4 Thu Sep 25 16:48:27 UTC 2014 Anatol Belski <ab@php.net> reworked the patch, less new stuff but worky

TLS is already used in TSRM, the way exporting the tsrm cache through
a thread local variable is not portable. Additionally, the current
patch suffers from bugs which are hard to find, but prevent it to
be worky with apache. What is done here is mainly uses the idea
from the RFC patch, but

- __thread variable is removed
- offset math and declarations are removed
- extra macros and definitions are removed

What is done merely is

- use an inline function to access the tsrm cache. The function uses
the portable tsrm_tls_get macro which is cheap
- all the TSRM_* macros are set to placebo. Thus this opens the way
remove them later

Except that, the logic is old. TSRMLS_FETCH will have to be done once
per thread, then tsrm_get_ls_cache() can be used. Things seeming to be
worky are cli, cli server and apache. I also tried to enable bz2
shared and it has worked out of the box. The change is yet minimal
diffing to the current master bus is a worky start, IMHO. Though will
have to recheck the other previously done SAPIs - embed and cgi.

The offsets can be added to the tsrm_resource_type struct, then
it'll not be needed to declare them in the userspace. Even the
"done" member type can be changed to int16 or smaller, then adding
the offset as int16 will not change the struct size. As well on the
todo might be removing the hashed storage, thread_id != thread_id and
linked list logic in favour of the explicit TLS operations.
diff ee552b62 Wed Aug 27 18:45:27 UTC 2014 Dmitry Stogov <dmitry@zend.com> Reorder fields for better nenory consumtion and data locality on 64-bit systems
diff ee552b62 Wed Aug 27 18:45:27 UTC 2014 Dmitry Stogov <dmitry@zend.com> Reorder fields for better nenory consumtion and data locality on 64-bit systems
diff b1f53ca4 Wed Aug 27 16:49:56 UTC 2014 Dmitry Stogov <dmitry@zend.com> Use efree_size() instead of efree() where posible
diff 8ec40397 Wed Aug 27 15:10:29 UTC 2014 Dmitry Stogov <dmitry@zend.com> Cleanup IS_VAR handling
diff 6cc487df Fri Jul 18 08:27:31 UTC 2014 Xinchen Hui <laruence@php.net> Revert "stash" (pushed by accident)

This reverts commit a18bf5fc9303e2739ee7026bdb3bbf272bf4baa8.
H A Dzend_builtin_functions.cdiff 5eb1f92f Mon May 28 13:27:12 UTC 2018 Dmitry Stogov <dmitry@zend.com> Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.
diff 8e01026b Fri Oct 27 11:44:21 UTC 2017 Dmitry Stogov <dmitry@zend.com> Extend zend_register_class_alias_ex() with additional argument to allow creating persistent or per-request aliases
diff 9cf87aa1 Tue Oct 24 14:27:31 UTC 2017 Dmitry Stogov <dmitry@zend.com> Avoid HashTable allocations for empty arrays (using zend_empty_array).
diff bca7f029 Mon Sep 26 11:17:27 UTC 2016 Dmitry Stogov <dmitry@zend.com> Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
Fixed bug #73156 (segfault on undefined function)
diff 13567d5d Fri Aug 14 14:16:27 UTC 2015 Nikita Popov <nikic@php.net> Don't copy zend_strings during exception creation

Minor optimization...
diff a094f4fa Fri Aug 14 09:09:27 UTC 2015 Xinchen Hui <laruence@php.net> Remove useless insert
diff 7aa76271 Tue Jun 30 10:59:27 UTC 2015 Dmitry Stogov <dmitry@zend.com> Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes).
diff 97883233 Sat May 30 03:29:27 UTC 2015 Willian Gustavo Veiga <contact@willianveiga.com> Fix bug #31875 - get_defined_functions() should not list disabled functions.
diff fc33f52d Thu Jan 15 15:27:30 UTC 2015 Xinchen Hui <laruence@php.net> bump year
diff e14b7f62 Sat Sep 27 19:24:19 UTC 2014 Timm Friebe <thekid@thekid.de> Fix segmentation fault in debug_backtrace()
H A Dzend_API.hdiff d9f5ea69 Wed Dec 27 12:15:03 UTC 2017 Dmitry Stogov <dmitry@zend.com> zend_fcall_info_cache.initialized is removed (zend_fcall_info_cache is initialized if zend_fcall_info_cache.function_handler is set).
diff 8e01026b Fri Oct 27 11:44:21 UTC 2017 Dmitry Stogov <dmitry@zend.com> Extend zend_register_class_alias_ex() with additional argument to allow creating persistent or per-request aliases
diff f0a2e8eb Wed Apr 27 10:46:38 UTC 2016 Dmitry Stogov <dmitry@zend.com> Removed "zend_fcall_info.function_table". It was assigned in many places, but is never used.
diff 054591ab Fri Mar 20 14:27:03 UTC 2015 Dmitry Stogov <dmitry@zend.com> Imroved ZPP rules (condititins reoredered to prevent duplicate checks)
diff 07fdc1c7 Thu Feb 12 08:27:58 UTC 2015 Anatol Belski <ab@php.net> fix data types
diff fc33f52d Thu Jan 15 15:27:30 UTC 2015 Xinchen Hui <laruence@php.net> bump year
diff a5e4f1f5 Wed Oct 22 15:27:33 UTC 2014 Anatol Belski <ab@php.net> fix several datatype mismatches
diff d11734b4 Thu Sep 25 16:48:27 UTC 2014 Anatol Belski <ab@php.net> reworked the patch, less new stuff but worky

TLS is already used in TSRM, the way exporting the tsrm cache through
a thread local variable is not portable. Additionally, the current
patch suffers from bugs which are hard to find, but prevent it to
be worky with apache. What is done here is mainly uses the idea
from the RFC patch, but

- __thread variable is removed
- offset math and declarations are removed
- extra macros and definitions are removed

What is done merely is

- use an inline function to access the tsrm cache. The function uses
the portable tsrm_tls_get macro which is cheap
- all the TSRM_* macros are set to placebo. Thus this opens the way
remove them later

Except that, the logic is old. TSRMLS_FETCH will have to be done once
per thread, then tsrm_get_ls_cache() can be used. Things seeming to be
worky are cli, cli server and apache. I also tried to enable bz2
shared and it has worked out of the box. The change is yet minimal
diffing to the current master bus is a worky start, IMHO. Though will
have to recheck the other previously done SAPIs - embed and cgi.

The offsets can be added to the tsrm_resource_type struct, then
it'll not be needed to declare them in the userspace. Even the
"done" member type can be changed to int16 or smaller, then adding
the offset as int16 will not change the struct size. As well on the
todo might be removing the hashed storage, thread_id != thread_id and
linked list logic in favour of the explicit TLS operations.
diff 32344808 Wed Aug 27 13:31:48 UTC 2014 Anatol Belski <ab@php.net> first show to make 's' work with size_t
diff f2182ab8 Sun Aug 17 19:16:27 UTC 2014 Anatol Belski <ab@php.net> some more pure naming replacements
H A Dzend_operators.cdiff cd2afd99 Mon Aug 31 15:03:27 UTC 2020 Nikita Popov <nikita.ppv@gmail.com> Fix leak on assign concat of array and empty string
diff 5eb1f92f Mon May 28 13:27:12 UTC 2018 Dmitry Stogov <dmitry@zend.com> Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.
diff 26f8fc83 Wed Nov 15 23:29:27 UTC 2017 Nikita Popov <nikita.ppv@gmail.com> Enable and fix printf() format warnings

Add _unchecked() variants of zend_spprintf and zend_strpprintf for
cases where we specifically want to disable these checks, such as
use of %H.
diff 9cf87aa1 Tue Oct 24 14:27:31 UTC 2017 Dmitry Stogov <dmitry@zend.com> Avoid HashTable allocations for empty arrays (using zend_empty_array).
diff 4a6ef832 Thu Jul 27 14:04:59 UTC 2017 Sara Golemon <pollita@php.net> Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
Simpler fix for #74974
diff b62fb3aa Thu Jul 27 14:04:14 UTC 2017 Sara Golemon <pollita@php.net> Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
Simpler fix for #74974
diff 1e82ad80 Wed Mar 30 00:44:27 UTC 2016 Andrea Faulds <ajf@ajf.me> Warn about invalid strings in arithmetic

Squashed commit of the following:

commit e05d3b67325d4521418483ed924ac9211a188919
Author: Andrea Faulds <ajf@ajf.me>
Date: Wed Mar 30 01:43:35 2016 +0100

UPGRADING and NEWS

commit 6caf1d4585207d1b02fb06a216cd7da1a1f5e12d
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Mar 20 21:18:33 2016 +0000

Fixes

commit 6dadb1b0efe5e2ed071e95a55c806519e61377ac
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Feb 14 02:15:01 2016 +0000

Add test for numeric string errors in assignment

commit bd5f04e8dd576f92a48d25546f4f9a0f57f374de
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Feb 13 23:53:05 2016 +0000

Add test for numeric string errors

commit c72e92f16d512bcae30cc9639c89bcb08d971742
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 26 23:28:33 2016 +0000

Add test for scientific notation in integer operations

commit d94c08852d405b3a7ef6c84d24bf7915c890ce78
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Feb 14 01:25:57 2016 +0000

Disable optimiser evaluation for numeric string errors

commit 30ee954ed13d933e766c68605d683c8ebae3d8ee
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Feb 14 01:46:25 2016 +0000

fixup

commit a6403b79e054c95e2b7345d787f3092b261eed27
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Feb 13 22:00:27 2016 +0000

Do not convert error-causing numeric strings ahead-of-time

commit f9dc35401471ef3035954cb6f171826769297548
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Feb 13 19:15:38 2016 +0000

Disable compile-time evaluation for numeric string errors

commit e05b0cc8496ea082c6db27efd8b8277ef1f785b5
Author: Andrea Faulds <ajf@ajf.me>
Date: Fri Feb 5 11:42:26 2016 +0000

Make _zval_get_long_func_noisy function for inlining

commit 84d66321a57e579759109650c8bb7e3d5002854a
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 26 23:10:00 2016 +0000

Update tests

commit 5ac4a0cc4bff282e3a15eaa8ab44b67391881a6d
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 26 22:08:19 2016 +0000

Use is_numeric_string_ex for zval_get_long etc.

commit c21f08848533723331012a62a153de3577731d6a
Author: Andrea Faulds <ajf@ajf.me>
Date: Thu Jan 7 21:13:04 2016 +0000

Update tests

commit 63e214cf8160420bfc51c6a2b4ae32f09ad8e8af
Author: Andrea Faulds <ajf@ajf.me>
Date: Wed Jan 6 00:28:01 2016 +0000

Warn on non-/bad numeric strings in arithmetic
diff 1e82ad80 Wed Mar 30 00:44:27 UTC 2016 Andrea Faulds <ajf@ajf.me> Warn about invalid strings in arithmetic

Squashed commit of the following:

commit e05d3b67325d4521418483ed924ac9211a188919
Author: Andrea Faulds <ajf@ajf.me>
Date: Wed Mar 30 01:43:35 2016 +0100

UPGRADING and NEWS

commit 6caf1d4585207d1b02fb06a216cd7da1a1f5e12d
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Mar 20 21:18:33 2016 +0000

Fixes

commit 6dadb1b0efe5e2ed071e95a55c806519e61377ac
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Feb 14 02:15:01 2016 +0000

Add test for numeric string errors in assignment

commit bd5f04e8dd576f92a48d25546f4f9a0f57f374de
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Feb 13 23:53:05 2016 +0000

Add test for numeric string errors

commit c72e92f16d512bcae30cc9639c89bcb08d971742
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 26 23:28:33 2016 +0000

Add test for scientific notation in integer operations

commit d94c08852d405b3a7ef6c84d24bf7915c890ce78
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Feb 14 01:25:57 2016 +0000

Disable optimiser evaluation for numeric string errors

commit 30ee954ed13d933e766c68605d683c8ebae3d8ee
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Feb 14 01:46:25 2016 +0000

fixup

commit a6403b79e054c95e2b7345d787f3092b261eed27
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Feb 13 22:00:27 2016 +0000

Do not convert error-causing numeric strings ahead-of-time

commit f9dc35401471ef3035954cb6f171826769297548
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Feb 13 19:15:38 2016 +0000

Disable compile-time evaluation for numeric string errors

commit e05b0cc8496ea082c6db27efd8b8277ef1f785b5
Author: Andrea Faulds <ajf@ajf.me>
Date: Fri Feb 5 11:42:26 2016 +0000

Make _zval_get_long_func_noisy function for inlining

commit 84d66321a57e579759109650c8bb7e3d5002854a
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 26 23:10:00 2016 +0000

Update tests

commit 5ac4a0cc4bff282e3a15eaa8ab44b67391881a6d
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 26 22:08:19 2016 +0000

Use is_numeric_string_ex for zval_get_long etc.

commit c21f08848533723331012a62a153de3577731d6a
Author: Andrea Faulds <ajf@ajf.me>
Date: Thu Jan 7 21:13:04 2016 +0000

Update tests

commit 63e214cf8160420bfc51c6a2b4ae32f09ad8e8af
Author: Andrea Faulds <ajf@ajf.me>
Date: Wed Jan 6 00:28:01 2016 +0000

Warn on non-/bad numeric strings in arithmetic
diff 7aa76271 Tue Jun 30 10:59:27 UTC 2015 Dmitry Stogov <dmitry@zend.com> Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes).
diff fc33f52d Thu Jan 15 15:27:30 UTC 2015 Xinchen Hui <laruence@php.net> bump year
H A Dzend_API.cdiff e9481888 Thu Aug 27 16:54:46 UTC 2020 twosee <twose@qq.com> Improve error_handing replacement functions

We explicitly skip calls to user_error_handler in EH_THROW mode

Closes GH-6050.
diff 5eb1f92f Mon May 28 13:27:12 UTC 2018 Dmitry Stogov <dmitry@zend.com> Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.
diff d9f5ea69 Wed Dec 27 12:15:03 UTC 2017 Dmitry Stogov <dmitry@zend.com> zend_fcall_info_cache.initialized is removed (zend_fcall_info_cache is initialized if zend_fcall_info_cache.function_handler is set).
diff a6fcbb7c Wed Dec 27 10:26:06 UTC 2017 Dmitry Stogov <dmitry@zend.com> Use zend_hash_find() instead of zend_hash_find_ptr() to avoid double check
diff 8e01026b Fri Oct 27 11:44:21 UTC 2017 Dmitry Stogov <dmitry@zend.com> Extend zend_register_class_alias_ex() with additional argument to allow creating persistent or per-request aliases
diff 41e5f916 Mon Sep 18 08:27:10 UTC 2017 Dmitry Stogov <dmitry@zend.com> Fixed bug #74878 (Data race in ZTS builds)
diff c0be77aa Tue Jun 27 10:12:09 UTC 2017 Dmitry Stogov <dmitry@zend.com> Removed deprecated checks.
diff f0a2e8eb Wed Apr 27 10:46:38 UTC 2016 Dmitry Stogov <dmitry@zend.com> Removed "zend_fcall_info.function_table". It was assigned in many places, but is never used.
diff 1e82ad80 Wed Mar 30 00:44:27 UTC 2016 Andrea Faulds <ajf@ajf.me> Warn about invalid strings in arithmetic

Squashed commit of the following:

commit e05d3b67325d4521418483ed924ac9211a188919
Author: Andrea Faulds <ajf@ajf.me>
Date: Wed Mar 30 01:43:35 2016 +0100

UPGRADING and NEWS

commit 6caf1d4585207d1b02fb06a216cd7da1a1f5e12d
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Mar 20 21:18:33 2016 +0000

Fixes

commit 6dadb1b0efe5e2ed071e95a55c806519e61377ac
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Feb 14 02:15:01 2016 +0000

Add test for numeric string errors in assignment

commit bd5f04e8dd576f92a48d25546f4f9a0f57f374de
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Feb 13 23:53:05 2016 +0000

Add test for numeric string errors

commit c72e92f16d512bcae30cc9639c89bcb08d971742
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 26 23:28:33 2016 +0000

Add test for scientific notation in integer operations

commit d94c08852d405b3a7ef6c84d24bf7915c890ce78
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Feb 14 01:25:57 2016 +0000

Disable optimiser evaluation for numeric string errors

commit 30ee954ed13d933e766c68605d683c8ebae3d8ee
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Feb 14 01:46:25 2016 +0000

fixup

commit a6403b79e054c95e2b7345d787f3092b261eed27
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Feb 13 22:00:27 2016 +0000

Do not convert error-causing numeric strings ahead-of-time

commit f9dc35401471ef3035954cb6f171826769297548
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Feb 13 19:15:38 2016 +0000

Disable compile-time evaluation for numeric string errors

commit e05b0cc8496ea082c6db27efd8b8277ef1f785b5
Author: Andrea Faulds <ajf@ajf.me>
Date: Fri Feb 5 11:42:26 2016 +0000

Make _zval_get_long_func_noisy function for inlining

commit 84d66321a57e579759109650c8bb7e3d5002854a
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 26 23:10:00 2016 +0000

Update tests

commit 5ac4a0cc4bff282e3a15eaa8ab44b67391881a6d
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 26 22:08:19 2016 +0000

Use is_numeric_string_ex for zval_get_long etc.

commit c21f08848533723331012a62a153de3577731d6a
Author: Andrea Faulds <ajf@ajf.me>
Date: Thu Jan 7 21:13:04 2016 +0000

Update tests

commit 63e214cf8160420bfc51c6a2b4ae32f09ad8e8af
Author: Andrea Faulds <ajf@ajf.me>
Date: Wed Jan 6 00:28:01 2016 +0000

Warn on non-/bad numeric strings in arithmetic
diff 1e82ad80 Wed Mar 30 00:44:27 UTC 2016 Andrea Faulds <ajf@ajf.me> Warn about invalid strings in arithmetic

Squashed commit of the following:

commit e05d3b67325d4521418483ed924ac9211a188919
Author: Andrea Faulds <ajf@ajf.me>
Date: Wed Mar 30 01:43:35 2016 +0100

UPGRADING and NEWS

commit 6caf1d4585207d1b02fb06a216cd7da1a1f5e12d
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Mar 20 21:18:33 2016 +0000

Fixes

commit 6dadb1b0efe5e2ed071e95a55c806519e61377ac
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Feb 14 02:15:01 2016 +0000

Add test for numeric string errors in assignment

commit bd5f04e8dd576f92a48d25546f4f9a0f57f374de
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Feb 13 23:53:05 2016 +0000

Add test for numeric string errors

commit c72e92f16d512bcae30cc9639c89bcb08d971742
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 26 23:28:33 2016 +0000

Add test for scientific notation in integer operations

commit d94c08852d405b3a7ef6c84d24bf7915c890ce78
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Feb 14 01:25:57 2016 +0000

Disable optimiser evaluation for numeric string errors

commit 30ee954ed13d933e766c68605d683c8ebae3d8ee
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Feb 14 01:46:25 2016 +0000

fixup

commit a6403b79e054c95e2b7345d787f3092b261eed27
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Feb 13 22:00:27 2016 +0000

Do not convert error-causing numeric strings ahead-of-time

commit f9dc35401471ef3035954cb6f171826769297548
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Feb 13 19:15:38 2016 +0000

Disable compile-time evaluation for numeric string errors

commit e05b0cc8496ea082c6db27efd8b8277ef1f785b5
Author: Andrea Faulds <ajf@ajf.me>
Date: Fri Feb 5 11:42:26 2016 +0000

Make _zval_get_long_func_noisy function for inlining

commit 84d66321a57e579759109650c8bb7e3d5002854a
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 26 23:10:00 2016 +0000

Update tests

commit 5ac4a0cc4bff282e3a15eaa8ab44b67391881a6d
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 26 22:08:19 2016 +0000

Use is_numeric_string_ex for zval_get_long etc.

commit c21f08848533723331012a62a153de3577731d6a
Author: Andrea Faulds <ajf@ajf.me>
Date: Thu Jan 7 21:13:04 2016 +0000

Update tests

commit 63e214cf8160420bfc51c6a2b4ae32f09ad8e8af
Author: Andrea Faulds <ajf@ajf.me>
Date: Wed Jan 6 00:28:01 2016 +0000

Warn on non-/bad numeric strings in arithmetic
/PHP-7.3/ext/spl/
H A Dspl_array.cdiff 5eb1f92f Mon May 28 13:27:12 UTC 2018 Dmitry Stogov <dmitry@zend.com> Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.
diff 079f2f7e Wed Feb 24 17:27:56 UTC 2016 Nikita Popov <nikic@php.net> Forbid exchangeArray() during sorting

Previously this would leak.
diff 49493a2d Fri Jan 01 17:19:27 UTC 2016 Lior Kaplan <kaplanlior@gmail.com> Happy new year (Update copyright to 2016)
diff f5097063 Fri Sep 25 07:59:27 UTC 2015 Dmitry Stogov <dmitry@zend.com> Make necessary separation (it might be possible to fix this in a better way, but this will requre some refactoring)
diff 25f9e255 Wed Aug 26 00:27:05 UTC 2015 Dmitry Stogov <dmitry@zend.com> Fixed bug #70187 (Notice: unserialize(): Unexpected end of serialized data)
diff b7fa6774 Mon Jul 27 00:25:25 UTC 2015 Stanislav Malyshev <stas@php.net> Fix bug #70068 (Dangling pointer in the unserialization of ArrayObject items)
diff fc33f52d Thu Jan 15 15:27:30 UTC 2015 Xinchen Hui <laruence@php.net> bump year
diff 32344808 Wed Aug 27 13:31:48 UTC 2014 Anatol Belski <ab@php.net> first show to make 's' work with size_t
diff 27f38798 Fri Jul 11 12:32:20 UTC 2014 Dmitry Stogov <dmitry@zend.com> Fast parameter parsing API

This API is experemental. It may be changed or removed.
It should be used only for really often used functions.
(Keep the original parsing code and wrap usage with #ifndef FAST_ZPP)
diff 27f38798 Fri Jul 11 12:32:20 UTC 2014 Dmitry Stogov <dmitry@zend.com> Fast parameter parsing API

This API is experemental. It may be changed or removed.
It should be used only for really often used functions.
(Keep the original parsing code and wrap usage with #ifndef FAST_ZPP)
/PHP-7.3/ext/pcre/
H A Dphp_pcre.cdiff b1deb98c Wed Dec 26 16:11:27 UTC 2018 Nikita Popov <nikita.ppv@gmail.com> Fixed bug #77338

Set preg_options to 0 in php_pcre_get_compiled_regex(_ex). These
options are intended to be passed to pcre2_match. However, we do
not have any flags that actually need to be set during matching
(all relevant flags are set during compilation), and the preg_flags
value is used for PHP-specific flags instead.

This parameter should be removed entirely in master to avoid confusion.
diff aa92d420 Fri Jun 22 15:27:41 UTC 2018 Anatol Belski <ab@php.net> If there's no setlocale, char tables are not used
diff 5eb1f92f Mon May 28 13:27:12 UTC 2018 Dmitry Stogov <dmitry@zend.com> Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.
diff 856ad54f Wed Dec 27 10:25:21 UTC 2017 Dmitry Stogov <dmitry@zend.com> Use zend_hash_find() instead of zend_hash_find_ptr() to avoid double check
diff c029bd33 Tue Nov 21 19:27:17 UTC 2017 Anatol Belski <ab@php.net> Fix macro name
diff 26f8fc83 Wed Nov 15 23:29:27 UTC 2017 Nikita Popov <nikita.ppv@gmail.com> Enable and fix printf() format warnings

Add _unchecked() variants of zend_spprintf and zend_strpprintf for
cases where we specifically want to disable these checks, such as
use of %H.
diff f626a783 Tue Jun 27 21:43:55 UTC 2017 Dmitry Stogov <dmitry@zend.com> Avoid string duplication in preg_split()
diff 003727d8 Sat Nov 26 14:34:27 UTC 2016 Christoph M. Becker <cmbecker69@gmx.de> Fix #73612: preg_*() may leak memory

We have to make sure that collectible zvals end up in the GC root
buffer, to avoid memory leaks.
diff ebfd93f7 Sun Nov 20 07:44:27 UTC 2016 Xinchen Hui <laruence@gmail.com> Fixed bug #73483 (Segmentation fault on pcre_replace_callback)
diff 15f94e93 Wed Jul 27 17:05:43 UTC 2016 Christoph M. Becker <cmb@php.net> Merge branch 'PHP-7.0' into PHP-7.1
/PHP-7.3/ext/reflection/
H A Dphp_reflection.cdiff bea2ff88 Sat Oct 19 19:27:37 UTC 2019 Fabien Villepinte <fabien.villepinte@gmail.com> Fix bug #78697: inaccurate error message
diff da35fa2c Thu Mar 21 23:39:27 UTC 2019 Nikita Popov <nikita.ppv@gmail.com> Fixed bug #77772
diff c97b8bbf Mon Jul 02 16:56:27 UTC 2018 Nikita Popov <nikita.ppv@gmail.com> Fixed bug #75231

The behavior is now consistent with ReflectionMethod.
diff 1f6b842a Wed Jun 27 16:37:33 UTC 2018 Xinchen Hui <laruence@gmail.com> Fixed bug #76536 (PHP crashes with core dump when throwing exception in error handler). (Laruence)
diff bddb085a Wed Jun 27 21:38:37 UTC 2018 Nikita Popov <nikita.ppv@gmail.com> Store unmangled name in ReflectionProperty

Avoid redundant unmangles and string copies, where possible.
diff 78f2a1b8 Wed Jun 27 21:21:06 UTC 2018 Nikita Popov <nikita.ppv@gmail.com> Optimize ReflectionProperty constructor

Perform HT lookups using a zend_string. Don't copy the name for
the "name" property. We can always use the original name directly,
as properties case case-sensitive, so the original name should
always match the unmangled name of the fetched property info.
diff 5eb1f92f Mon May 28 13:27:12 UTC 2018 Dmitry Stogov <dmitry@zend.com> Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.
diff eafa92ba Thu May 03 16:27:04 UTC 2018 Dmitry Stogov <dmitry@zend.com> zend_fcall_info_cache.calling_scope is not used by zend_call_function() and doesn't have to be initialized.
It's used only as a result of zend_is_callable() in forward_static_call and spl_autoload.
diff 6ba10a03 Thu Jan 11 14:27:26 UTC 2018 Dmitry Stogov <dmitry@zend.com> Revert "Use ZEND_CLOSURE_OBJECT() macro to resolve closure op_array to closure object through address calculation, instead of op_array->prototype reuse." (this patch is incomplete or wrong)

This reverts commit 781e1573afdc7c336b3577ceabc9c65cafea17e8.
diff d9f5ea69 Wed Dec 27 12:15:03 UTC 2017 Dmitry Stogov <dmitry@zend.com> zend_fcall_info_cache.initialized is removed (zend_fcall_info_cache is initialized if zend_fcall_info_cache.function_handler is set).

Completed in 1412 milliseconds