summaryrefslogtreecommitdiff
path: root/ext/simplexml/simplexml.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixed bug #74950 (nullpointer deref in simplexml_element_getDocNamespaces)Xinchen Hui2017-07-211-6/+6
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
|
* fix typoAnatol Belski2016-10-121-1/+1
|
* Fix bug #73293 - NULL pointer dereference in SimpleXMLElement::asXML()Stanislav Malyshev2016-10-121-3/+16
| | | | (cherry picked from commit 96a8cf8e1b5dc1b0c708bb5574e0d6727cc56d9e)
* Fix bug #72957Nikita Popov2016-08-301-12/+6
|
* Followup for bug #72971Nikita Popov2016-08-301-1/+1
| | | | | | Property writes did not respect the namespace either. This is an incomplete fix in that it only handles the case where an existing child element is modified, not when a new one is created.
* Fix bug #72971Nikita Popov2016-08-301-2/+2
|
* Fixed bug #72588 (Using global var doesn't work while accessing SimpleXML ↵Xinchen Hui2016-07-131-26/+40
| | | | element)
* Merge branch 'PHP-5.6' into PHP-7.0Anatol Belski2016-03-081-1/+1
|\ | | | | | | | | * PHP-5.6: fix regression introduced in 5683b6fa39
| * fix regression introduced in 5683b6fa39Anatol Belski2016-03-081-1/+1
| | | | | | | | | | Test extended. Basically, both iterator type and next node have to be checked.
* | 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
| |
| * Refactored the fix for bug #66084, by cmb@php.netAnatol Belski2015-05-291-1/+1
| |
| * Bump yearXinchen Hui2015-01-151-1/+1
| |
* | add range checks to simplexmlAnatol Belski2015-08-261-3/+34
| |
* | Fix simplexml warningsNikita Popov2015-07-171-4/+4
| |
* | Switch position of ce in exception ce variable namesAaron Piotrowski2015-07-031-1/+1
| |
* | Change zend_exception_get_default() to zend_exception_ceAaron Piotrowski2015-07-031-1/+1
| |
* | Cleanup (removed dead code)Dmitry Stogov2015-07-011-5/+0
| |
* | Improved zend_string API (Francois Laupretre)Dmitry Stogov2015-06-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit d96eab8d79b75ac83d49d49ae4665f948d15a804 Author: Francois Laupretre <francois@tekwire.net> Date: Fri Jun 26 01:23:31 2015 +0200 Use the new 'ZSTR' macros in the rest of the code. Does not change anything to the generated code (thanks to compat macros) but cleaner. commit b3526439104ac7a89a8e0c79dbebf33b22bd01b8 Author: Francois Laupretre <francois@tekwire.net> Date: Thu Jun 25 13:45:06 2015 +0200 Improve zend_string API Add missing methods
* | Fix more proto commentsRasmus Lerdorf2015-06-231-1/+1
| |
* | Avoid zval duplication in ZVAL_ZVAL() macro (it was necessary only in few ↵Dmitry Stogov2015-06-121-9/+5
| | | | | | | | | | | | places). Switch from ZVAL_ZVAL() to simpler macros where possible (it makes sense to review remaining places)
* | Make convert_to_* safe with rc>1Nikita Popov2015-06-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This only involves switching zval_dtor to zval_ptr_dtor for arrays and making the convert_to_object for arrays a bit more generic. All the other changes outside zend_operators.c just make use of this new ability (use COPY instead of DUP). What's still missing: Proper references handling. I've seen many convert_to* calls that will break when a reference is used. Also fixes bug #69788.
* | fixed whitespace dependend behavior of casting SimpleXMLElements to booleanChristoph M. Becker2015-05-291-1/+1
| |
* | fixed whitespace depending (mis)behavior of var_dump'ing and print_r'ing ↵Christoph M. Becker2015-05-291-1/+1
| | | | | | | | SimpleXMLElements
* | Merge branch 'master' of git.php.net:php-srcXinchen Hui2015-05-061-40/+70
|\ \
| * | Loop splitting and specializationDmitry Stogov2015-05-051-12/+35
| | |
| * | Fixed compilation warningDmitry Stogov2015-05-051-1/+1
| | |
| * | Use zend heap instead of systemDmitry Stogov2015-05-051-12/+12
| | |
| * | Use better zend_hash_*() functions.Dmitry Stogov2015-05-051-13/+16
| | |
| * | Removed check for count() in SXE classDmitry Stogov2015-05-051-3/+7
| | |
* | | fixed commentXinchen Hui2015-05-051-1/+1
|/ /
* | Unused macrosXinchen Hui2015-05-051-11/+0
| |
* | Optimize cast simplexml to IS_BOOLXinchen Hui2015-05-051-5/+96
| |
* | Unused varXinchen Hui2015-05-051-4/+2
| |
* | Avoid repeatable lookups for count() method in the same class entry.Dmitry Stogov2015-05-051-27/+47
| |
* | Always throw TypeException on throwing zpp failuresNikita Popov2015-04-061-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduces a ZEND_PARSE_PARAMS_THROW flag for zpp, which forces to report FAILURE errors using a TypeException instead of a Warning, like it would happen in strict mode. Adds a zend_parse_parameters_throw() convenience function, which invokes zpp with this flag. Converts all cases I could identify, where we currently have throwing zpp usage in constructors and replaces them with this API. Error handling is still replaced to EH_THROW in some cases to handle other, domain-specific errors in constructors.
* | cleanup mod version macros and mod defs, round xAnatol Belski2015-03-231-1/+1
| |
* | Move zend_object->guards into additional slot of ↵Dmitry Stogov2015-02-041-1/+1
| | | | | | | | zend_object->properties_table[]. As result size of objects without __get/__set/__unset/__isset magic methods is reduced.
* | fix warningsMichael Wallner2015-01-301-4/+4
| |
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | trailing whitespace removalStanislav Malyshev2015-01-101-8/+8
| |
* | Improved trim/ltrim/rtrim functions.Dmitry Stogov2014-12-231-4/+5
| | | | | | | | Now php_trim() operates on zend_string and returns zend_string (it may return the same zend_string).
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-219/+219
| |
* | Fixed zval copyingXinchen Hui2014-10-221-12/+4
| |
* | Remove get_class_entry object handlerNikita Popov2014-10-091-2/+0
| |
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| |
* | 's' works with size_t round 2Anatol Belski2014-08-271-1/+1
| |
* | first show to make 's' work with size_tAnatol Belski2014-08-271-11/+11
| |
* | master renames phase 7PRE_AST_MERGEAnatol Belski2014-08-251-2/+2
| |