summaryrefslogtreecommitdiff
path: root/Zend
Commit message (Collapse)AuthorAgeFilesLines
* Removed "_" from API functions.Dmitry Stogov2017-11-166-54/+58
|
* Remove duplicate check for already loaded extensionzimuyang2017-11-161-8/+0
|
* Merge branch 'PHP-7.2'Nikita Popov2017-11-154-15/+104
|\
| * Merge branch 'PHP-7.1' into PHP-7.2Nikita Popov2017-11-154-15/+104
| |\
| | * Fixed #74862: Unable to clone instance when private __clone definedDanielCiochiu2017-11-154-15/+104
| | | | | | | | | | | | | | | Even though __clone was implemented as private and called only from parent class, child extending class instance could not be cloned.
* | | Merge branch 'PHP-7.2'Anatol Belski2017-11-081-2/+19
|\ \ \ | |/ / | | | | | | | | | | | | | | | * PHP-7.2: Fixed #75384 PHP seems incompatible with OneDrive files on demand bump versions Fixed ext/date tests due to changes in Olson database
| * | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2017-11-081-2/+19
| |\ \ | | |/ | | | | | | | | | | | | | | | * PHP-7.1: Fixed #75384 PHP seems incompatible with OneDrive files on demand bump versions Fixed ext/date tests due to changes in Olson database
| | * Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2017-11-081-2/+19
| | |\ | | | | | | | | | | | | | | | | | | | | * PHP-7.0: Fixed #75384 PHP seems incompatible with OneDrive files on demand Fixed ext/date tests due to changes in Olson database
| | | * Fixed #75384 PHP seems incompatible with OneDrive files on demandAnatol Belski2017-11-081-2/+19
| | | |
* | | | Use Zend MM heap for non-persistent ini entry values.Dmitry Stogov2017-11-082-2/+4
| | | |
* | | | Fixed inaccurate conditionDmitry Stogov2017-11-071-1/+1
| | | |
* | | | Don't touch inline if C++ is compiledAnatol Belski2017-11-061-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Starting with C++11 marco keywords are forbidden by the standard. Things like inline namespaces would be broken by this part. As any of supported compilers is at least C++11 complaint, tricks with inline are simply disabled if C++ is compiled. Though, zend_always_inline is still usable, anything else about inlining for C++ is up to the compiler.
* | | | Allow trailing commas in function and method callsSammy Kaye Powers2017-11-066-3/+132
| | | |
* | | | Unused varXinchen Hui2017-11-061-2/+0
| | | |
* | | | Removed workaraouns for inconsistent zvals (REFCOUNTED+INTERNED). They ↵Dmitry Stogov2017-11-032-16/+1
| | | | | | | | | | | | | | | | should be fixed now.
* | | | Fixed memory leak (Zend/tests/list_003.phpt)Dmitry Stogov2017-11-031-0/+4
| | | |
* | | | Don't intern strings in-place if their refcoung greater than 1Dmitry Stogov2017-11-031-0/+16
| | | |
* | | | erealloc() optimizationDmitry Stogov2017-11-031-83/+140
| | | |
* | | | Switch back from "request" interned strings storage to "permanent" in MSHUTDOWNDmitry Stogov2017-11-022-9/+19
| | | |
* | | | Fix #74922 - Try to resolve constants when importing trait propertiesPedro Magalhães2017-11-026-8/+97
| | | |
* | | | Don't dup after fetch_dimension_constNikita Popov2017-11-021-9/+1
| | | | | | | | | | | | | | | | | | | | | | | | Any duplication that may be necessary must have happened earlier already. Also I'm not sure what the IS_REF branch was there for originally, but it does not appear to be relevant anymore.
* | | | RC manipulation cleanup 2Xinchen Hui2017-11-024-90/+81
| | | |
* | | | Revert "Use zend_get_executed_filename_ex"Xinchen Hui2017-11-022-4/+7
| | | | | | | | | | | | | | | | This reverts commit 2a37625c20032d54af55a88d54d1a3a1ecc068d1.
* | | | Merge branch 'master' of git.php.net:/php-srcXinchen Hui2017-11-025-5/+47
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'master' of git.php.net:/php-src: Made "result", "statement" and "last_message" to always use Zend MM heap. (even for persistent connections these entities don't relive request boundary) Fixed memory leaks Use interned strings for "magic" property of internal classes. (not copyied into SHM) Reverted incomplete fix and too strict asserts. Mark persistent connection related data as "thread-local". Persistent resources are "thread-local". Register persistent resources through new functions zend_register_persistent_resource()/zend_register_persistent_resource_ex(). PCRE cache is "thread-local" Allow reference-counting on "thread-local" persistent zvals
| * | | | Fixed memory leaksDmitry Stogov2017-11-021-4/+1
| | | | |
| * | | | Reverted incomplete fix and too strict asserts.Dmitry Stogov2017-11-012-1/+4
| | | | |
| * | | | Persistent resources are "thread-local".Dmitry Stogov2017-11-012-0/+33
| | | | | | | | | | | | | | | | | | | | Register persistent resources through new functions zend_register_persistent_resource()/zend_register_persistent_resource_ex().
| * | | | Allow reference-counting on "thread-local" persistent zvalsDmitry Stogov2017-11-011-4/+13
| | | | |
* | | | | Merge branch 'master' of git.php.net:/php-srcXinchen Hui2017-11-012-1/+14
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * 'master' of git.php.net:/php-src: Fixed string interning during constants substitution
| * | | | Fixed string interning during constants substitutionDmitry Stogov2017-11-012-1/+14
| | | | |
| * | | | Revert "Fixed string interning during constants substitution"Dmitry Stogov2017-11-012-28/+10
| | | | | | | | | | | | | | | | | | | | This reverts commit e0924c52fc7c69b483b5416c609ce7f008584845.
| * | | | Fixed string interning during constants substitutionDmitry Stogov2017-11-012-10/+28
| | | | |
* | | | | Use zend_get_executed_filename_exXinchen Hui2017-11-012-7/+4
|/ / / /
* | | | RC manipulation cleanupXinchen Hui2017-11-015-341/+126
| | | |
* | | | Fixed few inconsistent ZVALs in AST produced by compiler (REFCOUNTED and ↵Dmitry Stogov2017-11-011-37/+35
| | | | | | | | | | | | | | | | INTERNED strings)
* | | | Use known strings for reflection propertiesNikita Popov2017-10-311-0/+1
| | | |
* | | | Change checks that should be always true into ZEND_ASSERT() (some edge cases ↵Dmitry Stogov2017-10-311-1/+3
| | | | | | | | | | | | | | | | may be trapped here).
* | | | Workaroud for inconsistent ZVALs in AST produced by compiler (strings may be ↵Dmitry Stogov2017-10-311-1/+9
| | | | | | | | | | | | | | | | REFCOUNTED and INTERNED at the same time).
* | | | Intern file names and class constants in first place (they may be interned ↵Dmitry Stogov2017-10-311-8/+16
| | | | | | | | | | | | | | | | later during constant substitution)
* | | | Added zend_hash_add_new_mem/zend_hash_str_add_new_mem. Use them to add new ↵Dmitry Stogov2017-10-311-0/+26
| | | | | | | | | | | | | | | | elements into PCRE cache (we checked the existance before).
* | | | Improved zend_hash_str_add/update functionsDmitry Stogov2017-10-311-20/+86
| | | |
* | | | Use internet strings for EG(ini_entries)Dmitry Stogov2017-10-312-10/+6
| | | |
* | | | Fixed use-after free introduced in fcc08ce19f39f7ab1381ecc8a010037d41819329Dmitry Stogov2017-10-312-1/+11
| | | |
* | | | Fix gc_029_zts.phpt testNikita Popov2017-10-302-39/+0
| | | | | | | | | | | | | | | | | | | | ZTS and NTS now behave the same here, so reduce this back to a single test.
* | | | Remove some unnecessary duplicationsNikita Popov2017-10-302-12/+7
| | | |
* | | | Remove zend_get_parameters(_ex) APIsNikita Popov2017-10-302-63/+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-3010-160/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | wsDmitry Stogov2017-10-301-1/+1
| | | |
* | | | Merge branch 'master' into rc_debugDmitry Stogov2017-10-301-1/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (26 commits) Better fix for bug #75451 (Assertion fails while foreach on empty xpath query) Catch with the latest AppVeyor unzip errors Fixed type inference Fix bug #75453 Incorrect reflection on ibase_connect and ibase_pconnect Fix compiler warnings We don't use a specific model for a MAKERNOTE so remove these checks that doesn't do anything anyway Remove these old comments, as for the TODO, there is already a FR for this Re-enable AppVeyor cache make sure run-tests reports exit status upon prerequisite error Remove implicit constants from test case Fix invalid read in zend_use_undefined_constant() Fix invalid read in mb_ord() Remove --with-libmbfl configure option Fixed bug #75451 (Assertion fails while foreach on empty xpath query) Add tests for UConverter::getStandards() convert spaces to tabs in ext/ftp/tests/server.inc Add tests for ftp_rename Fix bug #75434 Wrong reflection for mysqli_fetch_all function Don't optimize input arrays with suffix holes Fix bug #75307 Wrong reflection for openssl_open function ...
| * | | | Fix invalid read in zend_use_undefined_constant()Nikita Popov2017-10-281-1/+2
| | | | |