Christoph Michael Becker
84729f2123
Document PREG_UNMATCHED_AS_NULL
...
Sans the behavior of trailing unmatched subpatterns,
see https://bugs.php.net/73948 .
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344668 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-14 15:40:43 +00:00
Christoph Michael Becker
90251a0f83
Fix grammar
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342565 c90b9560-bf6c-de11-be94-00142212c4b1
2017-06-08 09:47:05 +00:00
Christoph Michael Becker
952a9acd72
Add note on avoiding substr() with $offset
...
--
Provided by anonymous 61891 (rasmus@mindplay.dk )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342563 c90b9560-bf6c-de11-be94-00142212c4b1
2017-06-08 09:30:36 +00:00
Christoph Michael Becker
f6b3cb3437
Fix #73709 : preg_match_all PREG_OFFSET_CAPTURE documentation incorrect
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341360 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-10 16:29:17 +00:00
Christoph Michael Becker
e9be1b6379
The page for strstr() recommends using strpos(). preg_match() should match this recommendation.
...
--
Provided by anonymous 62208 (Liam Morland)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337467 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 01:16:19 +00:00
Daniel Convissor
f08a981a30
Add preg_quote() to See Also
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335337 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-22 16:03:21 +00:00
Maciej Sobaczewski
8b5940cade
Remove changelogs for PHP 4 - 2nd round
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334605 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-26 14:28:17 +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
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
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
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
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
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
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
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
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
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
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
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
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
Martin Samesch
bf7e274c41
typo (wrong function)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@229026 c90b9560-bf6c-de11-be94-00142212c4b1
2007-02-05 09:53:42 +00:00
Mehdi Achour
039d648a12
ref.pcre: switch to new doc style
...
# And fix #40215
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@228785 c90b9560-bf6c-de11-be94-00142212c4b1
2007-02-02 22:11:46 +00:00
Mehdi Achour
64a1c7cc9e
WS, preparing for new doc style
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@228784 c90b9560-bf6c-de11-be94-00142212c4b1
2007-02-02 22:09:12 +00:00
Nuno Lopes
0e8a9a7ece
improve last example's regex
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@207466 c90b9560-bf6c-de11-be94-00142212c4b1
2006-02-18 22:44:06 +00:00
Jakub Vrana
2bed4f6ded
Fix return types (2/2)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@189137 c90b9560-bf6c-de11-be94-00142212c4b1
2005-06-24 09:11:47 +00:00
Jakub Vrana
c148211fa2
Replace <parameter>& by <parameter role="reference">
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@172416 c90b9560-bf6c-de11-be94-00142212c4b1
2004-11-10 08:30:50 +00:00
Andrey Demenev
7074759fdc
<function> => <literal>
...
use &example.outputs;
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@170513 c90b9560-bf6c-de11-be94-00142212c4b1
2004-10-12 11:20:28 +00:00
Jakub Vrana
9ce37c137f
offset VS substr (patch by Andrey Demenev)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@170504 c90b9560-bf6c-de11-be94-00142212c4b1
2004-10-12 07:49:06 +00:00
Friedhelm Betz
a3f050e977
markup:
...
no more <literal> with PHP (versions)
replace literal with meaningful tags where appropriate
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165937 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-10 16:30:22 +00:00
Jakub Vrana
37771eeb9e
Parameters passed by reference
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165096 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-03 15:51:11 +00:00
Nuno Lopes
51c605f72a
fix #28408 : simple proto fix
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@159270 c90b9560-bf6c-de11-be94-00142212c4b1
2004-05-21 14:04:32 +00:00
Dave Barr
67b99af1bc
- it's => its.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@152603 c90b9560-bf6c-de11-be94-00142212c4b1
2004-02-28 15:13:46 +00:00
Andrei Zmievski
c4a4fa48cf
Document new flags, parameters.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@147954 c90b9560-bf6c-de11-be94-00142212c4b1
2004-01-06 09:14:39 +00:00
Jakub Vrana
43ed9a3d9e
Xmas typos 5/5
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@146902 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-19 15:50:07 +00:00
Mehdi Achour
e8844eadb3
some more CS
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@146748 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-18 17:46:56 +00:00
Mehdi Achour
27960e632c
Merry XHTML and CS compliant christmas all \!
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@146503 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-15 16:55:22 +00:00
Derick Rethans
ed8565bb06
- Distinguish between notes and tips
...
- Use // for single line comments and /* // */ for multi line comments
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@132619 c90b9560-bf6c-de11-be94-00142212c4b1
2003-06-20 15:21:50 +00:00
Stefan Walk
37c2ed0b4c
added a note
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@132617 c90b9560-bf6c-de11-be94-00142212c4b1
2003-06-20 15:10:41 +00:00
Derick Rethans
9d8e216f95
- Layout and whitespace
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@132064 c90b9560-bf6c-de11-be94-00142212c4b1
2003-06-16 20:03:02 +00:00
Markus Fischer
0f428eadd3
- Update to latest PCRE changes.
...
# Would be nice if someone can provide examples for preg_match() and
# preg_match_all() with the new PREG_OFFSET_CAPTURE flag.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@85550 c90b9560-bf6c-de11-be94-00142212c4b1
2002-06-13 07:55:02 +00:00
Sander Roobol
834eb7f209
Fix return values of preg_match() and preg_match_all()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@81982 c90b9560-bf6c-de11-be94-00142212c4b1
2002-05-12 16:13:12 +00:00
Hartmut Holzgraefe
5b9fc29465
revision tags added
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78496 c90b9560-bf6c-de11-be94-00142212c4b1
2002-04-17 06:45:35 +00:00
Hartmut Holzgraefe
a4b6d72ad3
banana-split
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78202 c90b9560-bf6c-de11-be94-00142212c4b1
2002-04-15 00:12:54 +00:00