Commit graph

241 commits

Author SHA1 Message Date
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
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
6e268a9287 Mention "forward back reference" in PCRE syntax (doc bug #52066)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302431 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-18 11:31:17 +00:00
Daniel Egeberg
d973dbdba6 Fixed up some formatting. Removed obsolete inline PHP 4 changelog info.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301647 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-28 08:18:50 +00:00
Daniel Egeberg
f49b14e3a0 Documented the (?| syntax in PCRE.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301646 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-28 08:06:25 +00:00
Daniel Egeberg
0486755f3f Changed PCRE syntax titles to convey meaning instead using the names of the characters.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301616 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-27 17:19:51 +00:00
Philip Olson
fc4d5e2d63 PHP 5.3.3 bundles PCRE 8.02. It's likely the only PHP that will, since 8.10 is out now, but 5.3.3 is in RC currently.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301091 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-08 16:54:36 +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
Peter Cowburn
008922dd52 leading WS (testing OE "re-indent this file" feature)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299210 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-10 11:21:54 +00:00
Peter Cowburn
1ad390c81a added pcre \g description (patch from Peter O'Callaghan)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299124 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-07 20:28:05 +00:00
Pierrick Charron
503c562c51 # More understandable explanation of how named subpattern work
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299033 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-05 20:57:06 +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