Commit graph

1936 commits

Author SHA1 Message Date
Christoph Michael Becker
4392990fb6 Fix #72462: documentation about static calls from secondary object is outdated
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339436 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-21 14:38:50 +00:00
Christoph Michael Becker
2b5b055e52 Fix #64457: HTTP_HOST, SERVER_NAME, SERVER_PORT spoofing
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339426 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-20 15:27:16 +00:00
Fábio Luciano Nogueira de Góis
d98f67b5c6 updating manual
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339405 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-19 20:31:19 +00:00
Christoph Michael Becker
62268f3428 Fix #69399: Serializable and __wakeup()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339383 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-17 14:31:14 +00:00
Christoph Michael Becker
e52f86cf48 Fix #70610: Misleading example of "illegal" importing rule
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339351 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-14 17:01:40 +00:00
Christoph Michael Becker
eeb2bef9bb Fix #53614: Strings variable parsing - problematic example among complex syntax examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339345 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-14 13:42:53 +00:00
Christoph Michael Becker
239e96a218 The manual is supposed to cover all PHP 5 versions
Therefore we restore the recently removed (339323) part, mark it as being
version specific, and add a general changelog.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339330 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-13 12:06:55 +00:00
Nikita Popov
3f55a4ebc7 Remove lies from foreach docs
The given code is valid since PHP 5.5

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339323 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-12 15:50:55 +00:00
Christoph Michael Becker
06df50f0b1 Fix #72331: most simple way to call anonymous function assigned to object property missing
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339308 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-07 13:25:21 +00:00
Christoph Michael Becker
ec6a5fb91f Clarify that example requires PHP 5.4.0 or higher
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339307 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-07 13:20:58 +00:00
Christoph Michael Becker
2891a305f1 Document behavior of NaN/Inf to int casts
As of PHP 7.0.0 this results in int(0); formerly it has been undefined.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339291 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-03 13:28:47 +00:00
Christoph Michael Becker
1d7caa1a60 fix #71458: foreach docs should expand upon the references warning
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339246 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-31 16:55:09 +00:00
Thomas Punt
8c4ca17c5a Resolve doc by #61999
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339217 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-22 20:06:10 +00:00
Thomas Punt
5644e740fd Resolve doc bug #71348
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339215 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-22 19:45:38 +00:00
Peter Cowburn
2a98bea220 typofix (doc #72250)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339197 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-21 10:40:13 +00:00
Bob Weinand
f7069c1596 Be precise about the scope of strict_types not affecting calls from within internal functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339195 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-20 15:20:09 +00:00
Peter Cowburn
ecf52eec24 Tie together ErrorException severity and error constants (doc #63158)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339185 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-19 20:47:23 +00:00
Nikita Popov
19059652f1 Fix bug #67011
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339142 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-06 13:55:27 +00:00
Christoph Michael Becker
bb3e737c4d documented silent overflow of octal literals in interpolated strings
see <https://wiki.php.net/rfc/octal.overload-checking>

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339098 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-26 09:46:25 +00:00
Peter Cowburn
f1cc27e4a8 unicode escape sequence allows uppercase and any number of digits (doc bug #71746)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338989 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-11 07:59:29 +00:00
Fábio Luciano Nogueira de Góis
6495ac90b4 adding tags into apropriated places
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338959 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-07 20:31:00 +00:00
Fábio Luciano Nogueira de Góis
9b6f1812ab adding literals and interfacename tags
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338957 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-07 18:57:51 +00:00
Christoph Michael Becker
4e85725855 typo fix by Ishan Raychaudhuri
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338943 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-06 13:43:52 +00:00
Christoph Michael Becker
dcafd6ef3d improved wording (suggested by anon user)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338912 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-04 16:36:51 +00:00
Christoph Michael Becker
cdab70215c minor fixes by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338911 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-04 16:14:46 +00:00
Christoph Michael Becker
a8b24da312 fixed #66772 (Comma operator does not behave as operator)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338860 c90b9560-bf6c-de11-be94-00142212c4b1
2016-03-31 16:11:48 +00:00
Christoph Michael Becker
acc7076441 fixed #71902 (Invalid precedence order of => (T_DOUBLE_ARROW) operator)
Actually, T_DOUBLE_ARROW isn't an operator.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338859 c90b9560-bf6c-de11-be94-00142212c4b1
2016-03-31 16:06:29 +00:00
Joe Watkins
f8f7cf947f correct inherited methods in ParseError
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338831 c90b9560-bf6c-de11-be94-00142212c4b1
2016-03-27 05:35:21 +00:00
Joe Watkins
5195f04ffd fix bug #71347: some builtin error exceptions were documented incorrectly
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338826 c90b9560-bf6c-de11-be94-00142212c4b1
2016-03-26 21:05:33 +00:00
Christoph Michael Becker
27c99098ed fixed #71878 (Error in documentation example)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338787 c90b9560-bf6c-de11-be94-00142212c4b1
2016-03-23 11:14:14 +00:00
Christoph Michael Becker
241d7869c8 fixed #71464: $HTTP_RAW_POST_DATA states "Removed in 7.0", but also lists 7.0 in version list
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338547 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-29 21:00:57 +00:00
Peter Cowburn
5bd0af2b34 remove broken code from namespaces example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338546 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-29 16:29:32 +00:00
Christoph Michael Becker
c2aae8928b minor fixes by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338507 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-15 17:34:57 +00:00
Christoph Michael Becker
142e1a0eb7 typo fixes submitted by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338501 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-15 14:14:37 +00:00
Christoph Michael Becker
45fc246e9f ::class is a compile time transformation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338498 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-15 13:31:35 +00:00
Christoph Michael Becker
5cba5bb19f integrate user note 118065 (just to avoid confusion)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338479 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-13 22:18:54 +00:00
Peter Cowburn
56125c6883 add spl_autoload_register() back to autoloading page see also section
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338462 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-11 14:46:49 +00:00
Thomas Punt
fb3920c122 Resolve doc bug #69583
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338443 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-08 22:52:27 +00:00
Thomas Punt
dcf481b64f Modernise autoloading page
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338442 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-08 17:38:43 +00:00
Adam Harvey
41d8e7ffe4 Update version information to include PHP 7.
This was mostly done programmatically, and is likely wrong for a small number
of functions. We may have to wait for bug reports, unless someone wants to
review this by hand. Basic efforts were made to avoid adding "PHP 7" to
functions that were removed in PHP 5.x (x > 0) and PHP 7, but there are
undoubtedly still issues.

In case we're still using Docbook for PHP 8, I've uploaded the script that I
wrote to do this to GitHub at
https://github.com/LawnGnome/php-doc-version-migrator.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338406 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-04 21:40:07 +00:00
Christoph Michael Becker
d30e7af5ed fixed bug #71267: include/require only on php4/5 not on php7
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338401 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-03 14:00:57 +00:00
Stanislav Malyshev
1e17b3d07c FIx documentation for Error
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338392 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-02 00:06:05 +00:00
Thomas Punt
20f201c32c Resolve doc bug #71167
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338328 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-19 20:00:23 +00:00
Thomas Punt
576a10ee84 Resolve doc bug #69308
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338310 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 21:31:17 +00:00
Thomas Punt
f99e5eb6c7 Resolve doc bug #71016
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338305 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 19:23:09 +00:00
Thomas Punt
cfcdab37fd Link Generator::getReturn method to Generator class
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338300 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 16:23:50 +00:00
Christoph Michael Becker
d7f1064f59 fixed #70930: Namespaces FAQ is outdated
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338281 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-17 11:03:26 +00:00
Christoph Michael Becker
4b6251009d removed useless echo statements from example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338268 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-16 15:46:26 +00:00
TAKAGI Masahiro
f956ef27f7 Fix #71068
DivisionByZeroError is not direct subclass of Error


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338227 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-08 22:58:19 +00:00
Andrea Faulds
2bea2e045b Correct "null coalesce" to "null coalescing"
When I originally named the "Null Coalesce Operator" RFC, I made this mistake. But the manual doesn't need to repeat it.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338220 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-07 14:49:18 +00:00