summaryrefslogtreecommitdiff
path: root/Zend/zend_stack.c
Commit message (Collapse)AuthorAgeFilesLines
* Improve type declarations for Zend APIsGeorge Peter Banyard2020-08-281-8/+4
| | | | | | | | | Voidification of Zend API which always succeeded Use bool argument types instead of int for boolean arguments Use bool return type for functions which return true/false (1/0) Use zend_result return type for functions which return SUCCESS/FAILURE as they don't follow normal boolean semantics Closes GH-6002
* 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-2/+2
|
* 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.
* year++Xinchen Hui2018-01-021-1/+1
|
* further sync for vim mode linesAnatol Belski2017-07-041-0/+2
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
|
* bump year which is missed in rev 49493a2Xinchen Hui2016-01-021-1/+1
|
* bump yearXinchen Hui2015-01-151-1/+1
|
* trailing whitespace removalStanislav Malyshev2015-01-101-1/+1
|
* zend_stack_top() now returns pointer directlyNikita Popov2014-05-011-11/+7
|
* Don't allocate zend_stack elements individuallyNikita Popov2014-05-011-34/+21
| | | | | Instead allocate a vector of elements. Size must now be specified on initialization rather than on push.
* Use better data structures (incomplete)Dmitry Stogov2014-02-101-0/+21
|
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* - Year++Felipe Pena2012-01-011-1/+1
|
* - Year++Felipe Pena2011-01-011-1/+1
|
* Preallocate zend_hash instead of allocation/deallocation it on each requestDmitry Stogov2010-08-271-1/+1
|
* zend_stack initialization is delayed before the actual usageDmitry Stogov2010-07-061-7/+3
|
* sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-051-1/+1
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* - MFH: Constness (Added const qualifier to several function parameters)Felipe Pena2008-08-121-6/+6
|
* - Rewrite scanner to be based on re2c instead of flexMarcus Boerger2008-03-161-5/+6
| | | | | | | | | The full patch is available as: http://php.net/~helly/php-re2c-5.3-20080316.diff.txt This is against php-re2c repository version 98 An older patch against version 97 is available under: http://php.net/~helly/php-re2c-97-20080316.diff.txt
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* - Update copyright notices to 2006Andi Gutmans2006-01-041-1/+1
|
* Bump up the yearfoobar2005-08-031-1/+1
|
* - Happy new year and PHP 5 for rest of the files too..foobar2004-01-081-1/+1
| | | | | # Should the LICENSE and Zend/LICENSE dates be updated too?
* updating license information in the headers.James Cox2003-06-101-1/+1
|
* - Added some missing CVS $Id$ tags, headers and footers.foobar2003-02-011-0/+9
|
* Bump year.Sebastian Bergmann2002-12-311-1/+1
|
* Happy New Year.Sebastian Bergmann2002-01-061-1/+1
|
* Update headers.Sebastian Bergmann2001-12-111-2/+2
|
* - Update copyright yearAndi Gutmans2001-02-261-1/+1
|
* - Make the argument order for the stack applies more consistent with other ZendZeev Suraski2000-03-291-2/+2
| | | | | | data structures - Fix a possible corruption problem due to switch() C-level optimization
* It's official now...Zeev Suraski2000-03-061-3/+3
|
* (c) patchZeev Suraski2000-02-191-1/+1
|
* - Add foreach() freeing code.Andi Gutmans1999-09-091-6/+14
| | | | | | | - Fix switch() freeing code to only free current function's switch expressions. - I have a feeling break expr; in a switch where expr > 1 leaks because it won't free all of the expressions. Fix is probably not trivial.
* Fix RETURN & SWITCH memory leak issueZeev Suraski1999-07-241-0/+38
|
* 0.91 updateZeev Suraski1999-07-191-2/+2
|
* License updateZeev Suraski1999-07-161-4/+8
|
* Zend LibraryAndi Gutmans1999-04-071-0/+114