summaryrefslogtreecommitdiff
path: root/ext/spl/php_spl.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove autoload_running flagNikita Popov2020-06-101-1/+0
| | | | | | | | This was only used to decide between a hash clean and a hash destroyed in spl_autoload_remove(). But now that spl_autoload_functions() no longer distinguishes between NULL and an empty array here, there's really no need to try and destroy the hashtable here.
* Generate methods entries from stubs for ext/splMáté Kocsis2020-04-251-5/+0
| | | | Closes GH-5458
* Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-251-2/+0
| | | | Closes GH-4732.
* Remove local variablesPeter Kokot2019-02-031-9/+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.
* Remove yearly range from copyright noticeZeev Suraski2019-01-301-1/+1
|
* year++Xinchen Hui2018-01-021-1/+1
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
|
* Drop some pieces of commented-out codeNikita Popov2016-09-041-6/+0
|
* Fix bug #71575 removing extra semicolons outside macrosJames Titcumb2016-03-031-1/+1
|
* Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
|\ | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| |
| * bump yearXinchen Hui2015-01-151-1/+1
| |
* | first stone on using the unified globals accessorAnatol Belski2015-07-291-7/+2
| |
* | cleanup mod version macros and mod defs, round xAnatol Belski2015-03-231-0/+2
| |
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-1/+1
| |
* | made ext/date and ext/spl use static tsrm ls cacheAnatol Belski2014-10-151-1/+1
| |
* | reworked the patch, less new stuff but workyAnatol Belski2014-09-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TLS is already used in TSRM, the way exporting the tsrm cache through a thread local variable is not portable. Additionally, the current patch suffers from bugs which are hard to find, but prevent it to be worky with apache. What is done here is mainly uses the idea from the RFC patch, but - __thread variable is removed - offset math and declarations are removed - extra macros and definitions are removed What is done merely is - use an inline function to access the tsrm cache. The function uses the portable tsrm_tls_get macro which is cheap - all the TSRM_* macros are set to placebo. Thus this opens the way remove them later Except that, the logic is old. TSRMLS_FETCH will have to be done once per thread, then tsrm_get_ls_cache() can be used. Things seeming to be worky are cli, cli server and apache. I also tried to enable bz2 shared and it has worked out of the box. The change is yet minimal diffing to the current master bus is a worky start, IMHO. Though will have to recheck the other previously done SAPIs - embed and cgi. The offsets can be added to the tsrm_resource_type struct, then it'll not be needed to declare them in the userspace. Even the "done" member type can be changed to int16 or smaller, then adding the offset as int16 will not change the struct size. As well on the todo might be removing the hashed storage, thread_id != thread_id and linked list logic in favour of the explicit TLS operations.
* | update SPL extension for native-tls branchkrakjoe2014-09-201-1/+1
| |
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| |
* | reduce struct size by 8 byte on 64 bitAnatol Belski2014-09-131-1/+1
| |
* | Avoid reallocation and copyingDmitry Stogov2014-08-211-1/+1
| |
* | Use better data structures (incomplete)Xinchen Hui2014-02-111-3/+2
|/
* Bump yearXinchen Hui2014-01-031-1/+1
|
* unify stdint type usageMichael Wallner2013-08-061-5/+0
| | | | if you need C99 stdint types, just include "php_stdint.h"
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* Merge branch 'PHP-5.3' into PHP-5.4Xinchen Hui2012-10-091-0/+0
|\
| * Fixed bug #63236 (Executable permission on various source files)Xinchen Hui2012-10-091-0/+0
| |
| * - Year++Felipe Pena2012-01-011-1/+1
| |
| * - Year++Felipe Pena2011-01-011-1/+1
| |
* | - Year++Felipe Pena2012-01-011-1/+1
| |
* | - Reverted changes that required constructor overrides to invoke the parentGustavo André dos Santos Lopes2011-10-291-11/+7
| | | | | | | | | | | | constructor in several SPL classes and applied 5.3 fixes instead. Related bugs: #54384, #55175 and #55300
* | Added missing class_uses(..) function to SPL to mirror class_implements(..).Stefan Marr2011-07-231-0/+1
| | | | | | | | | | # Was pointed out as missing in bug #55266.
* | - Fixed bug #54384: Several SPL classes crash when parent constructor isGustavo André dos Santos Lopes2011-03-271-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | not called. #Merge to 5.3 pending (slight BC break on AppendIterator, as it's no #longer possible to defer the call to the parent constructor until #after the constructor is performed). #Bugs fixed in an atypical way for SPL. The parent constructor call #check is performed at construction time by using a wrapper constructor #instead of a check on the beginning of each instance method. #Perhaps this should be uniformized in trunk; this method was mainly #applied only to the ones crashing, except a few iterators (at least #AppendIterator and RecursiveIteratorIterator).
* | - Year++Felipe Pena2011-01-011-1/+1
|/
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* MFH: Fix build problem (Kalle)Johannes Schlüter2009-06-231-1/+3
|
* - fix buildPierre Joye2009-01-271-0/+3
|
* MFH: Improve spl_object_hash()Etienne Kneuss2009-01-261-0/+3
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* Improved PHP binary size and startup speed with GCC4 visibility control (Nuno)Dmitry Stogov2008-01-301-8/+10
|
* - MFH revert over constfyingMarcus Boerger2008-01-271-1/+1
|
* more const kewywordingNuno Lopes2008-01-251-1/+1
| | | | | remove spl_functions_none var (wast used anywhere
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* - MFH from HEAD:Jani Taskinen2007-11-021-0/+2
| | | | | | | | | | | | . Folding tags . Parameter parsing . SPL debug info . array function improvements (not all yet) . Improvements to function calling with call_user_* functions . Improvements to debugging info in var_dump/print_r # I propably forgot already something but this all was pretty close tied # to each other so it wasn't possible to do it in parts.
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* - MFH Store length of autoload file extsMarcus Boerger2006-11-041-0/+1
|
* - MFH: SynchMarcus Boerger2006-11-031-0/+1
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* - Bumber up yearfoobar2005-08-031-1/+1
|