Commit graph

73 commits

Author SHA1 Message Date
Christoph M. Becker
6199e10e91
simplexml_load_file(): see also libxml_set_streams_context()
Cf. <https://bugs.php.net/53369>.
2021-09-09 16:27:36 +02:00
Máté Kocsis
5916fd8f74
Update ext/simplexml methodsynopses based on stubs
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes-GH 599.
2021-05-22 17:15:57 +02:00
Sergey Panteleev
a0ae28d3bc
Removed references to PHP 5, PHP 7.0 (#545) 2021-04-24 20:01:17 +03:00
Sergey Panteleev
aab33d6443
Removed references to PHP 5, PHP 7.0 (#544) 2021-04-23 11:35:26 +03:00
Sergey Panteleev
5fabd07880
Removed Changelog entries for PHP 5, PHP 7.0 (#543) 2021-04-22 17:52:58 +03:00
Ondřej Mirtes
2d2492f8d5 Fixed simplexml_import_dom return type
Closes GH-446.
2021-02-13 14:53:38 +01:00
Christoph Michael Becker
b95d28e6ec Fix return types
Functions which return false on failure should state that in their
signature as well.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351135 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:52:35 +00:00
Christoph Michael Becker
6aafa955a6 Fix section order
According to <http://svn.php.net/viewvc/phpdoc/doc-base/trunk/RFC/skeletons/function.xml?view=markup>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349883 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-14 08:04:25 +00:00
Christoph Michael Becker
cd38bc2a91 SimpleXML: add missing changelog entries for $is_prefix
According to the PHP 5.2 migration guide, the `$is_prefix` parameter was added to three methods and two functions in PHP 5.2, but only two of those had a changelog entry about this change.

Ref: https://www.php.net/manual/en/migration52.parameters.php

Patch provided by jrfnl.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349881 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-14 07:49:51 +00:00
Jakub Vrana
b8758b0605 Use entities in initializer
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343899 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 19:11:34 +00:00
Jakub Vrana
dd07341fae Remove trailing fullstop in <refpurpose>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343888 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 15:34:22 +00:00
Christoph Michael Becker
96a4b73c02 added return.falseproblem warning to SimpleXML factory functions (fixes bug #69596)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336942 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-14 14:06:12 +00:00
Justin Martin
8b2a3534bf Documented $ns and $prefix parameters. Closes bug #54805.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320551 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-07 03:51:29 +00:00
Justin Martin
b098faa4b4 Changed return type to SimpleXMLElement, for the purpose of simplification. Closes bug #60382.
Also changed returns to use proper 'or false on failure' entity.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@319987 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-27 03:29:58 +00:00
Peter Cowburn
ea1e3be13a see also link to basic usage page
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311775 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-03 15:33:29 +00:00
Richard Quadling
ea2023e453 Added <screen> output for examples.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301048 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-07 11:47:34 +00:00
Daniel Egeberg
96c9d88bad Converted to utf-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297028 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-28 22:10:10 +00:00
Richard Quadling
f658721332 Use &return.falseforfailure; entity.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290410 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-09 10:26:08 +00:00
Torben Wilson
af4410a7e1 Normalized the sgml-default-dtd-file local-variable line for those
still using this, after discussion on the phpdoc list.
From now on, manual.ced will need to be found at ~/.phpdoc/manual.ced.



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288721 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-25 07:04:39 +00:00
Jakub Vrana
b0d417b9be Class structure for SimpleXMLElement
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287736 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-26 11:02:56 +00:00
Hannes Magnusson
9b80342788 Add errorhandling docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@286588 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-31 11:28:21 +00:00
Nilgün Belma Bugüner
9511edb9f8 fixed properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283836 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 08:54:10 +00:00
Nilgün Belma Bugüner
97cb48b565 Changed <xref linkend="... to <methodname>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@281596 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-03 14:21:18 +00:00
Philip Olson
8589c713a7 Changed <link linkend="function... to <methodname> where appropriate (markup)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@280164 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-08 16:11:20 +00:00
Philip Olson
7107e1f371 Fixed refname, and added __construct to versions.xml
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@275442 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-09 18:07:27 +00:00
Jakub Vrana
b08c166781 Initializers - part 6
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273942 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-19 15:05:01 +00:00
Jakub Vrana
6125c0100d Initializers - part 4
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273634 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-16 12:08:51 +00:00
Rudy Nappée
685a03b4b3 * No () in refnames
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@263467 c90b9560-bf6c-de11-be94-00142212c4b1
2008-07-24 21:54:47 +00:00
Antony Dovgal
cbcee967b7 fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@250675 c90b9560-bf6c-de11-be94-00142212c4b1
2008-01-15 08:37:58 +00:00
Hannes Magnusson
d06bb5702b Update linkends to book.dom
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@248928 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-24 13:14:40 +00:00
Jakub Vrana
a35123aabd Can return false (bug #42289)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241655 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-20 14:53:26 +00:00
Hannes Magnusson
46a54186af Revert bogus s/id/xml:id in examples caused by the docbook5 upgrade
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@238929 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-30 14:14:03 +00:00
Hannes Magnusson
c030e2adf7 Upgrade to DocBook5:
- All id attributes are now xml:id
 - Add docbook namespace to all root elements
 - Replace <ulink /> with <link xlink:href />
 - Minor markup fixes here and there


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@238160 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-20 22:25:43 +00:00
Hannes Magnusson
7df9251819 Typo in example (bug#41071)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@236488 c90b9560-bf6c-de11-be94-00142212c4b1
2007-05-28 11:27:04 +00:00
Hannes Magnusson
89b763a661 Fixed bug#41096 (Warning: SimpleXMLElement::children() expects at most 1 parameter, 2 given)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@233879 c90b9560-bf6c-de11-be94-00142212c4b1
2007-04-16 13:18:29 +00:00
Jakub Vrana
07b2ad72bc Wrong copy-paste
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@229877 c90b9560-bf6c-de11-be94-00142212c4b1
2007-02-15 17:03:31 +00:00
Nuno Lopes
72740b64e1 document the errors produced (user note)
# this needs an english reviewer ;)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@228119 c90b9560-bf6c-de11-be94-00142212c4b1
2007-01-25 23:53:22 +00:00
Mehdi Achour
ec3f931fa0 Add missing roles and entities in already switched files
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@227340 c90b9560-bf6c-de11-be94-00142212c4b1
2007-01-16 01:24:43 +00:00
Mehdi Achour
f7fd134d6c Fix new style implementation
Add missing sections / parameters


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@227337 c90b9560-bf6c-de11-be94-00142212c4b1
2007-01-16 01:05:32 +00:00
Mehdi Achour
e10a86f261 Fix whitespaces
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@227330 c90b9560-bf6c-de11-be94-00142212c4b1
2007-01-15 23:53:55 +00:00
Ben Ramsey
28ba9fc4e3 Added SimpleXML->registerXPathNamespace, and added ns and prefix parameters to simplexml_load_file() and simplexml_load_string().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@215197 c90b9560-bf6c-de11-be94-00142212c4b1
2006-06-22 03:04:35 +00:00
Nuno Lopes
7cfddffc55 fix copy-paste error in see also section
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@214078 c90b9560-bf6c-de11-be94-00142212c4b1
2006-06-01 08:50:16 +00:00
TAKAGI Masahiro
883281d9a8 fix build.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@214071 c90b9560-bf6c-de11-be94-00142212c4b1
2006-06-01 00:00:49 +00:00
Ben Ramsey
b48693bee3 Added __construct() page for SimpleXML and modified examples to show usage of SimpleXML with SimpleXMLElement for a more OO approach.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@214069 c90b9560-bf6c-de11-be94-00142212c4b1
2006-05-31 22:54:02 +00:00
Ben Ramsey
b3b9b0b50e Previous commit reversed.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@212916 c90b9560-bf6c-de11-be94-00142212c4b1
2006-05-12 18:04:55 +00:00
Ben Ramsey
2354db720f Added note that these methods were added in PHP 5.1.3
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@212898 c90b9560-bf6c-de11-be94-00142212c4b1
2006-05-12 13:54:36 +00:00
Ben Ramsey
cc64e88692 Added XML tag to examples so that they are well-formed XML
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@212853 c90b9560-bf6c-de11-be94-00142212c4b1
2006-05-11 15:13:27 +00:00
Ben Ramsey
4ceb507669 Corrected CVS $Revision$ tag
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@212845 c90b9560-bf6c-de11-be94-00142212c4b1
2006-05-11 13:33:51 +00:00
Ben Ramsey
903ef8bae1 Added addAttribute(), addChild(), getDocNamespaces(), getName(), and
getNamespaces() methods to SimpleXMLElement documentation.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@212830 c90b9560-bf6c-de11-be94-00142212c4b1
2006-05-11 06:32:45 +00:00
Nuno Lopes
64fe13d7af clarify that 'escaping URI' note applies just to PHP 5.0.x
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@195265 c90b9560-bf6c-de11-be94-00142212c4b1
2005-09-06 16:25:26 +00:00