Christoph Michael Becker
f6108da0b5
Remove RCE example
...
This example is (not incorrectly) flagged as Backdoor:PHP/Remoteshell.A by
Windows defender (and possibly other AV engines), so we rewrite the
respective part of the manual.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348780 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-03 15:12:15 +00:00
Christoph Michael Becker
82cff784b0
Merged revision(s) 347600 from phpdoc/en/trunk:
...
Fix #78163 : preg_quote() documented as accepting null for $delimiter, which actually throws
........
Cf. <https://bugs.php.net/bug.php?id=78163#1560771170 >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347611 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-17 12:35:42 +00:00
Christoph Michael Becker
568cd69529
Fix #78163 : preg_quote() documented as accepting null for $delimiter, which actually throws
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347600 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-14 16:11:17 +00:00
George Peter Banyard
508e255fff
Remove PHP 4 and 5.0.0 mentions.
...
This includes changelogs but also some paragraphs and notes which mention PHP 4.
This should include all mentions of PHP 4 in "bundled" extensions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347589 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-11 13:21:49 +00:00
Christoph Michael Becker
d31d783a65
Fix #77848 : Documentation on the /e removal is misleading
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347268 c90b9560-bf6c-de11-be94-00142212c4b1
2019-04-17 14:21:49 +00:00
Tyson Andre
a9ada9d6f9
fix typos in extension documentation
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346848 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-18 05:42:50 +00:00
Christoph Michael Becker
51c879c163
Update upgrade history of the bundled PCRE library
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346442 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-28 12:36:02 +00:00
Christoph Michael Becker
f49e92f06f
Add hash to list of special regular expression characters
...
Patch provided by Huiren Woo.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346423 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-26 14:20:39 +00:00
Christoph Michael Becker
d65981e8ec
Fix #77316 : (?X) produces warning: Compilation failed: unrecognized character after (? or (
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346384 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-18 19:22:10 +00:00
Christoph Michael Becker
48bac4e0ab
Integrate user note 118893
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345922 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-28 10:45:30 +00:00
Pasindu De Silva
7e18f0a154
Added change log about preg_quote() escaping the '#' character.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345761 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-01 17:33:37 +00:00
Christoph Michael Becker
f73a9831d2
With declare(strict_types = 1) null is not an allowed value for the limit parameter.
...
--
Provided by anonymous 89383 ()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344928 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-02 22:19:23 +00:00
Christoph Michael Becker
6e796ded26
Fix substr() related markup
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344771 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-20 16:32:15 +00:00
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
e1a63cdc60
Document new J
modifier
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343482 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-28 16:10:38 +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
5c93bc6f29
Gender neutral wording
...
Patch provided by Tom Hudson.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342184 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-25 12:23:58 +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
Maciej Sobaczewski
95bdd6883b
Another round of PHP 4 content removal (mostly inline mentions)
...
Review is welcome
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341282 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-05 10:17:07 +00:00
Christoph Michael Becker
c01961f079
Fix typos
...
Patch provided by anon users.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341136 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-25 12:22:13 +00:00
Christoph Michael Becker
1520fc2ce5
--without-pcre-jit is available as of PHP 7.0.12
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340986 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-13 14:16:46 +00:00
Christoph Michael Becker
441f9436b4
Fix #66664 : preg_match_all + PREG_PATTERN_ORDER + PCRE_INFO_JCHANGED, output wrong result
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340012 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-10 00:25:03 +00:00
Christoph Michael Becker
8adbf24fe9
Document failure return value
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339933 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-23 13:34:21 +00:00
Christoph Michael Becker
b64ba59d6a
Fix #64516 : preg_quote() doesn't work to escape the replacement
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339916 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-20 13:02:09 +00:00
Christoph Michael Becker
4e713319a0
Add missing markup
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339915 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-20 12:57:20 +00:00
Christoph Michael Becker
20ccb21520
Integrate user note 115687
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339914 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-20 12:49:18 +00:00
Christoph Michael Becker
ceb9bcd643
Fix #67758 : PCRE version notes not up-to-date
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339684 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-21 12:00:25 +00:00
Christoph Michael Becker
f41fee15b5
Fix #72353 : Misleading quote concerning PCRE in "UTF-8 mode"
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339309 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-07 14:28:24 +00:00
Christoph Michael Becker
91b8b05f52
fix #72341 : Inconsitent $ escaping in preg_replace replacement patterns
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339301 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-06 16:54:44 +00:00
Peter Cowburn
62e96a7df3
\R is commonly used but still missing from the manual
...
--
Provided by Alexander Makarov (sam@rmcreative.ru )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339182 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-17 22:22:52 +00:00
Christoph Michael Becker
d62d6b01c4
minor fixes by anon users
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338862 c90b9560-bf6c-de11-be94-00142212c4b1
2016-03-31 18:48:08 +00:00
Christoph Michael Becker
717ac3060f
partially fixed bug #71237 : preg_replace_callback is not marked as available in PHP7
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338400 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-03 13:56:50 +00:00
Adam Harvey
72af2380f5
Cut down the preg_replace_callback_array() part of the migration guide.
...
I've removed the example: it was terrific, but the function reference has a
good example, and it was much too long for the page.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337869 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-21 12:17:02 +00:00
Philip Olson
fffa6686bb
PCRE library upgrade updates
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337753 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-04 17:55:51 +00:00
Karoly Negyesi
5d70fe7a40
Documenting Unicode character properties inside character classes
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337628 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-25 18:58:07 +00:00
Christoph Michael Becker
ae2e4360c9
maximum number of captured substrings may not be reachable ( fixes #70328 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337592 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-23 13:53:50 +00:00
Christoph Michael Becker
8a1b96facb
recommend PCRE 8.10 for current PHP versions
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337590 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-22 16:52:04 +00:00
Simion Onea
7050d96265
Corrected/added SVN properties, especially svn:keywords.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337516 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-17 15:27:48 +00:00
Thomas Punt
3485a1d2b3
Add version information to preg_replace_callback_array()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337511 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-17 10:12:36 +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
Thomas Punt
03393b1f43
Added preg_replace_callback_array function
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337413 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-12 15:39:47 +00:00
Christoph Michael Becker
84a87a7fa9
documented PREG_JIT_STACKLIMIT_ERROR
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337283 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-04 02:14:47 +00:00
Christoph Michael Becker
c0024126d1
updated PCRE documentation
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337221 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-22 12:30:09 +00:00
Christoph Michael Becker
f0e566aee7
documented \g<name> and \g'name' syntax for PCRE patterns (fixes bug #62428 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336943 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-14 14:13:44 +00:00
Maciej Sobaczewski
86727eb89e
Document PREG_REPLACE_EVAL removal
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336806 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-20 05:15:44 +00:00
Pieter Hordijk
61b8c6fb86
Fixed references to examples / explanation "below" and "above" to actually link to the content.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336703 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-30 19:32:03 +00:00
Maciek Sokolewicz
cbe2facb3e
added paragraph explaining the way whitespace characters are handled by PCRE (patch by Christoph M. Becker)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336248 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-29 20:47:03 +00:00
Dan Ackroyd
cc6711c55b
Corrected order. The example is showing that the order is unexpected, and that you need to sort to get the 'right' order.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335841 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-29 19:33:59 +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