Peter Cowburn
ea8575f778
add ids for wrappers refsects
...
To address the problem of HTML ids (for permalinks) like:
refsect2-wrappers.php-unknown-unknown-unknown-unknown-unknown-descriptios
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343104 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-18 19:19:12 +00:00
Remi Collet
1d95721863
Revert (7.0 restriction only for define)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343089 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-14 11:46:33 +00:00
Remi Collet
b0329daf2d
Array constant only allowed in 7+
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343088 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-14 10:38:27 +00:00
Christoph Michael Becker
7c0b830e98
Fixed bug #75202 (Interfaces shouldn't be able to define a constructor)
...
We document that interfaces allow constructors to be declared.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343082 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-13 15:07:42 +00:00
Christoph Michael Becker
8070abb4fe
const
constants are always case-sensitive
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343078 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-12 11:27:09 +00:00
Andrea Faulds
995eaea864
Update bitwise shift warning for PHP 7.0 changes
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343009 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-05 18:14:58 +00:00
André Luis Ferreira da Silva Bacci
e9366ee458
Fix svn:eol-style, svn:keywords and svn:mime-type on XML files. No content change, but some revision numbers will upgrade.
...
See https://github.com/phpdocbrbridge/bridge/blob/master/src/revbumper.php for automatic tool for translations.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342988 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-02 18:42:15 +00:00
Christoph Michael Becker
a61987978d
Fix #75104 : yet another old-style constructor
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342905 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-22 12:46:23 +00:00
Christoph Michael Becker
f3341279fd
Fix #75104 : Example 3 Heredoc string quoting example
...
Since the manual doesn't apply to PHP 4 anymore, there is no need
to use old-style constructors in general examples.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342904 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-22 10:06:18 +00:00
Thomas Punt
7b3702d15c
Fix the build
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342845 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-11 21:18:58 +00:00
Patrick Allaert
64fb8f6a38
Fixed: doc bug 74727
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342844 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-11 18:49:46 +00:00
Christoph Michael Becker
70fb482c26
Reverted revision(s) 337719 from phpdoc/en/trunk/language/oop5/visibility.xml:
...
Protected members cannot be accessed by parent classes
--
Provided by anonymous 62572 (tunght13488@gmail.com )
........
If we like it or not, that's how it is. See also bug #74932 .
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342692 c90b9560-bf6c-de11-be94-00142212c4b1
2017-07-21 18:40:37 +00:00
Pieter Hordijk
73c0f9b6d5
Fixed non matching quotes. Fixes #74944
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342676 c90b9560-bf6c-de11-be94-00142212c4b1
2017-07-18 13:10:04 +00:00
Jiří Pudil
1cf8f88730
Fix #74319 : add documentation for ArgumentCountError
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342629 c90b9560-bf6c-de11-be94-00142212c4b1
2017-06-30 19:45:07 +00:00
Jiří Pudil
0b517ab52a
Add multi catch exception handling docs
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342628 c90b9560-bf6c-de11-be94-00142212c4b1
2017-06-30 17:00:19 +00:00
Jean-Sebastien Hedde
db1dd771e1
Added <literal>iterable</literal> to the list of type declarations that may be used in function arguments/return values, as introduced in 7.1.0.
...
--
Provided by anonymous 82584 ()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342597 c90b9560-bf6c-de11-be94-00142212c4b1
2017-06-16 11:50:03 +00:00
Jean-Sebastien Hedde
3f74beaf6b
I did a mispell in my previous patch for this section. This intends to fix it.
...
--
Provided by anonymous 83640 (jdomenechbborges@gmail.com )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342576 c90b9560-bf6c-de11-be94-00142212c4b1
2017-06-09 12:01:52 +00:00
Christoph Michael Becker
57b593d529
Not all strings containing valid integers are cast to int
...
This commit includes user note 117129 into the manual.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342559 c90b9560-bf6c-de11-be94-00142212c4b1
2017-06-07 15:09:53 +00:00
Jean-Sebastien Hedde
c4910a6ef8
There was a note that has not been updated according implementation of https://wiki.php.net/rfc/generator-return-expressions in PHP 7.0.
...
--
Provided by anonymous 83640 (jdomenechbborges@gmail.com )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342557 c90b9560-bf6c-de11-be94-00142212c4b1
2017-06-07 12:10:06 +00:00
Jean-Sebastien Hedde
e4bf37c420
Replaced an example of negative indices in arrays with an example of negative indices in strings for the page on the String type.
...
--
Provided by anonymous 83124 ()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342556 c90b9560-bf6c-de11-be94-00142212c4b1
2017-06-07 11:58:15 +00:00
Andrey Gromov
e4158b483c
Small inaccuracy
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342500 c90b9560-bf6c-de11-be94-00142212c4b1
2017-05-25 08:04:46 +00:00
Pieter Hordijk
af3c002df8
Fixed duplicate word
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342445 c90b9560-bf6c-de11-be94-00142212c4b1
2017-05-04 08:34:49 +00:00
Andrey Gromov
d820976d6d
Typos. From "files in progress"
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342440 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-30 07:08:06 +00:00
Christoph Michael Becker
797064ec67
Fix typos
...
Patches provided by anon users.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342309 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-11 14:30:36 +00:00
Jiří Pudil
86d8c6800b
Fix #74296 : add documentation for iterable pseudo-type and is_iterable()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342265 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-08 17:03:13 +00:00
Remi Collet
bc20591e29
typo
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342251 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-05 16:02:33 +00:00
Remi Collet
0a6d13307b
add Zip context options page
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342242 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-05 09:28:14 +00:00
Alexander Moskaliov
3779ff3989
Fix svn revision tag
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342232 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-04 09:36:07 +00:00
Pieter Hordijk
b7db81dd3f
Removed ambiguousness by changing may not -> must not for our non native English friends.
...
https://bugs.php.net/bug.php?id=74049
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342208 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-31 08:19:53 +00:00
Christoph Michael Becker
57348daadc
Fix #74285 : Closure::bindto documentation is missing change in PHP7.0.0
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342186 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-25 12:37:05 +00:00
Christoph Michael Becker
71c7ae1845
PHP 7.0.0 update
...
Patch provided by anon user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342183 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-25 12:23:02 +00:00
Christoph Michael Becker
cc8ca60530
PHP 5 behaved slightly different
...
r342129 only documented the PHP 7 behavior, but the manual is supposed
to describe PHP 5, too.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342154 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-17 13:36:48 +00:00
Maciek Sokolewicz
93b9a05101
Documented changes in E_STRICT throwing as of PHP 7.0 for compatible properties in traits (thanks for mentioning this, Sherif)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342129 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-14 12:18:23 +00:00
Andrey Andreev
54d1080654
Fix an error from r342126
...
Mistakenly marked _POST instead of HTTP_RAW_POST_DATA as deprecated/5.6.0, removed/7
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342127 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-14 11:53:58 +00:00
Andrey Andreev
028513e94b
Document PHP 7.2 deprecations as the result of https://wiki.php.net/rfc/deprecations_php_7_2
...
Also, simplify the first paragraph of 'Traditional assertions' in assert() docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342126 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-14 11:30:59 +00:00
Maciek Sokolewicz
e4add76743
Documents the issue described in bug 62537.
...
--
Provided by Pedro Magalhães (mail@pmmaga.net )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342111 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-13 18:35:13 +00:00
Christoph Michael Becker
5dba865d91
Improve wording
...
Patches provided by anon users.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342074 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-10 18:54:34 +00:00
Christoph Michael Becker
f9c02a448f
Fix typo
...
Patch provided by anon user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342073 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-10 18:53:33 +00:00
Andrey Gromov
9fc4150f84
Example code style by "Bernard van der Esch"
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342004 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-02 12:02:42 +00:00
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