summaryrefslogtreecommitdiff
path: root/ext/spl/php_spl.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove obj handlers ptr value from spl_object_hash()Bogdan Padalko2016-01-121-1/+1
| | | | | | | | | | | We still keep the same output length, for people who rely on the return value having a specific format. The handler part will now simply be always the same (it was the same nearly always anyway). The motivation behind this change is to avoid breaking spl_object_hash() and SplObjectStorage if an extension changes the handlers table of an object. This has come up, for example, in weakref implementations.
* 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
| |
* | Merge branch 'PHP-5.6' into PHP-7.0Xinchen Hui2015-12-231-4/+8
|\ \ | |/
| * Fixed bug #71204 (segfault if clean spl_autoload_funcs while autoloading)Xinchen Hui2015-12-231-4/+8
| |
| * Fixed bug #70290 (Null pointer deref (segfault) in spl_autoload via ob_start)Xinchen Hui2015-08-191-1/+1
| |
| * Fixed bug #69141 Missing arguments in reflection info for some builtin functionsReeze Xia2015-02-281-0/+2
| | | | | | | | | | | | | | | | | | | | This include: - setcookie (missing "httponly") - setrawcookie (missing "httponly") - spl_autoload_register (missing 2 optional params) - mktime (missing "is_dst") - gmmktime (missing "is_dst")
| * Bump yearXinchen Hui2015-01-151-1/+1
| |
* | This should never failXinchen Hui2015-12-231-3/+1
| |
* | Fixed bug #71202 (Autoload function registered by another not activated ↵Xinchen Hui2015-12-231-2/+9
| | | | | | | | immediately)
* | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-301-34/+34
| | | | | | | | semantick changes).
* | Fix more proto commentsRasmus Lerdorf2015-06-231-1/+1
| |
* | cleanup mod version macros and mod defs, round xAnatol Belski2015-03-231-1/+1
| |
* | Optimize zend_string_realloc() add more specialized versions ↵Dmitry Stogov2015-03-201-2/+2
| | | | | | | | zend_string_extend() and zend_string_truncate()
* | Use zend_string* instead of char* for opened_patch handling. Avoid ↵Dmitry Stogov2015-03-041-2/+2
| | | | | | | | reallocations and improve string reuse.
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | trailing whitespace removalStanislav Malyshev2015-01-101-19/+19
| |
* | Revert "Add type info for spl_autoload_register"Stanislav Malyshev2014-12-291-1/+1
| | | | | | | | | | | | | | This reverts commit ad728725cb8e899a8415aa81db48825fac25e0d5. Revert the change for now, probably needs better handling with account to BC or joined with exceptions-in-engine RFC.
* | Add type info for spl_autoload_registerLevi Morrison2014-12-281-1/+1
| |
* | Fix bug #68641Levi Morrison2014-12-271-0/+2
| | | | | | | | Include more reflection information for spl_autoload_register
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-51/+51
| |
* | fix datatype mismatch warningsAnatol Belski2014-10-291-4/+4
| |
* | Embed FETCH_CLASS <string> into the following NEWDmitry Stogov2014-10-231-1/+3
| |
* | Replaced EG(This) and EX(object) with EX(This).Dmitry Stogov2014-10-031-1/+1
| | | | | | | | Internal functions now recieves zend_execute_data as the first argument.
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| |
* | master renames phase 2Anatol Belski2014-08-251-8/+8
| |
* | master renames phase 1Anatol Belski2014-08-251-34/+34
| |
* | Merge remote-tracking branch 'php/master'Anatol Belski2014-08-211-10/+3
|\ \ | | | | | | | | | | | | Conflicts: Zend/zend_exceptions.c
| * | Avoid reallocation and copyingDmitry Stogov2014-08-211-10/+3
| | |
* | | Merge branch 'master' of git.php.net:php-srcAnatol Belski2014-08-171-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | # By Veres Lajos (2) and Lior Kaplan (1) # Via Lior Kaplan * 'master' of git.php.net:php-src: Correct typo in comments: 'initialized' typofixes typofixes
| * | Merge branch 'PHP-5.6'Lior Kaplan2014-08-171-1/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: Correct typo in comments: 'initialized' Conflicts: ext/dom/php_dom.c ext/spl/php_spl.c
| | * Merge branch 'PHP-5.4' into PHP-5.5Lior Kaplan2014-08-171-1/+1
| | |\ | | | | | | | | | | | | | | | | * PHP-5.4: Correct typo in comments: 'initialized'
| | | * Correct typo in comments: 'initialized'Lior Kaplan2014-08-171-1/+1
| | | |
| * | | Merge branch 'PHP-5.6'Lior Kaplan2014-08-171-1/+1
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: typofixes Conflicts: ext/spl/php_spl.c
| | * | Merge branch 'PHP-5.4' into PHP-5.5Lior Kaplan2014-08-171-1/+1
| | |\ \ | | | |/ | | | | | | | | | | | | * PHP-5.4: typofixes
| | | * typofixesVeres Lajos2014-08-171-1/+1
| | | |
| | | * Bump yearXinchen Hui2014-01-031-1/+1
| | | |
| | | * Happy New YearXinchen Hui2013-01-011-1/+1
| | | |
| | * | Bump yearXinchen Hui2014-01-031-1/+1
| | | |
* | | | fix macros in the 5 basic extensionsAnatol Belski2014-08-161-2/+2
|/ / /
* | | Fixed callback registraion order in spl_autoload_register()Dmitry Stogov2014-07-291-18/+5
| | |
* | | Use ZEND_HASH_FOREACH_* macrosXinchen Hui2014-07-091-18/+5
| | |
* | | Simplify call-frame handlingDmitry Stogov2014-07-071-6/+1
| | |
* | | Removed EG(active_symbol_table) and use corresponding value from ↵Dmitry Stogov2014-07-041-4/+1
| | | | | | | | | | | | EG(current_execute_data)
* | | Removed EG(called_scope) and use corresponding value from ↵Dmitry Stogov2014-07-031-1/+1
| | | | | | | | | | | | EG(current_execute_data)
* | | Removed EG(opline_ptr) and use corresponding value from EG(current_execute_data)Dmitry Stogov2014-07-021-5/+6
| | |
* | | Removed EG(active_op_array) and use corresponding value from ↵Dmitry Stogov2014-07-021-4/+0
| | | | | | | | | | | | EG(current_execute_data)
* | | Refactoring: merge call_frame and end_execute_data into single data ↵Dmitry Stogov2014-06-261-0/+4
| | | | | | | | | | | | structure. Keep only single copy of each argument on VM stack (previously ZE kept two copies of each arguments for user functions)
* | | Make they are in the same style of Z_ISREFXinchen Hui2014-05-031-7/+7
| | |
* | | Fixed reference countingDmitry Stogov2014-04-161-0/+1
| | |