Commit graph

532 commits

Author SHA1 Message Date
Adam Harvey
00b427c07b Fix doc bug #53678 (Formatting Suggestion: "count" parameter). Also fix up the
str_ireplace() manual page, which seems to have lost paragraphs here and there
for some reason, by copying verbiage across from the str_replace() page and
changing it as required, and fix a grammatical error in the paragraph about
using arrays as search and replacement values.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307205 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-07 03:39:17 +00:00
Peter Cowburn
4a436e6205 htmlentities() page examples should use htmlentities() function
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306404 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-16 12:10:03 +00:00
Hannes Magnusson
959ade2dae Document the new charset_hint parameter
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306187 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-10 14:06:54 +00:00
Justin Martin
3ed5f72b6c Indicated change to substr's behaviour with start positions beyond truncation positions.
Added changelog indicating this BC break. Bug #53252.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305175 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-07 19:53:45 +00:00
Justin Martin
c1a545fd27 Indicated that substr does not accept an empty string.
Added an example of casting behaviour.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305162 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-07 15:27:33 +00:00
Kalle Sommer Nielsen
39ea8b6daf Fixed bug #53113, round two
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305143 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-07 04:11:27 +00:00
Kalle Sommer Nielsen
1312852e14 Fixed bug #53113 (number_format(): wrong usage of term "character" in multi-byte context)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304600 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-22 02:05:08 +00:00
Gustavo André dos Santos Lopes
6fb560cb84 - Warn that using the ENT_IGNORE flag in htmlentities/htmlspecialchars may introduce security
vulnerabilities. See Unicode Technical Report #36, section 3.6.2.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304388 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-14 06:12:16 +00:00
Adam Harvey
5589d96b19 Remove sentence that now makes no sense in the strrpos() description.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304381 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-14 02:38:23 +00:00
Adam Harvey
de05cef816 Fix doc bug #53051 (Just a TYPO!).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304370 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-13 10:34:16 +00:00
Gustavo André dos Santos Lopes
a27168c01e - Documented addition of ENT_IGNORE as per bug #43896
(changed its status from TBD to Closed).

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304297 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-11 01:15:45 +00:00
Gustavo André dos Santos Lopes
3bbb0ff28b - Substantially improved the documentation of strtr(). Closes bug #52968.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303931 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-02 08:48:14 +00:00
Jakub Vrana
523a46637b Better example for thousands_sep
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303740 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-24 05:12:09 +00:00
Richard Quadling
4034788aaf Initializers added to prototype.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303684 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-22 16:02:02 +00:00
Richard Quadling
7b4e2f0747 <function> => <parameter>. Fix #52760
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302968 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-01 10:03:06 +00:00
Philip Olson
136ef0c306 Added example to clarify behavior. Closes PHP bug #52509
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302077 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-10 17:37:37 +00:00
Adam Harvey
abbcf3fd73 Fix typo.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301672 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-29 03:19:30 +00:00
Yago Ferrer
9d84d8b88c Fixed broken build.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301608 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-27 11:22:38 +00:00
Daniel Egeberg
2e8619a7b8 Fixed PHP bug #52451 (substr() doc incomplete)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301600 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-27 06:31:38 +00:00
Adam Harvey
e6b8bd2a32 Fix doc bug #52353 (Deprecated function referenced in documentation) by
replacing split() in implode's see also list with preg_split().


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301310 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-16 03:43:10 +00:00
Daniel Egeberg
b5b882e695 Fixed PHP bug #52122 (implode(): No description of return value for degenerate case)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@300736 c90b9560-bf6c-de11-be94-00142212c4b1
2010-06-24 22:07:28 +00:00
Adam Harvey
ab5351a260 WS.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@300332 c90b9560-bf6c-de11-be94-00142212c4b1
2010-06-10 02:59:05 +00:00
Joey Smith
16f0f78d84 Clarify what appears to some to be a set of mutually exclusive assertions
by just pointing out that it's implementation-specific.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@300331 c90b9560-bf6c-de11-be94-00142212c4b1
2010-06-09 21:09:30 +00:00
Peter Cowburn
bc3a5cc7bd tidied up return values section for strtr()
- simpler normal return value description
  - empty key returns false (bug #51908)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299913 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-28 15:50:00 +00:00
Peter Cowburn
a1bc631b0f added normal return value description for explode - fixes bug #51937
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299897 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-28 08:32:05 +00:00
Peter Cowburn
1729bde5fb describe phonemes (was phones) parameter for metaphone. added basic examples. closes #51578
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298115 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-17 11:08:26 +00:00
Philip Olson
0b4c5897dd Commented out more PHP 6 documentation. Grep 'FIXME PHP_6' to fix. Helps close PHP Bug #51468
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297626 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-07 17:09:10 +00:00
Joey Smith
957d01e350 Clarified / fix docs of several instances where crypt() can be passed an invalid salt.
Added a ChangeLog entry for one trivial BC change in 5.3.2

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297172 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-30 11:42:08 +00:00
Daniel Egeberg
2fd3f0c96d Converted remaining files to utf-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297078 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-29 16:25:51 +00:00
Daniel Egeberg
92ac19c964 Reverted r297058
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297077 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-29 16:13:03 +00:00
Richard Quadling
41744b84ad Converted to UTF-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297058 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-29 09:53:08 +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
Jakub Vrana
f218579a89 No need to exit
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@296348 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-18 16:32:36 +00:00
Jakub Vrana
314dc1e417 Use word instead of number in refpurpose
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@296230 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-15 09:20:18 +00:00
Kalle Sommer Nielsen
9cfea04a70 Fixed bug #51151 (Example is wrong)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@296206 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-14 22:25:56 +00:00
Adam Harvey
42e8f18733 Fixed bug #51255 (crypt() example for SHA512 is wrong).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@296019 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-10 07:37:22 +00:00
Richard Quadling
20bde54f0b Add links between substr, substr_compare with single character access.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295733 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-02 13:22:58 +00:00
Yannick Torres
040a08b2af Fix WS & remove tab
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295563 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-27 09:01:19 +00:00
Joey Smith
632421687b - Document what PHP's crypt() does when underlying crypt() fails.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295442 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-23 22:08:17 +00:00
Joey Smith
026bae616b Replace usage of the term 'encryption' with 'hash' on
crypt() page.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295299 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-21 03:56:09 +00:00
Joey Smith
3087f7de70 Merge changes suggested by Solar Designer to clarify
how EDES and Blowfish salts work.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295298 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-21 03:32:45 +00:00
Joey Smith
31ead3f041 Note that these functions will trim NULs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295297 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-21 02:49:12 +00:00
Joey Smith
3e33a8d374 Clarification on the salt format for Extended DES
via pajoye and Solar Designer.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295263 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-19 20:24:23 +00:00
Joey Smith
f8e3f4345b Current blowfish implementation is limited to 2**4-2**31, according to
Solar Designer.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295224 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-18 00:10:10 +00:00
Joey Smith
a0ccfd74cb Note how to trigger Extended DES, and the acceptable
alphabet for salt characters.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295196 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-17 06:32:47 +00:00
Joey Smith
62c1bb2619 Further refine the Blowfish documentation - what characters are allowed in the salt,
what crypt() does if invalid characters are used, the valid number of rounds, what
happens if you specify an invalid number of rounds.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295180 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-16 17:41:49 +00:00
Joey Smith
a3e8136e4e 1) Fix the current Blowfish documentation. It was pretty horribly wrong, which Solar Designer pointed out to us quite a while back [1]. I more or less copied the way the Perl package Crypt::Eksblowfish::Bcrypt documents it, with a few modifications to make it fit better with how PHP uses it.
2) Document the new (as of 5.3.2) CRYPT_SHA_256 and CRYPT_SHA_512 constants (and the salt format that goes with them), as well as include the examples.

[1] http://markmail.org/message/k3tzsrahlketfj5K



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295093 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-15 12:13:37 +00:00
Richard Quadling
2a8a61e20a Removed inline <initializer> for the length parameter and described the default value in the Parameters section. Fix bug #50983
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@294881 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-11 11:18:34 +00:00
Daniel Egeberg
f77f7960cf Fixed #51004: Inaccurate description of sha1_file().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@294861 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-10 22:36:15 +00:00
Yago Ferrer
00038fbd00 This isn't a typo.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@294803 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-09 15:04:43 +00:00