summaryrefslogtreecommitdiff
path: root/Zend/zend_variables.c
Commit message (Collapse)AuthorAgeFilesLines
* year++Xinchen Hui2018-01-021-1/+1
|
* Merge branch 'PHP-7.0' into PHP-7.1Dmitry Stogov2017-09-131-2/+4
|\ | | | | | | | | * PHP-7.0: Properly update string type flags
| * Properly update string type flagsDmitry Stogov2017-09-131-2/+4
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Dmitry Stogov2017-09-131-7/+0
|\ \ | |/ | | | | | | * PHP-7.0: Revert "Properly update string type flags"
| * Revert "Properly update string type flags"Dmitry Stogov2017-09-131-7/+0
| | | | | | | | This reverts commit 99b1a62d559f993ed02c50e6a4298c4bd2dcd33c.
* | Merge branch 'PHP-7.0' into PHP-7.1Dmitry Stogov2017-09-121-0/+7
|\ \ | |/ | | | | | | * PHP-7.0: Properly update string type flags
| * Properly update string type flagsDmitry Stogov2017-09-121-0/+7
| |
| * Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| |
| * Make zval_ptr_dtor / _zval_dtor_func more robustNikita Popov2016-09-171-11/+10
| | | | | | | | | | | | | | | | | | | | In particular, allow arrays with refcount>1, like we already allow for all other types. _zval_dtor_func is now the same as _zval_dtor_func_for_ptr with an extra refcount decrement check at the start. At this point we might as well drop it... Cherry-pick of ded69ee6e6039d56ee7b65b1a578ed1e3d1859da from PHP-7.1.
* | Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| |
* | Reimplemented Bob's commit bac6fdb0c52c924e726c5a78de8858bf27b6586b without ↵Dmitry Stogov2016-05-061-52/+0
| | | | | | | | insignificant renaming and white-space changes
* | Revert "Refactor zval cleanup into single function"Dmitry Stogov2016-05-061-24/+76
| | | | | | | | This reverts commit bac6fdb0c52c924e726c5a78de8858bf27b6586b.
* | Refactor zval cleanup into single functionBob Weinand2016-05-051-76/+24
| | | | | | | | Also use zval_ptr_dtor_nogc() everywhere in Zend in favor of zval_dtor()
* | Reset IMMUTABLE flag when copy_ctor'ing ASTNikita Popov2016-04-291-6/+2
| |
* | Make zval_ptr_dtor / _zval_dtor_func more robustNikita Popov2016-04-221-11/+10
| | | | | | | | | | | | | | In particular, allow arrays with refcount>1, like we already allow for all other types. _zval_dtor_func is now the same as _zval_dtor_func_for_ptr with an extra refcount decrement check at the start. At this point we might as well drop it...
* | Merge branch 'PHP-7.0'Xinchen Hui2016-01-021-1/+1
|\ \ | |/
| * bump year which is missed in rev 49493a2Xinchen Hui2016-01-021-1/+1
| |
* | Introduce BIND_LEXICALNikita Popov2015-12-291-53/+0
|/ | | | | | | | | | | This opcodes inserts a local CV into the closure static variable table. This replaces the previous mechanism of having static variables marked as LEXICAL, which perform a symtable lookup during copying. This means a) functions which contain closures no longer have to rebuild their symtable (better performance) and b) we can now track used variables in SSA.
* Add myself into list of authors of the most refactored files.Dmitry Stogov2015-08-311-0/+1
|
* Fixed bug #69521 (Segfault in gc_collect_cycles()).Xinchen Hui2015-07-021-8/+0
|
* Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-301-2/+2
| | | | semantick changes).
* Added GC checks and improvementsDmitry Stogov2015-04-171-2/+2
|
* Use zend_error_noreturn() for fatal errorsDmitry Stogov2015-04-011-2/+2
|
* Use fastcall calling convention for most critical ZE subsystems.Dmitry Stogov2015-03-131-9/+3
|
* Removed deprecated paths. Changed "switch" into series of "if".Dmitry Stogov2015-03-031-23/+13
|
* Make zend_array_destroy() to free the corresponding zend_arrayDmitry Stogov2015-02-241-2/+0
|
* Merged zend_array and HashTable into the single data structure.Dmitry Stogov2015-02-131-28/+16
| | | | | Now each HashTable is also zend_array, so it's refcounted and may be a subject for Copy on Write zend_array_dup() was changed to allocate and return HashTable, instead of taking preallocated HashTable as argument.
* Fix resource leak when casting to stringNikita Popov2015-01-241-0/+2
|
* bump yearXinchen Hui2015-01-151-1/+1
|
* trailing whitespace removalStanislav Malyshev2015-01-101-15/+15
|
* Fix uses of zval_add_ref and add comment on usageNikita Popov2015-01-051-2/+4
| | | | | | | | zval_add_ref should be used as a copy ctor, after the value was already copied. In particular when used with hash insertions, it should be applied to the return value of the insert function.
* Add test script and use efree_sizeXinchen Hui2015-01-051-1/+1
|
* Revert "Revert "Fix memory leak when dereferencing reference with refcount 1""Xinchen Hui2015-01-051-0/+2
| | | | This reverts commit 7aab9659ee9c8bc15490d16b4064d64a3846147c.
* Revert "Fix memory leak when dereferencing reference with refcount 1"Xinchen Hui2015-01-051-2/+0
| | | | | | This reverts commit f4cb5cc09d44e6940fecebe52b8013b288ed67c4. breaks tests Zend/tests/bug27268.phpt and Zend/tests/bug68262.phpt
* Fix memory leak when dereferencing reference with refcount 1Bob Weinand2015-01-051-0/+2
|
* first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-29/+19
|
* Improved zend_hash_clean() and added new optimized zend_symtable_clean()Dmitry Stogov2014-11-251-1/+1
|
* Use inline version of zval_ptr_dtor()Dmitry Stogov2014-11-251-3/+8
|
* Added new optimized zend_array_destroy() functionDmitry Stogov2014-11-251-2/+2
|
* fix datatype mismatch warningsAnatol Belski2014-10-241-1/+1
|
* Use ADDREF instead of DUP, it must be enough.Dmitry Stogov2014-10-201-1/+1
|
* Replaced Zend Memory ManagerDmitry Stogov2014-08-261-6/+6
|
* Merge remote-tracking branch 'php-src/master' into astNikita Popov2014-08-251-5/+5
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: Zend/zend_compile.c Zend/zend_compile.h Zend/zend_globals.h Zend/zend_language_parser.y Zend/zend_language_scanner.c Zend/zend_language_scanner.l Zend/zend_types.h
| * master renames phase 1Anatol Belski2014-08-251-7/+7
| |
| * first shot on merging the core fro the int64 branchAnatol Belski2014-08-161-2/+2
| |
| * Fixed segfaultXinchen Hui2014-07-231-2/+2
| |
* | Fix leaksNikita Popov2014-07-261-2/+2
| | | | | | | | Must find a good way to handle constant expressions...
* | Fixed GC bugDmitry Stogov2014-07-221-2/+2
|/
* Revert "stash" (pushed by accident)Xinchen Hui2014-07-181-6/+6
| | | | This reverts commit a18bf5fc9303e2739ee7026bdb3bbf272bf4baa8.
* stashXinchen Hui2014-07-161-6/+6
|