Commit graph

22307 commits

Author SHA1 Message Date
Thomas Punt
834d7db5b8 Document deperecation of password_hash() salt option
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337585 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-22 12:30:06 +00:00
Thomas Punt
921933ce5b Document ReflectionGenerator class and methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337577 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-21 16:07:06 +00:00
Thomas Punt
f581e88c2a Document ReflectionGenerator class and methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337576 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-21 16:06:31 +00:00
Thomas Punt
4c106204a1 Document ReflectionFunctionAbstract::getReturnType() method
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337567 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-20 14:24:18 +00:00
Thomas Punt
e9f4e006a1 Document ReflectionFunctionAbstract::hasReturnType() method
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337566 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-20 14:06:46 +00:00
Thomas Punt
a8b62d0b29 Document ReflectionParameter::getType() method
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337564 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-20 13:26:51 +00:00
Thomas Punt
e6572f21bc Document ReflectionParameter::hasType() method
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337562 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-20 12:47:35 +00:00
Christoph Michael Becker
2d8da274b9 fix erroneous example (fixes #70305)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337556 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-19 16:53:02 +00:00
André Luis Ferreira da Silva Bacci
440d81e400 Typos.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337554 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-19 14:07:59 +00:00
Christoph Michael Becker
e80099d3c7 As of PHP 5.5.11/5.3.1 FILTER_SANITIZE_EMAIL removes slashes (see #70298)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337553 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-19 13:40:07 +00:00
Christoph Michael Becker
ab5e72bad9 call PDO::commit(), not PDOStatement::commit()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337552 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-19 12:40:37 +00:00
Christoph Michael Becker
f87f6d6166 Teach new developers to use proper coding practices
-- 
Provided by anonymous 62290 (bernhard@coffeecode.co.za)

Well, let's say we don't want to rely on short_open_tags, and don't assume PHP 5.4+ here.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337546 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-18 23:43:40 +00:00
Christoph Michael Becker
b166dc655c documented enchant_broker_(g|s)et_dict_path() and related constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337544 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-18 21:58:44 +00:00
Christoph Michael Becker
5098c06cdd if __construct() and old-style constructor are present, PHP chooses whichever
comes first (fixes #66926)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337534 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-18 13:41:19 +00:00
Thomas Punt
484885f2db Rectify ReflectionType::isBuiltin() ID
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337530 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-18 10:09:46 +00:00
Maciej Sobaczewski
8a12c71166 This is not a constant
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337527 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-18 07:17:58 +00:00
Christoph Michael Becker
4dcc5b1210 it's "byte" not "bit"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337526 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-18 00:00:04 +00:00
Christoph Michael Becker
962c00ad91 added basic example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337525 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-17 23:14:23 +00:00
Christoph Michael Becker
4284fbfbdc enchant_broker_request_pwl_dict() can create a new PWL file
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337524 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-17 23:13:49 +00:00
Joey Smith
ca9ab17a33 Fix usage of "it's" contraction
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337522 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-17 22:45:14 +00:00
Thomas Punt
b8eddc6d98 Document new ReflectionType class
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337520 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-17 21:20:55 +00:00
Simion Onea
7050d96265 Corrected/added SVN properties, especially svn:keywords.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337516 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-17 15:27:48 +00:00
Thomas Punt
3485a1d2b3 Add version information to preg_replace_callback_array()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337511 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-17 10:12:36 +00:00
Thomas Punt
dd3d8ba784 Document gmp_random_seed() function
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337506 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-16 20:22:31 +00:00
Thomas Punt
784c7b502d Document new dirname() changes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337505 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-16 18:16:29 +00:00
Thomas Punt
42ae7efa21 Update async_send ini details and remove accidental whitespace
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337504 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-16 17:28:24 +00:00
Thomas Punt
f6ae711462 Update expectations section
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337503 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-16 17:23:15 +00:00
Thomas Punt
4744b33765 Update ini.core.xml
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337502 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-16 17:22:21 +00:00
Thomas Punt
d22db7f5b0 Document some ini settings
This documents zend.assetions, assert.exception, and session.lazy_write

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337501 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-16 16:30:56 +00:00
Christoph Michael Becker
6bdf3d8c51 PHP 5.6 requires OpenLDAP 2.4+ (contributed by mcmic)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337497 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-16 01:28:32 +00:00
Christoph Michael Becker
25579ca345 fixed link to pecl/http documentation (contributed by mike)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337496 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-16 01:22:15 +00:00
Christoph Michael Becker
2973596289 This example will actually emit the ADD_CHAR opcode unlike the previous one.
-- 
Provided by anonymous 56715 (gennady@kovshenin.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337495 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-16 00:44:44 +00:00
Christoph Michael Becker
e5dec20130 Add real example code for the ADD_INTERFACE opcode
-- 
Provided by anonymous 56715 (gennady@kovshenin.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337494 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-16 00:42:19 +00:00
Christoph Michael Becker
3ac72a29ba The $nowait parameter was added in 5.6.1, but docs were never updated. Fixes #68141.
-- 
Provided by anonymous 62063 (me@stephencoakley.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337493 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-16 00:32:48 +00:00
Christoph Michael Becker
867cdffb81 fixed primary body type documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337492 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 17:37:18 +00:00
Christoph Michael Becker
394972d6ce Add constants for types and encoding
-- 
Provided by anonymous 16911 (Krzysiek Łukasiak)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337491 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 17:32:54 +00:00
Christoph Michael Becker
0511c184bc improved constants doc of ext/imap
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337490 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 17:31:10 +00:00
Christoph Michael Becker
96e308257c Documentation updated for consistency with the other is_*() type-checking functions: the first parameter is not strictly a callable, it's any value (mixed), since this function (consistent with other is_*() functions) is used not only to check if a callable can actually be called (as per the second argument) but also for basic type-checking to see if the given value represents something that might possibly be callable at all.
-- 
Provided by anonymous 61891 (rasmus@mindplay.dk)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337489 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 16:55:15 +00:00
Christoph Michael Becker
37baaba2bb the argument type for $maxlifetime is int, was listed as string
-- 
Provided by anonymous 61891 (rasmus@mindplay.dk)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337488 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 16:52:51 +00:00
Christoph Michael Becker
f64cb0898b The sample code echos back binary version of the original string.
Because it is a sample code for Imagick::readImageBlob,
it should output imagick object.

-- 
Provided by anonymous 62055 (h.yamagata@nifty.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337487 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 16:38:55 +00:00
Christoph Michael Becker
d6d57b5f93 we can do better than in previous commit
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337486 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 16:32:55 +00:00
Christoph Michael Becker
5399e97fab improved ReflectionProperty::isDefault() docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337485 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 16:29:14 +00:00
Christoph Michael Becker
878a454b06 The isDefault method for ReflectionProperty is unclear in the description. This patch aims to clarify the wording.
-- 
Provided by anonymous 61022 (james@asgrim.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337484 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 16:15:48 +00:00
Christoph Michael Becker
5fb277d606 improve strspn/strcspn documentation (contributed by francois)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337482 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 14:43:21 +00:00
Christoph Michael Becker
d6d7fb6e14 documented JSON_PARTIAL_OUTPUT_ON_ERROR
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337480 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 14:34:32 +00:00
Christoph Michael Becker
f9254e7568 JSON_PARTIAL_OUTPUT_ON_ERROR is nowhere to be found on this page but it's referred to as an option on the json.constants page in description of error constants
-- 
Provided by anonymous 62054

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337479 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 14:21:45 +00:00
Christoph Michael Becker
a0d602c951 fixed note about Location header and absolute/relative URIs wrt. RFC 7231
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337474 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 11:42:38 +00:00
Christoph Michael Becker
1aa48f7f54 RFC2616 was replaced by multiple RFCs (7230-7237)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337473 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 11:30:59 +00:00
Christoph Michael Becker
ffdc37b3f1 PHP_INT_MIN === ~PHP_INT_MAX
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337472 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 11:18:51 +00:00
Christoph Michael Becker
3c88ee68d1 more consistent function name in example (contributed by Jason Woof)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337471 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 11:14:12 +00:00