summaryrefslogtreecommitdiff
path: root/Zend/zend_variables.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove local variablesPeter Kokot2019-02-031-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly used by Vim and Emacs editors yet with recent changes the once working definitions don't work anymore in Vim without custom plugins or additional configuration. Neither are these settings synced across the PHP code base. A simpler and better approach is EditorConfig and fixing code using some code style fixing tools in the future instead. This patch also removes the so called modelines for Vim. Modelines allow Vim editor specifically to set some editor configuration such as syntax highlighting, indentation style and tab width to be set in the first line or the last 5 lines per file basis. Since the php test files have syntax highlighting already set in most editors properly and EditorConfig takes care of the indentation settings, this patch removes these as well for the Vim 6.0 and newer versions. With the removal of local variables for certain editors such as Emacs and Vim, the footer is also probably not needed anymore when creating extensions using ext_skel.php script. Additionally, Vim modelines for setting php syntax and some editor settings has been removed from some *.phpt files. All these are mostly not relevant for phpt files neither work properly in the middle of the file.
* Adios, yearly copyright rangesZeev Suraski2019-01-301-1/+1
|
* Update email addresses. We're still @Zend, but future proofing it...Zeev Suraski2018-11-011-3/+3
|
* Remove unused ZEND_FILE_LINE in i_zval_ptr_dtorNikita Popov2018-09-161-1/+1
|
* Remove unused Git attributes identPeter Kokot2018-07-251-2/+0
| | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
* API cleanup.Dmitry Stogov2018-07-231-31/+15
| | | | | Removed useless filename and lineno arguments, used in DEBUG build. The patch doesn't break source compatibility of public API (only binary compatibility).
* Forgotten one replacementXinchen Hui2018-07-061-1/+1
|
* rename ref_dtor_func to rc_dtor_funcXinchen Hui2018-07-061-5/+5
|
* Rename zval_dtor_func and ref_dotr_funcXinchen Hui2018-07-061-4/+5
|
* Revert "Rename _zval_dtor_func to _ref_dtor_func"Xinchen Hui2018-07-061-5/+4
| | | | This reverts commit a362ae6b12419369c5cbdbb4e924915f9b196ef6.
* Rename _zval_dtor_func to _ref_dtor_funcXinchen Hui2018-07-061-4/+5
|
* concat_function() micro optimizationDmitry Stogov2018-07-041-0/+10
|
* API cleanup. Removed unused functions (kept compatibility macros).Dmitry Stogov2018-07-041-13/+4
|
* Get rid of IS_TYPE_COPYABLE.Dmitry Stogov2018-01-191-12/+8
|
* year++Xinchen Hui2018-01-021-1/+1
|
* Encapsulate reference-counting primitives.Dmitry Stogov2017-10-271-1/+1
| | | | | | Prohibit direct update of GC_REFCOUNT(), GC_SET_REFCOUNT(), GC_ADDREF() and GC_DELREF() shoukf be instead. Added mactros to validate reference-counting (disabled for now). These macros are going to be used to eliminate race-condintions during reference-counting on data shared between threads.
* further sync for vim mode linesAnatol Belski2017-07-041-0/+2
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
|
* Removed IS_TYPE_IMMUTABLE (it's the same as COPYABLE & !REFCOUED)Dmitry Stogov2016-11-281-27/+3
|
* Turn IS_TYPE_COLLECTABLE zval flag into GC_COLLECTABLE zend_refcounted flag.Dmitry Stogov2016-10-211-3/+4
| | | | This simplifies checks and allows reset this flag for "acyclic" arrays and objects.
* Reimplemented Bob's commit bac6fdb0c52c924e726c5a78de8858bf27b6586b without ↵Dmitry Stogov2016-05-061-13/+3
| | | | insignificant renaming and white-space changes
* Revert "Refactor zval cleanup into single function"Dmitry Stogov2016-05-061-41/+49
| | | | This reverts commit bac6fdb0c52c924e726c5a78de8858bf27b6586b.
* Refactor zval cleanup into single functionBob Weinand2016-05-051-49/+41
| | | | Also use zval_ptr_dtor_nogc() everywhere in Zend in favor of zval_dtor()
* 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-2/+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
|
* Improved reference countingDmitry Stogov2015-04-031-3/+3
|
* Use fastcall calling convention for most critical ZE subsystems.Dmitry Stogov2015-03-131-10/+7
|
* bump yearXinchen Hui2015-01-151-1/+1
|
* trailing whitespace removalStanislav Malyshev2015-01-101-1/+1
|
* first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-3/+3
|
* Moved i_zval_ptr_dtor() from zend_execute.h to zend_variables.hDmitry Stogov2014-11-251-0/+13
|
* fix datatype mismatch warningsAnatol Belski2014-10-241-1/+1
|
* Fixed compilation warningsDmitry Stogov2014-09-181-1/+1
|
* Use zval_ptr_dtor_nogc to destroy literalsNikita Popov2014-09-031-0/+8
| | | | | Also move the definition of zval_ptr_dtor_nogc to zend_variables.h (from zend_execute.h/.c) as it's used in a few places.
* Optimized conditions orderDmitry Stogov2014-06-031-0/+24
|
* Introduced immutable arrays. They don't need to be copyed and may be used ↵Dmitry Stogov2014-05-291-4/+4
| | | | directly from SHM.
* Use zval_get_string in print_zval and propagate TSRMLSNikita Popov2014-04-211-1/+1
|
* Cleanup (1-st round)Dmitry Stogov2014-04-151-1/+0
|
* Various VM optimizationsDmitry Stogov2014-04-041-1/+13
|
* Refactored ZVAL flags usage to simplify various checks (e.g. Z_REFCOUNTED(), ↵Dmitry Stogov2014-04-031-3/+8
| | | | candidate for GC, etc)
* Refactored GC (incomplete)Dmitry Stogov2014-03-191-3/+3
|
* Review endedXinchen Hui2014-03-111-4/+0
| | | | | | Revert "An demo(for review) to show how to fix the problem(symbol table resize)" This reverts commit 60c354510b6731ec8348af9c5e230a4859c7c383.
* An demo(for review) to show how to fix the problem(symbol table resize)Xinchen Hui2014-03-101-0/+4
|
* Converting from reference to regular valueDmitry Stogov2014-02-281-0/+2
|
* Use better data structures (incomplete)Dmitry Stogov2014-02-171-0/+2
|
* Reverted zval_clear() and zval_release() back to zval_ptr_dtor()Dmitry Stogov2014-02-121-17/+0
|
* Use better data structures (incomplete) -- stash for today workXinchen Hui2014-02-121-0/+17
|
* Use better data structures (incomplete)Dmitry Stogov2014-02-101-13/+13
|