Commit graph

891 commits

Author SHA1 Message Date
Dan Ackroyd
11418b6522 Clarified that padding char is optional
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335743 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-14 15:07:34 +00:00
Dan Ackroyd
1220101ce4 Added detail about padding character for bug 61532
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335742 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-14 14:55:44 +00:00
Adam Harvey
20d255c120 Added changelog notes for a BC break to undocumented crypt() behaviour.
Nobody should be relying on this anyway, but since Horde apparently was...


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335700 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-08 19:26:09 +00:00
Jean-Sebastien Hedde
3f69d9b08b Simply fixes a typo.
-- 
Provided by anonymous 53037 (tpunt@hotmail.co.uk)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335494 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-30 13:02:22 +00:00
Jean-Sebastien Hedde
204bc2974d Anonymous contributions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335457 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-29 12:49:12 +00:00
Alexander Moskaliov
d6d8413117 Fix argument and result definition
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335376 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-26 17:47:24 +00:00
Ferenc Kovacs
9122d3efcd this was fixed in 5.4.4 not in 5.4.1
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335217 c90b9560-bf6c-de11-be94-00142212c4b1
2014-11-26 16:48:54 +00:00
Maciej Sobaczewski
e4742710ff Change parameter name to make it consistent with:
- strtoupper() documentation
- <parameter> used in inline text

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334895 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-17 03:21:50 +00:00
Simion Onea
14af302c9c Making the XML definition consistent across the entire project.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334762 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-05 07:44:07 +00:00
Chris Wright
98751e689d Proper noun casing fix
-- 
Provided by anonymous 48275

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334702 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-01 16:21:45 +00:00
Adam Harvey
da75c15e02 Update the changed functions list, and integrate the changes into the text.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334639 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-28 05:47:47 +00:00
Adam Harvey
b0f439fdc0 Suggest hash_equals() on the crypt() page.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334629 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-28 03:45:57 +00:00
Adam Harvey
d45a16b5f9 Improve documentation for default_charset in PHP 5.6.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334627 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-28 03:36:23 +00:00
Maciej Sobaczewski
e41aab5eca Remove changelogs for PHP 4 - 3rd round
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334621 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-27 17:46:13 +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
Maciej Sobaczewski
afc3f34c68 Remove changelogs for PHP 4 - 1st round
Useful changelogs entries remain untouched.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334592 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-23 17:55:23 +00:00
Peter Cowburn
eda3b067eb no more "FIXME PHP_6" todo comments
These mostly were about unicode, which probably won't come
with PHP <next major number here>, and FILE_TEXT/FILE_BINARY.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334374 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-24 12:28:07 +00:00
Anthony Ferrara
925468837b Revert 334297 and 334297, as:
1) there was no discussion prior to edits (even in #66564)
2) It is incorrect, misleading and not the overall sentiment that needs to be communicated

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334309 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-17 22:14:11 +00:00
Yasuo Ohgaki
d2940da2ef Add note for crypt()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334296 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-17 01:20:14 +00:00
Yasuo Ohgaki
68d22233ea Fixed bug #66800
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334153 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-07 05:04:34 +00:00
Ferenc Kovacs
3fb1e0bf88 removing the misleading sentence (reported by Solar Designer, also pointed out by Michal Špaček previously in a comment for #66564)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333973 c90b9560-bf6c-de11-be94-00142212c4b1
2014-06-27 15:00:47 +00:00
Alexey Zakhlestin
54d64fe32a there are 4 function related to calculating lengths of strings.
added cross-links between them via "see also" section

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333972 c90b9560-bf6c-de11-be94-00142212c4b1
2014-06-27 14:40:20 +00:00
Jean-Sebastien Hedde
df427d95b9 Adding example to strcmp (Anonymous contribution)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333616 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-25 12:43:24 +00:00
Maciej Sobaczewski
1d13498b09 Link to mb_stripos() in "see also" section (fixes bug #67275)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333561 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-19 11:51:45 +00:00
Jean-Sebastien Hedde
13c378f08a Fix typo in function name
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333487 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-06 13:52:40 +00:00
Dejan Marjanovic
9905374cd0 Replace single quotes with double for (string) <initializer> unless string contains double quotes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333317 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-14 23:48:06 +00:00
Philip Olson
3db1770f78 Testing edit.php.net -- please ignore
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333292 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-09 17:33:26 +00:00
Peter Cowburn
cc99c21bda Wrap parameter order note in <note> tags
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333178 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:53:57 +00:00
Yasuo Ohgaki
556fb71ea4 Add changes needed for https://wiki.php.net/rfc/default_encoding
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332850 c90b9560-bf6c-de11-be94-00142212c4b1
2014-02-14 04:46:43 +00:00
Chris Wright
3a979fd995 Fix All The Trim()s! (aka. do rev. 332762 properly)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332763 c90b9560-bf6c-de11-be94-00142212c4b1
2014-01-31 15:17:54 +00:00
Chris Wright
8edc94024c Update name of second argument for trim() to match arginfo for reflection consistency
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332762 c90b9560-bf6c-de11-be94-00142212c4b1
2014-01-31 14:59:47 +00:00
Sherif Ramadan
824b84746c Add cautionary statement about truncation for crypt and password_hash using BCRYPT. Fixes Bug #66564.
This includes a cautionary statement that the CRYPT_BLOWFISH algorithm in crypt/password_hash functions
will truncate the input string at a maxmimum length of 72 characters. Typically not a problem for the
average use case since this is only likely used for passwords and assuming each hash has a unique salt.
However, it's still a good idea to document this behavior so that users are aware of the side effect.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332747 c90b9560-bf6c-de11-be94-00142212c4b1
2014-01-28 13:10:21 +00:00
Chris Wright
e0815cb568 Typo fix in strtr()
---
Provided by anonymous 36934

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332351 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-12 15:20:30 +00:00
Chris Wright
e1e76392d9 Line length correction in explode() example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332330 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-10 11:12:56 +00:00
Yasuo Ohgaki
1453847230 "quote" usually means srrounding string by quote chars (And addtionally escape). "escape" is appropriate word for addslashes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332298 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-09 00:07:42 +00:00
Joe Watkins
74684dc111 fix #66234 add not about wchar and sprintf
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332262 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-04 13:15:03 +00:00
Justin Martin
b18ed2abf4 Documented false return value on failure.
Fixes bug #66035.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332199 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-26 07:32:41 +00:00
Yasuo Ohgaki
c2d7a762b1 Update crypt() manual page for 5.6.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332022 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-30 22:13:59 +00:00
Joe Watkins
9bdac16ec0 #64371 don't use long
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331928 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-23 09:18:48 +00:00
Joe Watkins
85cdaa2e89 #64371 fix alphabetical ordering of specifiers, add table for extra points concerning co-ercion
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331922 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-23 08:31:48 +00:00
Joe Watkins
6a9b6f5fe4 #61626 include warning about %c ignoring width/padding
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331738 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-09 06:16:03 +00:00
Adam Harvey
ab480f7d49 Clarify the charlist warning on the addcslashes() page.
Fixes doc bug #65789 (addcslashes "predefined escape sequences").


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331629 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-01 17:22:13 +00:00
Chris Wright
59a1bbcb6f Whitespace fixes
Fix all outstanding strict whitespace errors flagged by the online editor

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331331 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-09 16:17:46 +00:00
Joe Watkins
5b39c74139 incorrect function signature #65262
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331154 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-19 05:44:24 +00:00
Joe Watkins
002874ff0f spelling correction for #65471
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331151 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-19 05:11:41 +00:00
Yannick Torres
33040b3b1b Typo found by online editor user
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331135 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-16 09:25:19 +00:00
Yoshinari Takaoka
698cad0c1d - fixed syntax.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331017 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-25 08:32:51 +00:00
Yasuo Ohgaki
568ee52377 Fix bug #65290
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331006 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-22 23:25:57 +00:00
Yasuo Ohgaki
10798eed66 Update hex2bin() changelog
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330793 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-08 10:45:54 +00:00
Jakub Vrana
fc6db68bc4 Link quotemeta() and ereg functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330654 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-25 22:21:05 +00:00
Jakub Vrana
1634a88641 Delete redundant <!-- Membership: -->
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330340 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-23 17:38:21 +00:00
Peter Cowburn
65ecfa33fd initializer
-----
Patch by Hans Henrik Bergan

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329667 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-05 21:09:48 +00:00
Karoly Negyesi
0e7ceba0fb document passing non-scalars to strtr().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329430 c90b9560-bf6c-de11-be94-00142212c4b1
2013-02-05 09:43:01 +00:00
Sherif Ramadan
336bf822a6 Removed dubious wording in implode parameter description. Fixes bug #63985.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329161 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-16 14:32:49 +00:00
Justin Martin
c6e10c6653 Clarified language of CRYPT_BLOWFISH character range admonition.
Contribution by Ole Aass.
Closes bug #63755.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329093 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-12 04:04:32 +00:00
Adam Harvey
87455002a7 Add a note about position specifiers respecting PHP_INT_MAX.
Fixes doc bug #61531 (Integer Overflow in all printf functions).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328312 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 02:14:56 +00:00
Adam Harvey
966013e33d Integrate user note 48364, since it's correct about the limitations of
strip_tags() with regards to tag length.

Also add a couple of full stops, because that's how I roll.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327709 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-20 11:51:38 +00:00
Adam Harvey
34593e9061 Fixed doc bug #63024 (PHP 5.4.0, <?= is always available).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327507 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-07 02:45:01 +00:00
Adam Harvey
cf1826d271 Fix doc bug #62950 (PHP documentation broken link), and change the displayed
link text from the URIs to something more descriptive, since the new URIs are
actually uglier than the old ones (thanks, Microsoft).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327333 c90b9560-bf6c-de11-be94-00142212c4b1
2012-08-28 01:46:15 +00:00
Hartmut Holzgraefe
4955626c0e thinko fix ...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326946 c90b9560-bf6c-de11-be94-00142212c4b1
2012-08-02 14:07:45 +00:00
Hartmut Holzgraefe
941f2efa4a added http_build_query() to "see also" on import()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326945 c90b9560-bf6c-de11-be94-00142212c4b1
2012-08-02 13:35:31 +00:00
Joey Smith
54bcc14fac Clarified some common confusion in the crypt() examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326912 c90b9560-bf6c-de11-be94-00142212c4b1
2012-08-01 01:48:12 +00:00
Adam Harvey
2b0ee0e1f8 Add a proper citation for Oliver in the similar_text() description, per the
discussion in the notes.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326815 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-26 02:03:10 +00:00
Hartmut Holzgraefe
8860f92aee Added explicit warning about 32 vs 64bit platform issues
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326796 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-24 17:10:02 +00:00
Pieter Hordijk
0ace4ef6ff Improved wording of width parameter description
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326786 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-23 16:25:44 +00:00
Yannick Torres
67603e0296 Add an example
#Provided by Kriscraig

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326752 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-20 23:08:14 +00:00
Adam Harvey
d0223af67d Fix doc bug #62414 (Out of date docs for CRYPT_BLOWFISH). I'd greatly
appreciate a review on this, since I'm not sure it's as well worded or laid out
as it could be -- the one paragraph per hash convention is starting to get a
little tight.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326725 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-20 08:39:55 +00:00
Adam Harvey
c2b3d06db9 Fix doc bug #62608 (Documentation examples use printf(), not sprintf()).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326717 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-20 02:16:03 +00:00
Jakub Vrana
5bf2caeb5f Link strncmp
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326716 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-19 22:46:06 +00:00
Nikita Popov
108c6379ec Fix Doc Bug #62494: Description of is_xhtml arg is wrong
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326503 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-06 21:34:20 +00:00
Gustavo André dos Santos Lopes
f5413e36e9 - Improve htmlspecialchars() and html_entity_decode() docs.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326281 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-21 13:17:23 +00:00
Anthony Ferrara
1d6a5e11a8 Added a note to strlen() stating it return number of bytes rather than number of chars
-- 
Provided by anonymous #16392 (info@pieterhordijk.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326075 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-10 01:58:16 +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
Hannes Magnusson
a4861592bb Add experimental autogenerated changelog entries for few books.
This requires PhD 1.1.6-dev :)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326056 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-09 13:15:55 +00:00
Hannes Magnusson
cb80c22afb We know this is PHP
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325991 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-05 16:31:12 +00:00
Jakub Vrana
84b8fca68f Use <function> for language constructs (now supported by PhD)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325214 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-15 21:45:34 +00:00
Jakub Vrana
255d999b4e Escapes everything necessary with proper encoding
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325062 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-11 18:33:25 +00:00
Nikita Popov
df056148bc Make it clear that hex2bin does not convert hex numbers to bin numbers.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325037 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-11 10:45:21 +00:00
Nikita Popov
644ee2d6ed Document the hex2bin odd length error.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324990 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-09 21:51:56 +00:00
Adam Harvey
5e6e91b7dc Fix doc bug #61596 (Documentation doesn't mention negative return values).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324696 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-02 06:52:56 +00:00
Jakub Vrana
b18da506de magic_quotes_gpc is not on by default anymore
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324587 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-27 18:59:52 +00:00
Jakub Vrana
a9b26c34e4 Display language constructs without parentheses
Side effect of this change is that include, require and return are now properly linked. They weren't because they don't live inside <refentry> so PhD doesn't know about them.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324522 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-25 08:39:30 +00:00
Gustavo André dos Santos Lopes
2c4e6c6649 - Fixed several screw ups in r324188.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324203 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-13 22:02:26 +00:00
Gustavo André dos Santos Lopes
de8016e755 - Improved documentation of ENT_DISALLOWED.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324188 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-13 14:39:01 +00:00
Jakub Vrana
4de5cce5d8 Linkable reference constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323624 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-28 13:22:09 +00:00
Jakub Vrana
b543dc50c1 Fix order of parameters and return value sections
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323616 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-28 09:55:32 +00:00
Stanislav Malyshev
2aba10e8d0 fix versions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323561 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-26 07:46:05 +00:00
Jakub Vrana
4effeb4d1f HTML functions use encoding, not character set
E.g. ISO-8859-1 is both character set and encoding but UTF-8 is encoding of Unicode character set.

See also http://bugs.php.net/61116

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323270 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-16 23:55:01 +00:00
Jakub Vrana
45b80e2b17 Missing \n
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323269 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-16 23:50:19 +00:00
Gordon Oheim
68c2090fe7 clarified that the function will return the haystack including the needle, related to #61085
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323218 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-14 18:35:06 +00:00
Gordon Oheim
1d04cd176b clarified that the function will return the haystack including the needle, fixes #61085
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323216 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-14 18:19:06 +00:00
Justin Martin
083e576970 Clarified empty string return value. Closes bug #60949.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323058 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-04 20:41:11 +00:00
Nikita Popov
deb241818f Add new ENT_* constants to constants.xml
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322907 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-28 15:49:03 +00:00
Nikita Popov
de64548759 Update html_entity_decode() and htmlspecialchars_decode() docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322906 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-28 14:32:07 +00:00
Nikita Popov
07dcc54607 Add UTF-8 initializer for charsets in htmlspecialchars() etc
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322905 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-28 14:05:43 +00:00
Nikita Popov
7b0db0396c Fix tabs in htmlentities() / htmlspecialchars() - this time for real
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322904 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-28 13:25:00 +00:00
Nikita Popov
c4b60d971e Update get_html_translate_table() docs
* Rename quote_style => flags, charset_hint => charset
* Add docs for new doctype flags
* Document default charset change

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322903 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-28 13:20:21 +00:00
Nikita Popov
e5f1a5a296 Update the charset table for htmlspecialchars() et al.
* Add ISO-8859-5 (with ISO8859-5 alias); add MacRoman
* Add aliases SJIS-win and XP932 for SJIS; add alias eucJP-win for EUC-JP
* Remove ancient inline version data

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322902 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-28 12:52:30 +00:00
Nikita Popov
6d81fbcfe3 Remove tab characters (in hope that this is the last thing I did wrong today)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322874 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-27 21:31:58 +00:00
Nikita Popov
ab96d5eb42 Revert accidental revert of some changes. Sorry for that.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322870 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-27 21:12:54 +00:00
Nikita Popov
e07570b463 Minor improvements to htmlspecialchars() and htmlentities() docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322868 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-27 20:42:48 +00:00
Peter Cowburn
df2a10ccdd changelog order (newest first)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322846 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-27 13:36:13 +00:00
Adam Harvey
a409ddfb6a Fix doc bug #60884 (htmlentities() behaves differently and thus breaks existing
code) by clarifying the new behaviour in PHP 5.4.0.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322842 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-27 10:00:18 +00:00
Matthew Fonda
3268a9eed3 fix spelling mistake: "beginnning" should be "beginning"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322459 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-18 22:42:27 +00:00
Jakub Vrana
9ffbd15a2f See also strpbrk + cleanup
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321865 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-07 14:30:49 +00:00
TAKAGI Masahiro
f76e503c9c fix description. "the last" should be "the first".
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321602 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-31 03:59:59 +00:00
Matt Li
30a6ab9bdf Fix as per note #106986 and unify format between related functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321383 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-25 02:27:36 +00:00
Hannes Magnusson
edd2a0da13 kill undocument warning
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321135 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-18 16:47:28 +00:00
Nikita Popov
c204d791d4 Remove inline changelog from htmlspecialchars (in sync with removal from htmlentities)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320681 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-08 17:17:32 +00:00
Jakub Vrana
58aca47cd2 History in changelog
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320552 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-07 04:15:37 +00:00
Richard Quadling
8b6d169424 Native EOL
Use consistent line terminator.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317663 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-03 16:27:39 +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
Shein Alexey
58652094db WS
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317095 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-21 12:10:39 +00:00
Nikita Popov
6306561c68 Followup to Doc Bug #55547 (Undocumented flags for htmlentities()): Adjusted initializers and changelog.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@316909 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-17 12:08:59 +00:00
Nikita Popov
95089fd327 Fix Doc Bug #55547: Undocumented flags for htmlentities()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@316908 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-17 11:32:28 +00:00
Yannick Torres
88a88985b9 typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@316587 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-13 06:12:03 +00:00
Shein Alexey
dac6507c60 WS
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@316333 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-07 11:04:36 +00:00
Gustavo André dos Santos Lopes
96f001d906 - Replaced vague statement with a more precise one.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@316017 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-02 04:10:41 +00:00
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
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
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
# &nbsp; replaced with nothing
# &mdash; with —
# &euro; with €
# &auml; with ä
# &Auml; 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
Philip Olson
df50bd494a Added PHP/PECL version information
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@275622 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-11 22:20:31 +00:00
Philip Olson
a67ff92b5e Added PHP/PECL version information
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@275552 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-11 07:41:18 +00:00