Commit graph

19783 commits

Author SHA1 Message Date
Adam Harvey
fadcb18c0f Update the short_open_tag documentation to reflect reality.
This crept in when 5.3 briefly had short_open_tag as PHP_INI_ALL, but when the
change was reverted, the documentation wasn't. Checking GitHub confirms that
it's been PHP_INI_SYSTEM|PHP_INI_PERDIR since 4.0.1.

Fixes doc bug #63585 (Unclear changeability for short_open_tag setting).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328462 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-23 06:13:27 +00:00
Jakub Vrana
cb3821f796 Fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328450 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-22 02:53:37 +00:00
Jakub Vrana
2d7dc57eb1 Rename $limit parameter to $end
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328448 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-21 20:25:39 +00:00
Paul Dragoonis
278b221882 Changing JSON_ERROR_UTF8 message, it says it was added on 5.3.1, but it was added on 5.3.3 as per this page: http://uk.php.net/ChangeLog-5.php
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328443 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-21 13:11:15 +00:00
Derick Rethans
569b9e616a Get rid of the fireAndForget stuff alltogether.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328442 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-21 11:41:43 +00:00
Adam Harvey
5a479993c3 Add sections for the new password API.
Forgot mostly because it wasn't in UPGRADING. Sorry! Will have to add some
function stubs before the manual build on Friday.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328438 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-21 02:07:32 +00:00
TAKAGI Masahiro
d096079ebb Set svn:keyword, svn:eol-style
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328433 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-20 16:16:46 +00:00
Adam Harvey
8ad0d94e1c Add initial migration guide for PHP 5.5.
What's done: the migration guide itself, updates to existing functions and
functionality, and new language features.

What's not done: stub pages for new functions and methods. (I'd rather get this
in now, though, than have it languish on my hard drive any longer so that other
people can contribute.)

What could use help: the generator chapter is pretty rough and ready. Better
examples would be awesome. I certainly won't argue if somebody wants to add the
function stubs, either.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328430 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-20 15:17:23 +00:00
TAKAGI Masahiro
a7171fc3ce Set svn:keyword, svn:eol-style
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328427 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-20 10:55:24 +00:00
Jeremy Mikola
a3fe103a4d Document MongoClient class and write concern defaults
https://jira.mongodb.org/browse/PHP-544


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328426 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-20 01:57:53 +00:00
Daniel Convissor
aaed38ddf7 Clarify absolute param for diff(); modifies rdohms' patch.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328424 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-19 18:47:35 +00:00
Adam Harvey
ea2add963c Warn about configure options that were deprecated in 5.3 and removed in 5.4.
Fixes doc bug #63359 (configure: WARNING: unrecognized options:
--enable-zend-multibyte).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328423 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-19 11:59:37 +00:00
Levi Morrison
09969a4276 Standardized capitalization of offsetSet and offsetGet; sometimes referenced as offSetSet and offSetGet.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328413 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-19 02:11:02 +00:00
TAKAGI Masahiro
e7062e4f1e Correct the title of the example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328399 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-18 03:47:10 +00:00
Joe Watkins
e1231c5a64 bug #63550
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328397 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-18 00:19:56 +00:00
Joe Watkins
f8c03a7657 bug #61100
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328383 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-16 14:22:12 +00:00
Joe Watkins
a22b112736 bug #62761
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328382 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-16 14:09:47 +00:00
Joe Watkins
6aae04c0b3 bug #62768
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328380 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-16 14:01:19 +00:00
Levi Morrison
2e0220a7bd Grammar improvement.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328372 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-16 04:42:35 +00:00
Joe Watkins
e0dff7b59b I am stupid and removed required elements without checking
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328370 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-15 22:36:55 +00:00
Joe Watkins
051c9fa722 0.0.38 documentation update
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328369 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-15 22:15:46 +00:00
Sherif Ramadan
04988bdb61 Added change log entry for mt_rand checking that max > min parameter, also fixes bug #66559 -- patch by Lonny
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328367 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-15 17:44:11 +00:00
Joe Watkins
e25450d9dc many bugs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328365 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-15 13:40:31 +00:00
Joe Watkins
9d91bf8ad8 mysqli documentation bug
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328364 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-15 11:49:51 +00:00
Joe Watkins
bd44bb7d1c deprecate disable_reads_from_master
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328361 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-15 10:56:02 +00:00
Sherif Ramadan
08ef640318 Fixed line wrap from revision 328358
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328359 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-14 17:41:40 +00:00
Sherif Ramadan
bf9085b2b1 Added note for accessing array elements with curly braces - fixes bug #55324
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328358 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-14 17:08:15 +00:00
Joe Watkins
393c8182a0 bug #63213 just requires a clear example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328357 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-14 14:55:56 +00:00
Joe Watkins
c3b3848a35 change to language
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328356 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-14 14:53:12 +00:00
Derick Rethans
e49b53d06f Make sure not to mention replicaSet => true anywhere anymore.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328355 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-14 14:45:58 +00:00
Joe Watkins
29b077d3d8 fix regex pattern for alphanumeric bug #63514
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328354 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-14 14:29:29 +00:00
Adam Harvey
13995e9311 Warn users about the perils of multi-byte strings and direct character access.
Or, as xkcd put it today, if it starts pointing toward space you are having a
bad problem and you will not go to space today.

Fixes doc bug #63079 (String access by character is not multibyte-safe).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328351 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-14 02:10:57 +00:00
Adam Harvey
3ee6fa8a65 Fix the minimum curl version for CURLOPT_CONNECTTIMEOUT_MS and
CURLOPT_TIMEOUT_MS, which didn't match ext/curl/interface.c.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328345 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-13 06:36:17 +00:00
Adam Harvey
9993b89faf Apply a patch from tom [at] samplonius.org to note that the SOAP error handler
will send SOAP fault responses when an error occurs.

Fixes doc bug #54319 (use_soap_error_handler() doc is misleading).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328344 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-13 05:37:10 +00:00
Peter Cowburn
ca6f5aa5bc I believe that when session.auto_start is set to 1, the session is started on request startup and not when PHP sends anything to the output buffer.
--
Provided by Victor BERCHET (victor.berchet@sensiolabs.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328341 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 22:35:49 +00:00
Peter Cowburn
9cfc780d75 Adds mention of exception thrown if constructor fails. (doc #47257)
--
Provided by Niel Archer (niel.archer@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328340 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 22:35:38 +00:00
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