Commit graph

19697 commits

Author SHA1 Message Date
Peter Cowburn
5c3e876690 Corrects the documented value for the SplFileObject::SKIP_EMPTY constant. (doc #63282)
salathe: also added changelog entry for SKIP_EMPTY

--
Provided by Niel Archer (niel.archer@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328339 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 22:35:27 +00:00
Peter Cowburn
d223be3bb0 Reorder GD entry to appear with other G's (bug #63194)
--
Provided by Niel Archer (niel.archer@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328338 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 22:35:15 +00:00
Peter Cowburn
d701c908c9 is_string() more descriptive example code output
--
Adapted from patch provided by Hans Henrik Bergan (divinity76@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328337 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 22:35:05 +00:00
Peter Cowburn
749312bffa Added script execution timing example which utilizes REQUEST_TIME_FLOAT (microtime as float) added in PHP 5.4
--
Provided by Dejan Marjanovic (dejan.marjanovic@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328336 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 22:34:55 +00:00
Peter Cowburn
2156ae971c Adding a note that shutdown functions won't be executed if the script gets a SIGTERM or SIGKILL, though you can pcntl_signal() for the TERM and exit;. (doc #63275)
--
Provided by anonymous #22227 (mail+php@requinix.net)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328335 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 22:34:43 +00:00
Peter Cowburn
9ee94cd5a8 Fix missing parenthesis in comment in example
--
Provided by anonymous #22227 (mail+php@requinix.net)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328334 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 22:34:30 +00:00
Peter Cowburn
319224336b exif_imagetype (actually standard/image.c, php_getimagetype) requires between 3 and 12 bytes in a file, otherwise it E_NOTICEs. (doc #63329)
--
Provided by anonymous #22227 (mail+php@requinix.net)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328333 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 22:34:17 +00:00
Peter Cowburn
c746fb679f count() does in fact discover recursion and issues an E_WARNING in response... but it will probably return a much higher number than it should. (doc #63406)
--
Provided by anonymous #22227 (mail+php@requinix.net)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328332 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 22:34:04 +00:00
Peter Cowburn
8432279c30 more detail for imagecopymerge/imagecopymergegray
--
Provided by anonymous #20490 (ajf@ajf.me)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328331 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 22:33:52 +00:00
Peter Cowburn
8b2059d649 escaping for the database was done wrong in the past in PHP but this part of the manual still is in the past and does not reflect that change
--
Provided by anonymous #19624 (hanskrentel@yahoo.de)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328330 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 22:33:39 +00:00
Peter Cowburn
86cf1edfd3 Update MySQLi constants.
MYSQLI_TYPE_CHAR is an outdated alias for MYSQL_TYPE_TINY.
The type for CHAR() fields is MYSQLI_TYPE_STRING
see http://dev.mysql.com/doc/refman/5.1/en/c-api-data-structures.html

--
Provided by anonymous #18986 (jg@handcode.de)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328329 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 22:33:28 +00:00
Peter Cowburn
c462ee1e0a Add a cross-reference in the introduction to Class/Object functions to the discussion of the object type.
--
Provided by anonymous #13445

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328328 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 22:33:17 +00:00
JulienPauli
b80b249bb4 Clarified return value API.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328324 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 16:50:05 +00:00
Adam Harvey
2a3ee2e7c6 Update the Unicode character properties to document the existence of script
names in PCRE.

Fixes doc bug #54154 (Missing info about using \p{xx} and \P{xx} escape
sequences with script names).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328321 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 10:00:46 +00:00
Adam Harvey
f05dbe5e23 Add an errors/exceptions section to SoapClient::SoapClient().
Fixes doc bug #54179 (SoapClient can emit warnings, but this is not
documented).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328320 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 09:35:29 +00:00
Adam Harvey
c9f928c690 Change the documentation of sqlite_key() to reflect that it can only be called
as an instance method, unlike every other SQLite function. The previous
changelog was, in fact, completely incorrect.

This is absolutely not the right way to do this, and anyone who has a better
idea for how to represent this case is welcome to commit their own fix.
Unfortunately, because the OO API is just a set of method aliases for the
procedural API and it's infrequently used, we don't have the class/method
structure that we have in (say) mysqli, and attempting to retrofit it now would
result in all of the URLs for the SQLite function pages breaking.

Ugh.

Fixes doc bug #54073 (The sqlite_key() documentation should mentioned
procedural usage), for a very low value of fixes.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328319 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 09:25:24 +00:00
Adam Harvey
3c107e7192 Fix doc bug #55140 (Ambiguous statement describes FQ namespace) with the
anonymous commenter's suggestion.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328318 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 09:14:26 +00:00
Adam Harvey
c29b5cf9aa Add a note that SOAP arguments need to be associative in most cases.
Fixes doc bug #54100 (Example slightly wrong).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328317 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 04:08:43 +00:00
Adam Harvey
0cdc5ae1db Update the 5.3 migration guide with the various suggestions Ferenc made a while
back. Additionally, link the configuration directives consistently.

Fixes doc bug #52524 (the 5.3 migration documentation lacks some details).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328316 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 03:43:29 +00:00
Xinchen Hui
67a8db90d5 Fix doc bug #63483
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328315 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 02:58:27 +00:00
Adam Harvey
57ec267b58 Clarify the mbstring.func_overload documentation, specifically where it can be
changed.

Fixes doc bug #49189 (mbstring.func_overload can not be changed out of
php.ini).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328314 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 02:42:57 +00:00
Adam Harvey
053ec3fe68 Update gzencode() documentation for the new FORCE_DEFLATE behaviour in PHP 5.4.
Fixes doc bug #47178 (Missing gzip headers in gzencode() output).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328313 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 02:33:53 +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
5c96ba57d9 Update the rename() description to note that it overwrites and moves between
directories.

Fixes doc bug #63473 (rename rename).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328311 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 02:00:58 +00:00
TAKAGI Masahiro
6a7acbb4b4 Set svn:keywords
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328309 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-11 20:14:01 +00:00
Kalle Sommer Nielsen
f49c307f13 Minor markup fixes to r328306, including WS in ssh2_auth_agent() (should probably have used svn:prop, but hey!)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328308 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-11 19:22:21 +00:00
Casper Langemeijer
48198c6c99 add public key file parameter description
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328307 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-11 16:29:51 +00:00
Casper Langemeijer
bc57a23c73 Document changes in ssh2 extension 0.12 release.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328306 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-11 15:14:15 +00:00
Sherif Ramadan
ba85c1721c Update %a format character to reflect correct behavior
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328303 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-11 05:08:16 +00:00
Jakub Vrana
e3b9788fa7 Fix iterators' key() return type
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328297 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-09 23:12:56 +00:00
Adam Harvey
5273dab5d8 Fix doc bug #63469 ("Then" should be "than").
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328289 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-09 02:03:29 +00:00
Peter Cowburn
07a96c16c9 Ignore entities
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328282 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-08 07:33:00 +00:00
Xinchen Hui
2026bba335 add doc for setting PHP configuration options through webserver config
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328281 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-08 06:08:51 +00:00
Adam Harvey
26bfde6f87 Quiet the XPointer warnings that have been annoying me for a while by
commenting out the offending no-op includes.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328280 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-08 02:36:34 +00:00
Adam Harvey
48115796f5 Update example 2 of ZipArchive::getStream().
Fixes doc bug #63461 (Error in example code #2).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328279 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-08 02:21:41 +00:00
Adam Harvey
d860e9cfc0 Perform a bit of a cleanup of mcrypt parameter descriptions and naming,
including adding some language snippets for commonly reused parameters.

Fixes doc bug #63460 ($mode instead of $module in mcrypt-get-key-size).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328278 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-08 02:16:24 +00:00
TAKAGI Masahiro
61e03462c9 Set svn:keywords
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328274 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-07 21:01:42 +00:00
Joe Watkins
3117ef0bb0 pthreads wrong book.xml
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328273 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-07 19:07:30 +00:00
Joe Watkins
8136aeec44 pthreads 0.37 docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328272 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-07 19:06:04 +00:00
Derick Rethans
c05e5bfb32 Fixed PHP-562: Document changes to Mongo::close().
Added a warning Mongo::connectUtil to show it is deprecated.
Add see-also's.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328271 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-07 15:59:17 +00:00
Derick Rethans
28e9d06d53 Clarify delayed connections.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328269 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-07 14:56:31 +00:00
Joe Watkins
f187e2978d updates 0.0.37
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328266 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-06 21:10:11 +00:00
Joe Watkins
bd4ceb6dd5 intermittent changes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328265 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-06 21:08:55 +00:00
Adam Harvey
94524f3aae Fix the return type for Gender::country(), add an example, tinker with some
English, and remove the unneeded svn:mime-type property.

Fixes doc bug #63373 (Mistake in documentation).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328254 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-06 05:35:52 +00:00
Adam Harvey
e4405eabb8 Add a link to the constants page from json_encode() and fix the title of the
example to indicate that we're not trying to show every single option.

Fixes doc bug #63383 (json_encode options bitmask).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328253 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-06 05:19:26 +00:00
Philip Olson
470411948d PHP 5.3.7 bundles PCRE 8.12
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328247 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-06 02:12:34 +00:00
Adam Harvey
dd0c63c042 Add a changelog for ErrorException::__construct() noting the addition of the
$previous parameter.

Fixes doc bug #63443 (ErrorException __construct API changed between 5.2 and
5.3).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328246 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-06 01:58:41 +00:00
Adam Harvey
94180a91bc Elaborate that the return value of serialize() is a binary string, rather than
a non-binary one, and that storing it in a textual database field may not go
very well. (This deals with the other common note on the unserialize() page.)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328245 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-06 01:57:21 +00:00
Adam Harvey
9a8e96e853 Since a lot of the notes on unserialize() are to do with handling user input,
or people telling other people they're wrong for trusting user input at all,
add a warning to clarify that unserialize() should not be used with untrusted
data.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328244 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-06 01:29:54 +00:00
Adam Harvey
63ccfe404c Slightly tweak the wording of the note about line endings on the mail() page to
indirectly address doc bug #63416 (WRONG STATEMENTS IN MAIL FUNCTION DOCS),
albeit probably not in a way that's going to satisfy the people who've reported
the "bug" or sent notes over the years.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328240 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-05 05:39:53 +00:00