#
b2b2b437 |
| 25-Dec-2017 |
Nikita Popov |
Add _IS_NUMBER as cast_object() target type convert_scalar_to_number() will now call cast_object() with an _IS_NUMBER argument, in which case the cast handler should return either an
Add _IS_NUMBER as cast_object() target type convert_scalar_to_number() will now call cast_object() with an _IS_NUMBER argument, in which case the cast handler should return either an integer or floating point number, whichever is more appropriate. Previously convert_scalar_to_number() unconditionally converted objects to integers instead. Fixes bug #53033. Fixes bug #54973. Fixes bug #73108.
show more ...
|
Revision tags: php-7.2.1RC1 |
|
#
6a9d2b21 |
| 07-Dec-2017 |
Dmitry Stogov |
Cleanup type conversion
|
Revision tags: php-7.1.13RC1, php-7.0.27RC1 |
|
#
74c84cd7 |
| 04-Dec-2017 |
Dmitry Stogov |
Use zend_string_equal*() API for zend_string equality check instead of direct memcmp() usage.
|
#
084c17fe |
| 29-Nov-2017 |
Dmitry Stogov |
Use zend_string_tolower() where it's possible (to avoid reallocations). Allow zend_string_tolower_ex() to create parsistent strings
|
#
5dc6392d |
| 28-Nov-2017 |
Nikita Popov |
Fixed bug #75575 These functions are never called with needle longer than haystack, but it makes sense to explicitly check for this, especially as we already perform a check for empt
Fixed bug #75575 These functions are never called with needle longer than haystack, but it makes sense to explicitly check for this, especially as we already perform a check for empty haystack anyway, which is naturally subsumed by a haystack_len < needle_len check.
show more ...
|
Revision tags: php-7.2.0, php-7.1.12, l |
|
#
26f8fc83 |
| 16-Nov-2017 |
Nikita Popov |
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.
|
#
ccc12b82 |
| 16-Nov-2017 |
Dmitry Stogov |
Avoid unnecessary reference-counting on strings.
|
#
ce18738a |
| 16-Nov-2017 |
Dmitry Stogov |
Removed "_" from API functions.
|
Revision tags: php-7.1.12RC1, php-7.2.0RC6, php-7.0.26RC1 |
|
#
aeca7618 |
| 26-Oct-2017 |
Dmitry Stogov |
Removed useless reallocations
|
#
886d4d9c |
| 26-Oct-2017 |
Dmitry Stogov |
Avoid reallocations when concatenate with empty string
|
Revision tags: php-7.1.11, php-5.6.32, php-7.2.0RC5 |
|
#
9cf87aa1 |
| 24-Oct-2017 |
Dmitry Stogov |
Avoid HashTable allocations for empty arrays (using zend_empty_array).
|
Revision tags: php-7.0.25 |
|
#
793ca716 |
| 22-Oct-2017 |
Anatol Belski |
Fix datatypes and compiler warnings Switch to size_t Not critical as an unsigned is already used, but fixes a couple of warnings in other areas. Normalize signature
Fix datatypes and compiler warnings Switch to size_t Not critical as an unsigned is already used, but fixes a couple of warnings in other areas. Normalize signature It's a function with the usual compare semantics, returning a platform specific at least produces unnecessary warnings elsewhere and is otherwise inappropriate. Fix return value Drop unused var Fix compiler warnings Fix compiler warning Fix var name in arginfo Fix cast
show more ...
|
Revision tags: php-7.1.11RC1, php-7.2.0RC4, php-7.0.25RC1 |
|
#
cb9d81ef |
| 05-Oct-2017 |
Dmitry Stogov |
Refactored recursion pretection
|
Revision tags: php-7.1.10, php-7.2.0RC3, php-7.0.24 |
|
#
b05ff14a |
| 24-Sep-2017 |
Xinchen Hui |
Fixed bug #75241 (Null pointer dereference in zend_mm_alloc_small()).
|
#
44e0b79a |
| 19-Sep-2017 |
Dmitry Stogov |
Refactored array creation API. array_init() and array_init_size() are converted into macros calling zend_new_array(). They are not functions anymore and don't return any values.
|
Revision tags: php-7.2.0RC2, php-7.1.10RC1, php-7.0.24RC1, php-7.1.9, php-7.2.0RC1, php-7.0.23, php-7.1.9RC1, php-7.2.0beta3, php-7.0.23RC1, php-7.1.8, php-7.2.0beta2, php-7.0.22 |
|
#
0d1eeeb6 |
| 28-Jul-2017 |
Anatol Belski |
move zend_ato*() to size_t and remove casts
|
#
34e5d3a8 |
| 23-Jul-2017 |
Pedro Magalhães |
Simpler fix for #74974
|
#
775b4b54 |
| 23-Jul-2017 |
Sara Golemon |
Use compatability zend_isnan() instead of POSIX isnan() s/isnan/zend_isnan/g
|
#
c562d443 |
| 23-Jul-2017 |
Sara Golemon |
Fix compile-time optimization of NAN comparisons
|
Revision tags: php-7.1.8RC1, php-7.2.0beta1, php-7.0.22RC1, php-5.6.31, php-7.0.21, php-7.1.7 |
|
#
bc5811f3 |
| 04-Jul-2017 |
Anatol Belski |
further sync for vim mode lines
|
Revision tags: php-7.2.0alpha3, php-7.1.7RC1, php-7.0.21RC1, php-7.2.0alpha2, php-7.1.6, php-7.2.0alpha1, php-7.0.20, php-7.1.6RC1, php-7.0.20RC1 |
|
#
a08723d3 |
| 18-May-2017 |
Dmitry Stogov |
Use interned empty and "one char" strings.
|
Revision tags: php-7.1.5, php-7.0.19, php-7.0.19RC1, php-7.1.5RC1, php-7.1.4, php-7.0.18, php-7.1.4RC1, php-7.0.18RC1, php-7.1.3, php-7.0.17 |
|
#
c6982995 |
| 04-Mar-2017 |
Anatol Belski |
Interned strings unification for TS/NTS Hereby, interned strings are supported in thread safe PHP. The patch implements two types of interned strings - interning per process, st
Interned strings unification for TS/NTS Hereby, interned strings are supported in thread safe PHP. The patch implements two types of interned strings - interning per process, strings are not freed till process end - interning per request, strings are freed at request end There is no runtime interning. With Opcache, all the permanent iterned strings are copied into SHM on startup, additional copying into SHM might happen on demand.
show more ...
|
Revision tags: php-7.1.3RC1, php-7.0.17RC1, php-7.1.2, php-7.0.16 |
|
#
26fdebc6 |
| 12-Feb-2017 |
Xinchen Hui |
Fixed bug #74084 (Out of bound read - zend_mm_alloc_small)
|
Revision tags: php-7.0.16RC1, php-7.1.2RC1, php-5.6.30, php-7.0.15, php-5.6.30RC1, php-7.1.1RC1, php-7.0.15RC1 |
|
#
dac6c639 |
| 04-Jan-2017 |
Sammy Kaye Powers |
Update copyright headers to 2017
|
#
478f119a |
| 04-Jan-2017 |
Sammy Kaye Powers |
Update copyright headers to 2017
|