Commit graph

256 commits

Author SHA1 Message Date
Nikita Popov
a0efd60818 Remove mentions of create_function from docs. Add caution to create_function docs advising to use anon funcs instead.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331556 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-28 15:43:16 +00:00
Adam Harvey
da7b5ad7bc Update the \X documentation to reflect the new behaviour in PCRE ≥ 8.32.
Fixes doc bug #65651 (Since PCRE 8.32, \X does not match (?>\PM\pM*)).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331343 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-11 20:27:08 +00:00
Joe Watkins
fa51bf600c add tip for #65468
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331152 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-19 05:17:59 +00:00
Philip Olson
00a507863e Clarify a bit that \e is deprecated
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330943 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-17 04:35:39 +00:00
Philip Olson
0e543d1e22 Added the latest PCRE bumps
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330640 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-25 04:29:38 +00:00
Philip Olson
c05234126b Added the word escaped to help deal with PHP Bug #64876 and added a 'See Also' for good measure.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330635 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-24 23:17:24 +00:00
Jakub Vrana
1634a88641 Delete redundant <!-- Membership: -->
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330340 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-23 17:38:21 +00:00
Jakub Vrana
fcf6390340 Prefer anonymous function over create_function()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330241 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-16 18:25:02 +00:00
Jakub Vrana
f68abbe82c Document callback signatures
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330240 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-16 18:24:33 +00:00
Peter Cowburn
773da2681a CS
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329662 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-05 20:27:18 +00:00
Justin Martin
a440d85ce3 Added example output for examples 1 and 2.
Contribution by Ole Aass.
Closes bug #63869.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329086 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-12 00:11:56 +00:00
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
Joe Watkins
e25450d9dc many bugs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328365 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-15 13:40:31 +00:00
Adam Harvey
2a3ee2e7c6 Update the Unicode character properties to document the existence of script
names in PCRE.

Fixes doc bug #54154 (Missing info about using \p{xx} and \P{xx} escape
sequences with script names).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328321 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 10:00:46 +00:00
Philip Olson
470411948d PHP 5.3.7 bundles PCRE 8.12
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328247 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-06 02:12:34 +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
Peter Cowburn
cca4900cad fix build (broken pcre /e caution)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326251 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-19 16:29:52 +00:00
Nikita Popov
faa7c360f5 Add /e modifier warning
As discussed on IRC this does not mention that it will be deprecated in 5.5, only says that it is "discouraged".

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326239 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-19 12:43:00 +00:00
Hannes Magnusson
858cacd62c mark bunch of extensions with "membership" PI (like the membership comment)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326064 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-09 17:34:56 +00:00
Felipe Pena
33f6eda0cd - Fixed bug #62237 (PCRE recursion pattern should be (?&name), not (?P&name))
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326014 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-07 17:38:10 +00:00
Joey Smith
67921109e7 cleared up potential confusion - saying it "makes it possible to include comments" can be construed as saying "All of PHP's methods of comments are safe inside a /x modified regex"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325961 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-04 09:48:06 +00:00
Jakub Vrana
6b70471032 Refine $
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325888 c90b9560-bf6c-de11-be94-00142212c4b1
2012-05-29 21:48:10 +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
Peter Cowburn
ed5c3caa2c fix pcre u modifier name
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323956 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-06 15:50:53 +00:00
Jakub Vrana
f052ac1bd7 Revert useless change in 326638
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323642 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-29 00:24:15 +00:00
Jakub Vrana
c0ade579d4 PHP_INI_* is in fact INI_
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323638 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-28 20:26:39 +00:00
Jakub Vrana
c1dc0919bf Linkable reference constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323628 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-28 13:37:00 +00:00
Jakub Vrana
b9c3ddd1d3 Use entities for INI headings
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322061 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-11 08:09:53 +00:00
Shein Alexey
ed0dfe5c2d Wrapped addslashes with a function tag.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320418 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-05 11:41:50 +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
Gordon Oheim
599f9bee70 fixed version number to correct version
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318986 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-10 09:43:25 +00:00
Gordon Oheim
d8a2fb9293 fixes #60228 New default pcre.backtrack_limit value as of 5.3.7 isn't documented
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318985 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-10 09:32:17 +00:00
Peter Cowburn
4940aeab08 tidy mention of PCRE_CASELESS modifier (doc #60178)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318659 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-01 22:16:26 +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
cd98a956db Availability column
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@314246 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-04 11:33:50 +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
ac04b2ea21 Extension purpose is not needed anymore
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313269 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-15 15:46:15 +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
Adam Harvey
e43a330c07 Fix doc bug #55039 (Error in
http://ru.php.net/manual/en/regexp.reference.escape.php).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312148 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-14 13:46:11 +00:00
Adam Harvey
a1ad96c660 Fix doc bug #55041 (Term "lookbehind" instead of "look-behind").
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312147 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-14 13:42:07 +00:00
Philip Olson
ed1264f797 Added latest bundled PCRE version info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310717 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-02 21:37:12 +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
Jakub Vrana
c15909ba49 Mention pcre.backtrack_limit by ungreedy modifier (doc bug #53751)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308190 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-10 13:03:45 +00:00
Adam Harvey
13a1667008 Fix doc bug #53884 (http://www.php.net/manual/en/pcre.pattern.php should have
pattern syntax first).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307895 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-01 05:14:54 +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
Joey Smith
d4a5d793eb Fix singular/plural form
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307521 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-16 19:54:57 +00:00