Commit graph

654 commits

Author SHA1 Message Date
Gustavo André dos Santos Lopes
46312574d5 - Empty charset for htmlentities() et al.
- Added warning about relying on the default as it's likely to change in
  PHP 5.4; see r296685.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@316016 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-02 04:06:30 +00:00
Nikita Popov
1ec8bcb2f1 Fix Doc Bug #55532
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315994 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-01 14:32:05 +00:00
Peter Cowburn
7cc07e7706 see also mb_split (thanks Olivier Pons)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315540 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-26 08:05:42 +00:00
Hannes Magnusson
c0c2f5bfad Fixed bug#55429 (Description of this function is incorrect and awkwardly written)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315052 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-17 10:35:35 +00:00
Richard Quadling
fc9e379fd8 Standardise on single style of quotes for XML tag.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315005 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-16 11:38:58 +00:00
Nikita Popov
96c7331ee1 Add substr_compare in See Also sections of strn?(case)?cmp
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@314932 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-15 09:45:29 +00:00
Jakub Vrana
fcd0e74390 Whitespace
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@314834 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-12 13:09:45 +00:00
Shein Alexey
79b017e888 Fixed a typo.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313819 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-28 09:41:03 +00:00
Justin Martin
5528f760d6 Added a "Password Hashing" faq, and notes to md5 and sha1 functions. Relates to bug #55215.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313306 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-17 02:23:51 +00:00
Joey Smith
55d88a8d9c Remove the term 'base64' from the crypt page - it seems to be perpetually confusing people that they can somehow pass in base64_encoded() data.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313299 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-16 22:20:46 +00:00
Jakub Vrana
b5003f8de6 Fix build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313279 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-16 08:16:52 +00:00
Peter Cowburn
510938d77a added example to sprintf of %n$ with other specifiers (thanks Steven)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313261 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-15 09:27:13 +00:00
Joey Smith
23fed62e91 Fix quoting, thanks to Julie Pelletier
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313119 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-10 20:18:08 +00:00
Jakub Vrana
e7442a11a5 hex2bin prototype
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312671 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-30 13:00:01 +00:00
Jakub Vrana
35202cdfb1 Accepts multiple-bytes separators since PHP 5.4.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312670 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-30 12:38:03 +00:00
Joey Smith
1f89edc4c6 Fixed awkward wording of a sentence in crypt() documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312628 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-29 15:16:48 +00:00
Gustavo André dos Santos Lopes
71b49c3573 - html_entity_decode claimed to have had its default encoding changed from latin1 to UTF-8 in
PHP 5.3.3; this is not true, as the change was only operated in PHP 5.4. Changed accordingly.
- Documented the behavior of encoding autodection when an empty string is passed as the
  "charset" parameter.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312428 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-24 09:00:51 +00:00
