Jakub Vrana
331fbfeac5
Use bool instead of boolean in return types
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343889 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 15:50:10 +00:00
Jakub Vrana
dd07341fae
Remove trailing fullstop in <refpurpose>
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343888 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 15:34:22 +00:00
Peter Cowburn
bc914daf98
foo(new foobar()) raises a notice as of PHP 7.0.7 (doc bug #75844 )
...
This is due to the fixing of #72038
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343850 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-18 19:24:11 +00:00
Joe Watkins
f84c11fb10
reword empty string operator warning for clarity
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343719 c90b9560-bf6c-de11-be94-00142212c4b1
2017-12-30 07:12:01 +00:00
Christoph Michael Becker
d17c8485fd
Fix typo
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343679 c90b9560-bf6c-de11-be94-00142212c4b1
2017-12-20 18:36:48 +00:00
Andrey Gromov
169d4be91b
typo by anonymous
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343575 c90b9560-bf6c-de11-be94-00142212c4b1
2017-12-05 10:18:28 +00:00
Kalle Sommer Nielsen
cfa9e1bb71
Documented the remaining new functionality to ext/zip as of PHP 7.2.0
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343502 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-29 16:30:58 +00:00
Kalle Sommer Nielsen
4fc282f33e
Added a note about the deprecation of the (unset) cast in 7.2.0
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343494 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-29 15:44:34 +00:00
Philip Olson
660a9ebe1f
Mentioned $_SERVER equivalent for $argc/$argv, and added see also links
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343409 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-13 20:45:28 +00:00
Andrey Gromov
ead385635a
fix by anon
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343316 c90b9560-bf6c-de11-be94-00142212c4b1
2017-10-28 08:25:00 +00:00
Pieter Hordijk
5e40a5a43d
Added missing PHP open tags to examples
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343230 c90b9560-bf6c-de11-be94-00142212c4b1
2017-10-11 13:20:05 +00:00
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