#
50765075 |
| 01-Apr-2020 |
Máté Kocsis |
Improve some ValueError messages Closes GH-5340 |
#
36935e42 |
| 30-Mar-2020 |
Máté Kocsis |
Improve undefined variable error messages Closes GH-5312 |
Revision tags: php-7.4.4RC1, php-7.3.16RC1 |
|
#
bb6f3740 |
| 24-Feb-2020 |
Máté Kocsis |
Improve argument error messages in ext/standard Closes GH-5198 |
#
33ef3d64 |
| 04-Mar-2020 |
Nikita Popov |
Use separate typedef for bucket comparison function Avoid performing the same casting dance inside each sort compare function. |
Revision tags: php-7.4.3, php-7.2.28, php-7.3.15RC1, php-7.4.3RC1, php-7.3.15, php-7.2.27 |
|
#
0719035f |
| 22-Jan-2020 |
George Peter Banyard |
Add ValueError for invalid mode in count() Closes GH-5106 |
Revision tags: php-7.4.2 |
|
#
fcdb610a |
| 21-Jan-2020 |
Nikita Popov |
Fix double free in array_reduce return_value needs to be explicitly nulled out in the failure case. |
Revision tags: php-7.3.14 |
|
#
0fbdc5a3 |
| 20-Jan-2020 |
Nikita Popov |
Remove unnecessary result variable Instead directly use return_value. Hopefully this also works around the "may be uninitialized" warning... |
#
68112224 |
| 20-Jan-2020 |
Nikita Popov |
Eliminate uses of ZVAL_ZVAL and friends Instead add RETURN_COPY(_VALUE) macros will the expected behavior. RETURN_ZVAL doesn't make any sense since PHP 7, but has stuck around,
Eliminate uses of ZVAL_ZVAL and friends Instead add RETURN_COPY(_VALUE) macros will the expected behavior. RETURN_ZVAL doesn't make any sense since PHP 7, but has stuck around, probably because the alternative was to write directly to the return_value variable.
show more ...
|
#
d1764ca3 |
| 15-Jan-2020 |
Máté Kocsis |
Make error messages more consistent by fixing capitalization Closes GH-5066 As a first step, let's capitalize their initial letter when it is applicable. |
Revision tags: php-7.3.14RC1, php-7.4.2RC1 |
|
#
aadd3aae |
| 03-Jan-2020 |
Máté Kocsis |
Use RETURN_THROWS() in various places |
#
01a50778 |
| 02-Jan-2020 |
Máté Kocsis |
Use RETURN_THROWS() after zend_throw_exception() in most of the extensions |
#
349a2864 |
| 01-Jan-2020 |
Máté Kocsis |
Use RETURN_THROWS() after zend_throw_error() |
#
9099dbd9 |
| 01-Jan-2020 |
Máté Kocsis |
Use RETURN_THROWS() after zend_type_error() |
#
12ce73a5 |
| 31-Dec-2019 |
Máté Kocsis |
Use RETURN_THROWS() after zend_value_error() |
#
31cf9a7e |
| 29-Dec-2019 |
Máté Kocsis |
Use RETURN_THROWS() when an exception is thrown Closes GH-5036 |
Revision tags: php-7.4.1, php-7.2.26, php-7.3.13, php-7.4.1RC1 |
|
#
366713d2 |
| 07-Dec-2019 |
Tyson Andre |
Speed up array_intersect/array_diff/array_filter Use zend_hash_update instead of zend_hash_add. These are taking a subset of keys from an array with unique keys, so the result s
Speed up array_intersect/array_diff/array_filter Use zend_hash_update instead of zend_hash_add. These are taking a subset of keys from an array with unique keys, so the result should also have unique keys. (this is already done for array_map()) Also, speed up array_intersect and array_diff slightly by using ZEND_HASH_FOREACH macros. This way, it doesn't need to load the same buckets and array counts from memory every time (compiler previously couldn't infer they won't change) ```php <?php // $n=10000 now takes 0.095 seconds instead of 0.102 function test_bench(int $n) { $values = range(0,1000); $other = range(0,1000); unset($other[500]); unset($values[400]); $total = 0; for ($i = 0; $i < $n; $i++) { $total += count(array_intersect_key($values, $other)); } return $total; } ```
show more ...
|
Revision tags: php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25 |
|
#
f03d311f |
| 19-Nov-2019 |
George Peter Banyard |
Capitalize first character of error message. |
Revision tags: php-7.3.12 |
|
#
5fbd49f9 |
| 18-Nov-2019 |
George Peter Banyard |
Convert Errors to ValueErrors Closes GH-4930 |
Revision tags: php-7.4.0RC6 |
|
#
0027ad48 |
| 07-Nov-2019 |
Nikita Popov |
Merge branch 'PHP-7.4' * PHP-7.4: Fixed bug #78759
|
#
aed4f6e8 |
| 07-Nov-2019 |
Nikita Popov |
Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Fixed bug #78759
|
#
8d2a9d88 |
| 07-Nov-2019 |
Nikita Popov |
Merge branch 'PHP-7.2' into PHP-7.3 * PHP-7.2: Fixed bug #78759
|
#
5fa6dcd9 |
| 07-Nov-2019 |
Nikita Popov |
Fixed bug #78759 Handle INDIRECT values in array. |
Revision tags: php-7.3.12RC1, php-7.2.25RC1 |
|
#
14bdb0cf |
| 04-Nov-2019 |
Máté Kocsis |
Fix consistency issues with array accesses warnings/exceptions * Change a number of "resource used as offset" notices to warnings, which were previously missed. * Throw the "res
Fix consistency issues with array accesses warnings/exceptions * Change a number of "resource used as offset" notices to warnings, which were previously missed. * Throw the "resource used as offset" warning for isset() as well. * Make array_key_exists() behavior with regard to different key types consistent with isset() and normal array accesses. All key types now use the usual coercions and array/object keys throw TypeError. Closes GH-4887.
show more ...
|
#
c46b2ed6 |
| 04-Nov-2019 |
Nikita Popov |
Remove support for array_key_exists() with objects |
#
96f361dc |
| 29-Oct-2019 |
Tyson Andre |
Update documentation/comment for GH-4860 Fix folding for the new helper method. Clarify comment in UPGRADING: The performance on associative arrays would also improve, as lo
Update documentation/comment for GH-4860 Fix folding for the new helper method. Clarify comment in UPGRADING: The performance on associative arrays would also improve, as long as no offsets were unset (no gaps). Packed arrays can have gaps. Closes GH-4873. [ci skip]
show more ...
|