Peter Cowburn
4957025bee emphasize initial/start importance for strspn (re doc #54904)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311396 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-24 19:31:12 +00:00
Philip Olson
3c39fa17b3 Clarified removing middle strings via an example and note. Deals with PHP Bug #54697
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310860 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-09 18:22:39 +00:00
Hannes Magnusson
64042ccbff Remove several html entities and replace them with utf8 chars so we can drop the
dtd include
#   replaced with nothing
# — with —
# € with €
# ä with ä
# Ä with Ä


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310796 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-05 20:59:34 +00:00
Peter Cowburn
3aef45bb95 typofix (seperators to separators)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310545 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-27 08:56:38 +00:00
Hannes Magnusson
0cc8f380b3 Fixed bug#54611 one functionality is left out
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310543 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-27 08:45:13 +00:00
Adam Harvey
5c83d4c613 Fix doc bug #54519 (substr_replace array options not documented) by providing
some minimal documentation of the array parameter options available.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310346 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-19 07:22:19 +00:00
Adam Harvey
552b2685c9 Update the return value section of quotemeta() to fix doc bug #54539
(quotemeta('') returns false).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310344 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-19 06:21:15 +00:00
Yannick Torres
f6eebd2502 Fix bug #54496
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310078 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-09 07:07:32 +00:00
Shein Alexey
41d9ef6917 Added variable definitions in order to make example easy runnable.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309965 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-05 10:35:31 +00:00
Adam Harvey
e501119dcd Grammar tweak. I'd have linked example #2 if I could have figured out the magic
incantation to make it work, but alas.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309942 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-04 08:44:48 +00:00
Shein Alexey
085efc08f6 Fixed examples referencing page.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309937 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-04 08:18:20 +00:00
Shein Alexey
3ae2521093 Removed mentioning ereg_replace since it's deprecated.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309935 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-04 08:09:53 +00:00
Pierrick Charron
2a6af3606f Fixed bug #54449
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309925 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-03 20:54:35 +00:00
Shein Alexey
6386fc3b76 Changed to desc version sorting in changelog section.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309875 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-01 13:32:10 +00:00
Shein Alexey
ec1dcb1e8e Fixed some typos.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309710 c90b9560-bf6c-de11-be94-00142212c4b1
2011-03-26 11:30:41 +00:00
Shein Alexey
170ead3873 Fixed missing space.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309685 c90b9560-bf6c-de11-be94-00142212c4b1
2011-03-25 10:20:41 +00:00
Shein Alexey
5e23e0807d Fixed a typo in Blowfish's salt description (should contain 22 base64 digits/items).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309683 c90b9560-bf6c-de11-be94-00142212c4b1
2011-03-25 09:53:53 +00:00
Shein Alexey
7db0ab89d9 Fixed a typo.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309634 c90b9560-bf6c-de11-be94-00142212c4b1
2011-03-24 07:19:11 +00:00
Philip Olson
9cf659349d Documented strlen() behaviour with arrays including the 5.3 change. Closes PHP Bug #54153
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309499 c90b9560-bf6c-de11-be94-00142212c4b1
2011-03-21 17:25:48 +00:00
Adam Harvey
2a67a718ea Fix doc bug #54263 (htmlspecialchars - charsets are not equivalent).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309322 c90b9560-bf6c-de11-be94-00142212c4b1
2011-03-17 02:57:20 +00:00
Jakub Vrana
47e459fcb3 Beware slashes (doc bug #53319)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308213 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-10 16:09:22 +00:00
Jakub Vrana
efef4dfef6 Changelog (doc bug #53935)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308179 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-10 11:35:46 +00:00
Jakub Vrana
9e07fbf45c Default charset is now UTF-8, use <initializer>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308101 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-07 15:13:02 +00:00
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
Yago Ferrer
c66a231621 typo in NULL
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@294791 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-09 10:00:57 +00:00
Richard Quadling
7a3e1ab176 W/S tabs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@294413 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-03 14:13:08 +00:00
Richard Quadling
c29b3639b7 Remove BOM
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293498 c90b9560-bf6c-de11-be94-00142212c4b1
2010-01-13 11:33:32 +00:00
Kalle Sommer Nielsen
4bc27d8766 Remove the last of the PHP3 related stuff around the manual, including the documentation for:
* ascii2ebcdic
* ebcdic2ascii
* mysql_change_user

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293483 c90b9560-bf6c-de11-be94-00142212c4b1
2010-01-13 04:01:06 +00:00
Daniel Egeberg
6bb56ebdc3 Fixed #50317.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@292326 c90b9560-bf6c-de11-be94-00142212c4b1
2009-12-19 11:01:06 +00:00
Kalle Sommer Nielsen
729c9c6255 Fixed #50450 (quotemeta should list preg_quote in the "See Also" section)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@292280 c90b9560-bf6c-de11-be94-00142212c4b1
2009-12-18 06:10:07 +00:00
Richard Quadling
5c08968f76 Corrected initializer for length.
Expanded return values.
Bug#50402

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291868 c90b9560-bf6c-de11-be94-00142212c4b1
2009-12-08 09:29:30 +00:00
Richard Quadling
6e1065d077 Fix example for bug#50375
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291663 c90b9560-bf6c-de11-be94-00142212c4b1
2009-12-03 16:40:11 +00:00
Jakub Vrana
bc93886cd1 Prefer <initializer> before "default is"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291316 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-25 15:41:53 +00:00
Jakub Vrana
612e5af5ec Prefer <initializer> before "default value"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291314 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-25 15:22:02 +00:00
Jakub Vrana
201dc3748c Prefer <initializer> before "defaults to"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291313 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-25 14:49:47 +00:00
Jakub Vrana
1fcdef5c03 Document sprintf differences (bug #46267)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291079 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-20 13:14:48 +00:00
Jakub Vrana
9ec18fffa0 Document E, g and G
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291078 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-20 13:14:30 +00:00
Jakub Vrana
25a999a885 Windows don't support all three-letter codes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291077 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-20 12:53:45 +00:00
Daniel P. Brown
7ca5556f0e Incorporates suggested text from Bug #50235.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291014 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-19 17:08:15 +00:00
Daniel P. Brown
355a794f90 The FAQTS link was hijacked, defaced, or otherwise modified, and now shows nothing but SPAM links throughout.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290877 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-17 17:19:44 +00:00
Jakub Vrana
6ed2122298 Fix link (bug #49237)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290805 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-16 11:26:41 +00:00
Jakub Vrana
cadd9e4ccd Works with default charset (bug #49407)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290717 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-13 22:38:28 +00:00
Hannes Magnusson
4ab4d761f9 Improve markup
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290425 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-09 15:58:42 +00:00
Richard Quadling
3386603119 Typo (ahem) and moved error generating example to error refsect1.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290417 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-09 13:34:48 +00:00
Richard Quadling
99b6bb9716 Return false on failure. Fix bug#50107
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290408 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-09 09:57:37 +00:00
Joey Smith
316087ba95 Clear up a confusing example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290071 c90b9560-bf6c-de11-be94-00142212c4b1
2009-10-30 03:12:18 +00:00
Richard Quadling
58aa2c2dc0 substr.xml() length of 0/false/null will return an empty string. Fix bug#49951
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@289854 c90b9560-bf6c-de11-be94-00142212c4b1
2009-10-22 15:53:26 +00:00
Philip Olson
1b72640345 - Added parameter descriptions, which closes PHP bug #49796
- Split examples into two: basics and potential gotchas
- Integrated information about multiple replacement gotcha (left to right) via a zillion user notes
- Added example about said gotcha (via michael dot moussa at gmail dot com)
- A few other minor changes


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@289704 c90b9560-bf6c-de11-be94-00142212c4b1
2009-10-16 18:33:27 +00:00
Torben Wilson
e75b1e3882 Note that several charsets are effectively equivalent as far as
htmlspecialchars() is concerned.
Addresses bug #49412.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288982 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-30 07:17:10 +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
6f44f015af Flush out the documentation for strspn() a bit. This an example of a
very poorly documented function.
Addresses bug #46912
This still needs work.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288549 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-22 07:16:41 +00:00
Nilgün Belma Bugüner
fc044dead3 fixed build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@284635 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-23 07:34:38 +00:00
Daniel P. Brown
7fe7a860b8 Addresses Bug #48876, describes optional parameters 3+, and includes some grammatical changes.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@284631 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-23 03:56:10 +00:00
Jakub Vrana
f453b3a78c See also
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283870 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 16:24:20 +00:00
Nilgün Belma Bugüner
ed67b3c502 fixed properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283839 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 09:08:43 +00:00
Kalle Sommer Nielsen
8c633782ac Fixed #47618 (Say how to turn of interpolation on <<< here documents)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282800 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-26 06:59:03 +00:00
Rasmus Lerdorf
013472b277 Tweak
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282622 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-23 05:11:34 +00:00
Joey Smith
7ffd6b8baf Document precision specifier more clearly. This sentence fragement was
incorporated from the Linux man-pages project's documentation on printf(3)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@280456 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-13 16:06:59 +00:00
Yannick Torres
02e589878d fix markup
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@279812 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-03 22:22:31 +00:00
Richard Quadling
89e45ccb61 #48035 explode() returns empty array if delimiter not found and limit is negative
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@279116 c90b9560-bf6c-de11-be94-00142212c4b1
2009-04-21 14:05:32 +00:00
Richard Quadling
8ac9109e3d Use Unicode characters and UTF-8 encoding.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@278175 c90b9560-bf6c-de11-be94-00142212c4b1
2009-04-02 12:58:06 +00:00
Richard Quadling
d71304cb7c Remove default value for limit and document zero limit.
Bug #47546, #47727 and related to #47560


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@278167 c90b9560-bf6c-de11-be94-00142212c4b1
2009-04-02 09:24:07 +00:00
TAKAGI Masahiro
2b4474102a added notes for use with RDBMS.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@276880 c90b9560-bf6c-de11-be94-00142212c4b1
2009-03-08 10:35:32 +00:00
Jakub Vrana
56c755c5f0 Revert invalid methodsynopsis join
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273756 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-18 10:37:31 +00:00
Jakub Vrana
5730e7a2fa Initializers - part 5
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273648 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-16 16:14:26 +00:00
Jakub Vrana
6820605c57 Join two syntaxes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273647 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-16 16:12:42 +00:00
Carola 'Sammy' Kummert
b8af314c9c typo
set entity


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@272612 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-02 20:04:25 +00:00
Daniel P. Brown
68c238c19d Typofixes. Hooray.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@272069 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-28 00:52:31 +00:00
Carola 'Sammy' Kummert
7d16e320ce typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@271522 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-18 19:25:14 +00:00
Philip Olson
1f6db5345c Fixed simple spelling errors
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@271314 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-16 05:56:46 +00:00
Kalle Sommer Nielsen
b40758f015 * Added note + changelog entry for PHP's implementation of crypt() algorithms
* Added note about get_cfg_var() was fixed to return "array" ini options


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@271108 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-13 02:06:34 +00:00
Kalle Sommer Nielsen
c685c8d7c8 * Document XSLTProcessor::setProfiling() method
* Document stream_supports_lock()
* Document str_getcsv()
* gmp_testbit() is available as of 5.3


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@270943 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-10 16:36:01 +00:00
Kalle Sommer Nielsen
a770138eb3 Lets use <screen> here ;)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@270665 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-06 11:57:18 +00:00
Philip Olson
84525eff8e Changed deprecated ereg to preferred preg from SeeAlso and Examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@270042 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-28 20:34:00 +00:00
Nilgün Belma Bugüner
adca0b4e4a fix validity errors
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268985 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-14 05:17:09 +00:00
Kalle Sommer Nielsen
d0e1f032a1 This should be inside a <para>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268967 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-13 20:45:09 +00:00
Jakub Vrana
a79bfb070b Non-numeric number (bug #44156)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268494 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-07 11:55:23 +00:00
Jakub Vrana
edf9f39f9b Move info about returning false (bug #45967)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268331 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-05 09:00:09 +00:00
Jakub Vrana
4772b6277f A..z escaping (bug #46054)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268292 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-04 16:55:29 +00:00
Jakub Vrana
f60082dcb0 Fix protos
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268271 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-04 13:27:54 +00:00
Jean-Sébastien Goupil
fb9e622302 Update md5, add mp5_file reference
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@267752 c90b9560-bf6c-de11-be94-00142212c4b1
2008-10-25 21:03:22 +00:00
Kalle Sommer Nielsen
cf577d2adf * Added new examples for
* assert_options
 * get_current_user
 * ini_restore
 * sys_get_temp_dir
 * sha1_file


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@267550 c90b9560-bf6c-de11-be94-00142212c4b1
2008-10-20 10:30:08 +00:00
Felipe Pena
413b0c132a - Added examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@267159 c90b9560-bf6c-de11-be94-00142212c4b1
2008-10-10 18:12:54 +00:00
Kalle Sommer Nielsen
e23b547c7c Fix build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@267038 c90b9560-bf6c-de11-be94-00142212c4b1
2008-10-07 07:55:12 +00:00