summaryrefslogtreecommitdiff
path: root/ext/simplexml/php_simplexml.h
Commit message (Collapse)AuthorAgeFilesLines
* Make SimpleXMLElement a RecursiveIteratorNikita Popov2020-06-241-0/+3
| | | | | | | | | | | | | | | | | | Context: https://externals.io/message/108789 This essentially moves the functionality of SimpleXMLIterator into SimpleXMLElement, and makes SimpleXMLIterator a no-op extension. Ideally SimpleXMLElement would be an IteratorAggregate, whose getIterator() method returns SimpleXMLIterator. However, because SimpleXMLIterator extends SimpleXMLElement (and code depends on this in non-trivial ways), this is not possible. The only way to not keep SimpleXMLElement as a magic Traversable (that implements neither Iterator nor IteratorAggregate) is to move the SimpleXMLIterator functionality into it. Closes GH-5234.
* Fix warning of strict-prototypestwosee2020-06-071-1/+1
| | | | Closes GH-5673.
* Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-251-2/+0
| | | | Closes GH-4732.
* Cleanup unused module globalsDmitry Stogov2019-03-121-6/+0
|
* 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.
* Remove yearly range from copyright noticeZeev Suraski2019-01-301-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.
* year++Xinchen Hui2018-01-021-1/+1
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
|
* Remove HAVE_SPL checksNikita Popov2016-01-301-3/+0
| | | | | | SPL is always built. Also clean up spl_ce_RuntimeException handling in PDO.
* 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
| |
* | cleanup mod version macros and mod defs, round xAnatol Belski2015-03-231-0/+3
| |
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| |
* | Refactor simpleXML (compilable, but incompleted)Xinchen Hui2014-04-141-3/+3
|/
* 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
|
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* MFH: proper exports/imports for win32Rob Richards2008-12-271-1/+9
|
* MFH: force export on win32 to workaround win32 conig issuesRob Richards2008-12-271-11/+1
|
* MFH: properly export functionsRob Richards2008-12-261-1/+13
|
* MFH: Move SXI::count to SXE::count and make it user-friendlyEtienne Kneuss2008-07-091-0/+1
|
* remove unused PHP_EXTNAME_API macros.Nuno Lopes2008-01-031-6/+0
| | | | | #in preparation for the gcc 4 visibility patch
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* asXML() needs to return bool when serializing doc and filename is passed inRob Richards2006-08-071-2/+2
| | | | | | do not copy the content of the outputbuffer twice in asXML() fix compiler warnings
* - MFH Sync with head (namespace prefix handling)Marcus Boerger2006-05-231-1/+1
|
* - Synch with headMarcus Boerger2006-02-261-6/+9
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* - Unify (+ spl can't be build shared so COMPILE_DL_SPLfoobar2005-06-301-1/+1
|
* Adding mising declaration (needed for Win32 compilation)Frank M. Kromann2004-02-131-0/+1
|
* Fix bug #27010: segfault after returning nodes with children()Rob Richards2004-01-221-4/+2
| | | | | | | | | Fix segfault in match_ns when matching prefix and node without ns some general cleanup and code consilidation better write handling - engine support dependent better isset handling - engine support dependent namespace fixes for reading/writing
* Enable inherited classes inside SPL and respect order of module init.Marcus Boerger2004-01-181-1/+1
|
* Export access to class_entry by function.Marcus Boerger2004-01-181-0/+2
|
* namespace accesses are now soley URI based as opposed to prefix based.Sterling Hughes2004-01-171-6/+0
|
* Major bugfix for consistency.Marcus Boerger2004-01-171-3/+9
| | | | | | | # After long discussions we came to a conclusion on how to make this # extension consistent in itself. # Thanks to Rob for all the work
* Remove these initializers as they are unused.Sterling Hughes2004-01-091-3/+2
|
* - 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?
* - Update header + added missing Id tags.foobar2003-12-091-4/+4
|
* Several improvements to the simplexml_element object:Marcus Boerger2003-11-231-0/+6
| | | | | | - Allow to use it as an instance of Iterator - Prepareto use it as a normal object, including spcialization
* add interop with dom - simplexml_import_domRob Richards2003-10-261-7/+8
| | | | | | | change write behavior on elements to change actual contents change clone method to clone node and not document fix a few libxml mem leaks
* Fix memleaksMarcus Boerger2003-10-251-0/+1
|
* use xmlInitParser instead of xmlInitThreadsRob Richards2003-06-141-2/+0
| | | | | reentrant safe as well no need for xml_parser_inited
* interoperability supportRob Richards2003-06-141-2/+4
| | | | | fix some memleak scenarios