Jiří Pudil
caec2ae726
Add Closure::fromCallable() documentation
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341998 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-01 16:11:18 +00:00
Maciej Sobaczewski
e1d3dc51aa
Integrate user note #120684
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341974 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-25 06:03:10 +00:00
Christoph Michael Becker
b896533ae5
Fix #74098 : Misleading information on static function calls.
...
A feature that is available as of PHP 5.4.0 should not be exemplified
by code requiring a newer version, even though the example would be
less verbose.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341922 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-17 18:21:47 +00:00
Christoph Michael Becker
b9f7ef8203
Fix grammar
...
Patch provided by Travis Raymond Uribe.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341920 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-17 18:06:35 +00:00
Christoph Michael Becker
6a8863a5a9
Fix typo
...
Patch provided by savdeep singh.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341919 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-17 18:05:40 +00:00
Christoph Michael Becker
f258d65696
Improve example wrt. to CS
...
Patch provided by anon user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341918 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-17 18:04:34 +00:00
Andrey Gromov
d790375863
Typo, copypaste errors and so.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341804 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-29 09:14:49 +00:00
Christoph Michael Becker
b90505533d
Fix typos
...
Patches provided by anon users.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341799 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-28 18:33:56 +00:00
Christoph Michael Becker
0ade9d91c1
Fix #65852 : Wrong documentation about NAN comparison
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341793 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-28 16:32:58 +00:00
Christoph Michael Becker
efdc9e6334
Fix Exception → Throwable
...
This also fixes Throwable::getLine and Throwable::getFile.
--
Provided by anonymous 79803 (me@kelunik.com )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341756 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-23 18:05:58 +00:00
Christoph Michael Becker
38d634a6b5
Fix #66894 : Taking old-style-constructor instead of unified one
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341633 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-08 16:25:08 +00:00
Kalle Sommer Nielsen
fdebe6ee64
Fix example title
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341632 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-08 15:53:43 +00:00
Kalle Sommer Nielsen
530370df71
Improve the docs for ::class a little, by making notes in other parts of the docs about it
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341608 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-07 09:30:22 +00:00
Adam Harvey
e9f72c4399
Document new use() behaviour in PHP 7.1.
...
Fixes bug #73844 (Cannot use lexical variable $variable as a parameter name
inside array_walk()).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341552 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-30 19:57:37 +00:00
Christoph Michael Becker
66b2a057a0
Explain that pseudo-types can't be used in userland
...
Patch provided by Bart van der Wal.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341438 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-23 15:49:12 +00:00
Christoph Michael Becker
5186944b5a
Fix #73779 : typo with different semantics on visibility page
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341422 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-19 16:55:14 +00:00
Maciej Sobaczewski
95bdd6883b
Another round of PHP 4 content removal (mostly inline mentions)
...
Review is welcome
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341282 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-05 10:17:07 +00:00
Christoph Michael Becker
7de45151c2
Fix #73593 : constant visibility needs to be documented
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341146 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-25 23:09:57 +00:00
Christoph Michael Becker
a66ee8dc56
Fix grammar, add markup, remove PHP 4 info
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341143 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-25 16:32:05 +00:00
Christoph Michael Becker
6972146ba2
No more need for PHP 5.0.0 changelog entries
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341125 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-24 23:00:48 +00:00
Maciej Sobaczewski
445962cfde
These all should be informal examples
...
<informalexample> doesn't require title and therefore unclutters Example Index
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341083 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-20 22:47:03 +00:00
Maciej Sobaczewski
a9977adcc2
Whoopsy, wrong version
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341077 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-19 06:04:27 +00:00
Maciej Sobaczewski
ac6f979ca9
Add missing informations (also integrates user notes)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341075 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-19 05:22:05 +00:00
Maciej Sobaczewski
82d79c6653
Fix manual build, sorry!
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340960 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-12 07:11:22 +00:00
Bob Weinand
63a98c4c11
Add documentation for so_reuseport, so_broadcast and ipv6_v6only socket stream context options
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340564 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-19 11:06:56 +00:00
Christoph Michael Becker
e347a6856e
Improve example
...
Patch provided by Andrey Gromov.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340503 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-17 12:58:30 +00:00
Christoph Michael Becker
b7e2253079
Document support for negative indices in simple variable parsing syntax
...
Cf. <https://github.com/php/php-src/pull/2144 >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340479 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-14 12:42:37 +00:00
Christoph Michael Becker
2de9c1a37b
Fix ##73287: Clone chaining feature
...
We also document that this is possible for `new` as of PHP 5.4.0.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340428 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-11 13:01:01 +00:00
Nikita Popov
27e86fd791
Clarify namespace resolution rules
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340397 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-08 14:36:34 +00:00
Christoph Michael Becker
1b08ec49bf
Fix broken invalid example
...
We also add a valid example, as suggested by Andrey Gromov.
Furthermore we move the unrelated paragraph below the examples.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340379 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-08 09:49:02 +00:00
Christoph Michael Becker
829b469622
Stick to American English
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340349 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-07 10:32:40 +00:00
Christoph Michael Becker
f6c86f60c8
Fix typo
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340338 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-06 11:54:36 +00:00
Christoph Michael Becker
59ea89792d
There is no 2**31 byte restriction regarding the string length anymore for 64-bit
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340324 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-05 14:22:23 +00:00
Christoph Michael Becker
98a2748836
Fix #66079 : Exception constructor might ignore default arguments when overriden
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340256 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-29 10:38:05 +00:00
Christoph Michael Becker
bf5cfd002c
Improve example (patch provided by Joel James)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340241 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 14:20:36 +00:00
Christoph Michael Becker
da36163bfb
Clarify behavior (patch provided by J.D. Grimes)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340240 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 14:19:56 +00:00
Christoph Michael Becker
9884bb84dd
Update wrt. PHP 5.6
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340239 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 14:16:49 +00:00
Christoph Michael Becker
72d4e40a18
Improve markup (patch provided by fabioluciano)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340237 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 14:08:23 +00:00
Christoph Michael Becker
3e823762fd
Fix example (patch provided by Alexander Zhukov)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340236 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 14:07:15 +00:00
Christoph Michael Becker
9f9375d3a4
Improve markup (suggested by fabioluciano)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340235 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 14:05:00 +00:00
Christoph Michael Becker
3ec69d212d
Fix broken example
...
Heredoc terminators must not be indented. Pointed out by rjhdby.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340223 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 12:36:54 +00:00
Andrea Faulds
603d5c848b
Fix modulus -> modulo, link division and modulo ops to eachother
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340175 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-25 15:05:45 +00:00
Andrea Faulds
41f08deefe
Mention intdiv() alongside division operator
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340174 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-25 14:54:20 +00:00
Christoph Michael Becker
d225d89995
Update manual wrt. < https://wiki.php.net/rfc/negative-string-offsets >
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340032 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-14 11:53:33 +00:00
Christoph Michael Becker
68199788a9
Fix docs wrt. bug #71572
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340031 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-14 11:10:13 +00:00
Christoph Michael Becker
1b5a19a7b4
Fix #72430 : [] operator not supported for strings
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340030 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-14 10:56:07 +00:00
Christoph Michael Becker
2e7b22f6c4
Fix typo (as noticed by netrilix at gmail dot com)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339962 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-31 17:09:50 +00:00
Bob Weinand
5e4630858d
Resources hold handles, not handlers (which are governed by the individual functions operating on them)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339952 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-29 20:15:27 +00:00
Christoph Michael Becker
69c0c0c9ed
Document behavior of array dereferencing scalar values
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339937 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-25 11:41:19 +00:00
Bob Weinand
55f05f668b
Fix last commit, * is indeed not an addition...
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339899 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-18 10:19:53 +00:00