Máté Kocsis
c142be8117
Fix class constant references inside parameter default values ( #5084 )
2026-01-09 09:50:14 +01:00
Derick Rethans
c1f37a6c27
Mark oop5 and xml* categories as 'interactive' (with exceptions) and use 'examples/' dir for XML example files so they (will) work with WASM
2025-03-06 14:35:36 +00:00
Niels Dossche
739803892e
Reference new Dom class in SimpleXML
2024-12-07 18:12:19 +01:00
Niels Dossche
62514381ff
Update simplexml_import_dom for PHP 8.4 ( #3906 )
...
* Update simplexml_import_dom for PHP 8.4
* Update reference/simplexml/functions/simplexml-import-dom.xml
Co-authored-by: Gina Peter Banyard <girgias@php.net >
---------
Co-authored-by: Gina Peter Banyard <girgias@php.net >
2024-10-23 18:31:39 +02:00
Máté Kocsis
d715365c09
Sync some methodsynopses with stubs ( #3199 )
...
Co-authored-by: Gina Peter Banyard <girgias@php.net >
2024-04-16 13:02:43 +02:00
Niels Dossche
d2939d4611
Cleanup libxml options parameter description ( #2811 )
...
PHP 7.0 requires at least libxml2 2.6.11. So any note about an older
version is simply irrelevant.
Use an entity to use consistent, more useful wording.
This patch also gets rid of some personification.
2023-09-29 23:53:29 +01:00
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