summaryrefslogtreecommitdiff
path: root/Zend/zend_API.c
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Fix copy-and-paste bugsLevi Morrison2017-12-131-2/+2
| | |
* | | Cleanup type conversionDmitry Stogov2017-12-071-1/+1
| | |
* | | Only functions of temporary modules have to be unregistered hereDmitry Stogov2017-11-301-1/+1
| | |
* | | Use zend_string_tolower() where it's possible (to avoid reallocations).Dmitry Stogov2017-11-301-4/+3
| | | | | | | | | | | | Allow zend_string_tolower_ex() to create parsistent strings
* | | Make sure string property/class const values are internedNikita Popov2017-11-251-0/+18
| | | | | | | | | | | | | | | This was done for user-definde class constant values, however this is also important for properties and internal classes.
* | | RC manipulation cleanup 2Xinchen Hui2017-11-021-14/+5
| | |
* | | Remove zend_get_parameters(_ex) APIsNikita Popov2017-10-301-61/+0
| | | | | | | | | | | | | | | | | | | | | zend_get_parameters_ex() has been marked as deprecated for a long time already. What zend_get_paramers() does is even more questionable under PHP7. Both functions are obsoleted by the ZPP mechanism, so I'm dropping them.
* | | Prevent reference-counting on persistent zvals (internal constants, default ↵Dmitry Stogov2017-10-301-21/+28
| | | | | | | | | | | | | | | | | | | | | properties and constants of internal classes). New macro ZVAL_COPY_OR_DUP() is used perform duplication, if necessary. This should eliminate related race-coditions in ZTS build and prevent reference-counting bugs after unclean shutdown.
* | | Extend zend_register_class_alias_ex() with additional argument to allow ↵Dmitry Stogov2017-10-271-3/+3
| | | | | | | | | | | | creating persistent or per-request aliases
* | | Extend zend_string API to avoid reallocation in zend_string_init_interned()Dmitry Stogov2017-10-191-4/+7
| | |
* | | Always use IS_CONSTANT_AST (IS_CONSTANT is removed).Dmitry Stogov2017-10-101-5/+5
| | |
* | | Merge branch 'PHP-7.2'Joe Watkins2017-09-271-3/+6
|\ \ \ | |/ / | | | | | | | | | * PHP-7.2: Fixed #75220 - Segfault when calling is_callable on parent
| * | Merge branch 'PHP-7.1' into PHP-7.2Joe Watkins2017-09-271-3/+6
| |\ \ | | |/ | | | | | | | | | * PHP-7.1: Fixed #75220 - Segfault when calling is_callable on parent
| | * Merge branch 'PHP-7.0' into PHP-7.1Joe Watkins2017-09-271-3/+6
| | |\ | | | | | | | | | | | | | | | | * PHP-7.0: Fixed #75220 - Segfault when calling is_callable on parent
| | | * Fixed #75220 - Segfault when calling is_callable on parentNester2017-09-271-3/+6
| | | |
* | | | Refactored array creation API. array_init() and array_init_size() are ↵Dmitry Stogov2017-09-201-9/+0
|/ / / | | | | | | | | | converted into macros calling zend_new_array(). They are not functions anymore and don't return any values.
* | | Fixed bug #74878 (Data race in ZTS builds)Dmitry Stogov2017-09-181-0/+4
| | |
* | | Revert "Fixed bug #74878"Dmitry Stogov2017-07-101-4/+0
| | | | | | | | | | | | This reverts commit 9069734b57a556a23f977915ee2819477c6d6720.
* | | Fixed bug #74878Nikita Popov2017-07-071-0/+4
| | |
* | | further sync for vim mode linesAnatol Belski2017-07-041-0/+2
| | |
* | | Merge branch 'PHP-7.1'Julien Pauli2017-06-291-1/+3
|\ \ \ | |/ / | | | | | | | | | | | | | | | * PHP-7.1: Updated NEWS Updated NEWS Fix bug #74832, crash in extension loading
| * | Merge branch 'PHP-7.0' into PHP-7.1Julien Pauli2017-06-291-1/+3
| |\ \ | | |/ | | | | | | | | | | | | * PHP-7.0: Updated NEWS Fix bug #74832, crash in extension loading
| | * Fix bug #74832, crash in extension loadingJulien Pauli2017-06-291-1/+3
| | |
* | | Removed deprecated checks.Dmitry Stogov2017-06-271-10/+0
| | |
* | | Extract zend_get_callable_name() APINikita Popov2017-06-251-58/+86
| | | | | | | | | | | | | | | | | | | | | | | | Instead of interleaving this inside zend_is_callable(), implement this in a separate function instead. Also add _deref() hash APIs. I've wanted these for a while, and this is another place where they're useful, so finally do it...
* | | Constify str in add_assoc_string_ex and add_assoc_stringl_exJakub Zelenka2017-06-071-2/+2
| | |
* | | Merge branch 'PHP-7.1'Xinchen Hui2017-05-271-2/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: Correct the location
| * | Merge branch 'PHP-7.0' into PHP-7.1Xinchen Hui2017-05-271-2/+1
| |\ \ | | |/ | | | | | | | | | * PHP-7.0: Correct the location
| | * Correct the locationXinchen Hui2017-05-271-2/+1
| | |
* | | Merge branch 'PHP-7.1'Xinchen Hui2017-05-271-2/+3
|\ \ \ | |/ / | | | | | | | | | | | | * PHP-7.1: Added NEWs Fixed bug #74657 (Undefined constants in array properties result in broken properties)
| * | Merge branch 'PHP-7.0' into PHP-7.1Xinchen Hui2017-05-271-2/+3
| |\ \ | | |/ | | | | | | | | | * PHP-7.0: Fixed bug #74657 (Undefined constants in array properties result in broken properties)
| | * Fixed bug #74657 (Undefined constants in array properties result in broken ↵Xinchen Hui2017-05-271-2/+3
| | | | | | | | | | | | properties)
| | * Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| | |
* | | Added ZEND_GET_CLASS, ZEMD_GET_CALLED_CLASS, ZEND_GET_TYPE instructions, to ↵Dmitry Stogov2017-05-251-0/+30
| | | | | | | | | | | | implement corresponding builtin functions.
* | | Remove the ZEND_ACC_CLONE flagNikita Popov2017-04-221-1/+0
| | | | | | | | | | | | This one is completely unused
* | | Merge branch 'PHP-7.1'Nikita Popov2017-03-151-1/+1
|\ \ \ | |/ /
| * | Fix bug #69676Nikita Popov2017-03-151-1/+1
| | |
| * | Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| | |
| * | finish 7.1 portAnatol Belski2016-10-141-3/+3
| | | | | | | | | | | | (cherry picked from commit f1fff032fcdb09a56c2fd763d1ee160106381586)
| * | Fix bug #73147: Use After Free in PHP7 unserialize()Stanislav Malyshev2016-10-141-0/+18
| | | | | | | | | | | | | | | (cherry picked from commit 0e6fe3a4c96be2d3e88389a5776f878021b4c59f) (cherry picked from commit f42cbd749cde1f91274c1d03df9024baba141a8f)
* | | Interned strings unification for TS/NTSAnatol Belski2017-03-041-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Introduced "zend_type" - an abstraction for type-hinting representation.Dmitry Stogov2017-01-131-7/+40
| | |
* | | Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
| | |
* | | Support ZEND_PARSE_PARAMS_THROW in new ZPP APISara Golemon2016-12-291-8/+8
| | |
* | | further normalizations, uint vs uint32_tAnatol Belski2016-11-261-5/+5
| | | | | | | | | | | | | | | | | | fix merge mistake yet one more replacement run
* | | Remove Netware supportKalle Sommer Nielsen2016-11-121-2/+0
| | | | | | | | | | | | If this does not break the Unix system somehow, I'll be amazed. This should get most of it out, apologies for any errors this may cause on non-Windows ends which I cannot test atm.
* | | finish 7.1 portAnatol Belski2016-10-121-3/+3
| | |
* | | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2016-10-121-0/+18
|\ \ \ | |/ / |/| / | |/ | | * PHP-7.0: Fix bug #73147: Use After Free in PHP7 unserialize()
| * Fix bug #73147: Use After Free in PHP7 unserialize()Stanislav Malyshev2016-10-121-0/+18
| | | | | | | | (cherry picked from commit 0e6fe3a4c96be2d3e88389a5776f878021b4c59f)
* | Revert ReflectionType::__toString() behavior + deprecateNikita Popov2016-09-281-1/+1
| |