Commit graph

130 commits

Author SHA1 Message Date
Adam Harvey
8ad0d94e1c Add initial migration guide for PHP 5.5.
What's done: the migration guide itself, updates to existing functions and
functionality, and new language features.

What's not done: stub pages for new functions and methods. (I'd rather get this
in now, though, than have it languish on my hard drive any longer so that other
people can contribute.)

What could use help: the generator chapter is pretty rough and ready. Better
examples would be awesome. I certainly won't argue if somebody wants to add the
function stubs, either.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328430 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-20 15:17:23 +00:00
Sherif Ramadan
a657bdcaf4 Modified ambiguous wording for return values and added return.falseproblem warning. This fixes Bug #62161
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326871 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-30 03:37:52 +00:00
Jakub Vrana
5faa7a6747 Document and use callable type hint introduced in PHP 5.4
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324122 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-12 05:55:59 +00:00
Justin Martin
27440bfeed Removed eval modifier example from preg_replace reference.
Added caution to eval modifier reference about its addslashes behaviour.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320388 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-04 21:54:27 +00:00
Justin Martin
ee7bf3100e Clarified e-modifier example behavior, as per bug #60401.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320298 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-03 04:28:40 +00:00
Richard Quadling
a56106f691 Standardized on double quotes for attributes.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317502 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-30 14:21:51 +00:00
Peter Cowburn
cfabc6b2ed correct changelog order
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@314593 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-09 09:00:42 +00:00
Jakub Vrana
290ee6f491 Invalid offset since PHP 5.3.6 (thanks to David Grudl)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@314243 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-04 11:25:10 +00:00
Peter Cowburn
bf9f426796 use entity for null
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313291 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-16 18:06:48 +00:00
Jakub Vrana
6f184ec8cc Parameter matches is optional
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312711 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-30 16:57:08 +00:00
Jakub Vrana
9b22dffc68 Fix protos
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308256 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-11 14:16:57 +00:00
Jakub Vrana
d3c871ae1e Fix protos
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308253 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-11 13:16:13 +00:00
Philip Olson
802ee88411 - Added PCRE modifier link to 'See Also' section of relevant PCRE functions
- Moved the 'e' tip from preg_replace to the modifier documentation, and added link instead of 'e' docs
- Closes PHP Bug #53546


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307739 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-25 19:10:19 +00:00
Kalle Sommer Nielsen
776fca5c5e Fixed bug #53570 (Deprecated functions in suggestion list)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306477 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-20 01:22:59 +00:00
Richard Quadling
c6faf8807d Add <initializer>'s to preg_match and preg_match_all.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305275 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-11 13:03:16 +00:00
Richard Quadling
7605db79ce Fixed grammar.
Fix bug #53073


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304409 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-15 08:28:18 +00:00
Gustavo André dos Santos Lopes
594e79d60c - Changed the language on the documentation of preg_filter to make it clear that it returns the subjects where that was a match, not the matches themselves.
- Closes bug #52111

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303177 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-08 14:56:00 +00:00
Peter Cowburn
e5c2e20550 see also preg_last_error, doc bug #51864
- added preg_last_error see also link for preg_* functions
    - also added other useful see-also links for preg funcs

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@300271 c90b9560-bf6c-de11-be94-00142212c4b1
2010-06-08 12:51:02 +00:00
Daniel Egeberg
2b587ab01f Normalized initializer NULL-values to use the &null; entity:
for file in `find -name '*.xml'`; do sed -i -e 's/<initializer>null<\/initializer>/<initializer>\&null;<\/initializer>/i' $file; done



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298918 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-03 17:10:04 +00:00
Peter Cowburn
6a26ef9f50 clarify array_filter return value with no matches, fixes bug #51568
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298066 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-16 08:19: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
Kalle Sommer Nielsen
4bc27d8766 Remove the last of the PHP3 related stuff around the manual, including the documentation for:
* ascii2ebcdic
* ebcdic2ascii
* mysql_change_user

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293483 c90b9560-bf6c-de11-be94-00142212c4b1
2010-01-13 04:01:06 +00:00
Daniel Egeberg
1b6cf34f23 Changed example #2 in preg_replace() to have the arrays initialized before writing to them.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@292327 c90b9560-bf6c-de11-be94-00142212c4b1
2009-12-19 12:05:56 +00:00
Jordi Boggiano
740a7698af Emphasize the use of ?P<> for named sub-patterns instead of the backwards incompatible ?<>. Fixes bug #50306 - refs bug #46904
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@292248 c90b9560-bf6c-de11-be94-00142212c4b1
2009-12-17 12:28:26 +00:00
Jakub Vrana
69c05d805a Parameters are documented by preg_replace (bug #49995)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290682 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-13 17:30:37 +00:00
Richard Quadling
7dbdeb80f5 PREG_OFFSET_CAPTURE flag consistent between preg_match and preg_match_all. Fix #50032
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290051 c90b9560-bf6c-de11-be94-00142212c4b1
2009-10-29 10:58:02 +00:00
Florian Anderiasch
bbd0696ac1 fix #49685 - returns NULL on errors
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@289097 c90b9560-bf6c-de11-be94-00142212c4b1
2009-10-02 20:31:21 +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
Torben Wilson
6bdd33b75f Document that since PHP 5.2.2, named subpatterns accept the syntax
(?<name>) and (?'name') as well as the older (?P<name>).
Addresses bug #46904.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288276 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-12 06:55:13 +00:00
Richard Quadling
0184ad5ac0 Example missing some output.
Fix for bug#49395

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287845 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-28 10:56:51 +00:00
Jakub Vrana
5367ec851c Link anonymous functions/preg-replace-callback.xml
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@286543 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-30 09:20:16 +00:00
Rasmus Lerdorf
8b564cbf64 Fix bug #48703
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@284405 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-20 00:22:21 +00:00
Rasmus Lerdorf
e3a5bb2767 Fixed bug #48806
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@284401 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-19 23:58:43 +00:00
Nilgün Belma Bugüner
751d46fd60 fixed properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283830 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 08:31:40 +00:00
Richard Quadling
9ea1b00bda Bug#47229
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282634 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-23 10:03:37 +00:00
Yannick Torres
02e589878d fix markup
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@279812 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-03 22:22:31 +00:00
Philip Olson
02f5774954 Added preg_filter() info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@278477 c90b9560-bf6c-de11-be94-00142212c4b1
2009-04-09 04:01:09 +00:00
Philip Olson
66baab5c9b Added basic preg_filter() docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@278476 c90b9560-bf6c-de11-be94-00142212c4b1
2009-04-09 03:58:16 +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
Jakub Vrana
984ebf240c Backslash in replacement (bug #43532)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268519 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-07 14:42:12 +00:00
Jakub Vrana
5cd86bd54a Typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268518 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-07 14:38:01 +00:00
Stanislav Yordanov
199eca0462 xml DTD validation problem fixed
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@255957 c90b9560-bf6c-de11-be94-00142212c4b1
2008-03-24 14:00:00 +00:00
Nuno Lopes
474035fd75 add PREG_BAD_UTF8_OFFSET_ERROR
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@255789 c90b9560-bf6c-de11-be94-00142212c4b1
2008-03-22 16:15:33 +00:00
Felipe Pena
e0c25b85eb Add example (using named subpattern)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@251266 c90b9560-bf6c-de11-be94-00142212c4b1
2008-01-24 17:04:27 +00:00
Felipe Pena
f7ef445f8f Add information about return value in case of error
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@250181 c90b9560-bf6c-de11-be94-00142212c4b1
2008-01-09 00:15:33 +00:00
Felipe Pena
cdaad7fc5e Add example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@247676 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-05 23:38:31 +00:00
Jakub Vrana
d3992aa101 $offset is in bytes (#41588)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241386 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-17 03:00:29 +00:00
Jakub Vrana
57b33ec289 Description of matches depend on flags (bug #42159)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241301 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-16 10:03:31 +00:00
Etienne Kneuss
0c07feb082 Bad wording
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@240231 c90b9560-bf6c-de11-be94-00142212c4b1
2007-07-23 19:32:16 +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