Commit graph

1906 commits

Author SHA1 Message Date
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
André Luis Ferreira da Silva Bacci
f8732f08c5 Revert wrong modification.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338190 c90b9560-bf6c-de11-be94-00142212c4b1
2015-11-27 14:46:55 +00:00
André Luis Ferreira da Silva Bacci
0c64ee7008 Typo.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338187 c90b9560-bf6c-de11-be94-00142212c4b1
2015-11-27 14:17:57 +00:00
Peter Cowburn
73b8b5c029 Stream context http header option can be an array (Patch by Kyra D)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338185 c90b9560-bf6c-de11-be94-00142212c4b1
2015-11-27 00:09:16 +00:00
Karoly Negyesi
db8f74138c Added a note about private and protected methods to callables
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338094 c90b9560-bf6c-de11-be94-00142212c4b1
2015-11-06 18:16:40 +00:00
Bob Weinand
9bb20c9f1b Document local_pk ssl context option
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338065 c90b9560-bf6c-de11-be94-00142212c4b1
2015-11-01 18:25:40 +00:00
Bob Weinand
fbee8b3790 Fixed bug #70745 (Document new PHP7 operators under Operator Precedence)
Added spaceship and null-coalesce

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338021 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-22 12:33:31 +00:00
Bob Weinand
e4d33b9bb9 Extend the existing array operator example to illustrate the behavior of +=.
-- 
Provided by anonymous 62668 ()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338020 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-22 12:27:56 +00:00
Andrea Faulds
f10d35baab Update integer docs for PHP 7: not 32-bit on Windows, PHP_INT_MIN exists
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337994 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-13 15:39:15 +00:00
Thomas Punt
9fedcb9b20 Rectify docs (second time lucky...)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337989 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-12 19:40:54 +00:00
Thomas Punt
8e7d8cde63 Rectify docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337988 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-12 19:36:14 +00:00
Thomas Punt
dcf34fa223 Update TypeError description
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337987 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-12 19:26:37 +00:00
Sammy Kaye Powers
4661fe1591 Add info about number of function args to TypeError docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337978 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-09 06:46:17 +00:00
Adam Harvey
7e52ec8685 Note the deprecation of static calls to non-static methods.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337875 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-21 12:17:30 +00:00
Adam Harvey
e7c3d74e33 Reinstate the generator object documentation earlier in the section.
This was meant to be in the previous commit, but oh well.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337865 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-21 12:16:43 +00:00
Adam Harvey
02d3c3abb7 Move most generator delegration doco to the generators section.
I've also simplified the example in the migration guide somewhat: the combined
"return yield from" construct is now documented only in the generators
documentation.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337864 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-21 12:16:39 +00:00
Adam Harvey
e04e53e465 Tinker with group use wording.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337863 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-21 12:16:34 +00:00
Thomas Punt
86ef66a558 Document more of Generator class
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337857 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-20 11:24:26 +00:00
Christoph Michael Becker
bea58f82ad Closure::bind() doesn't allow to bind to scope of internal classes anymore (fixes #69811)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337785 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-08 16:45:48 +00:00
Bob Weinand
f11cc3162c As noted below, constants can be result of a mathematical expression with PHP 5.6.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337777 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-07 22:15:37 +00:00
Christoph Michael Becker
5e9fde393a undefined qualified constants raise a fatal error (fixes #70421)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337760 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-06 17:02:36 +00:00
Christoph Michael Becker
727d059758 clarified behavior of property access vs. method call (fixes #49515)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337758 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-06 15:06:02 +00:00
Adam Harvey
664dfca34e Note deprecation of old style constructors in PHP 7.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337754 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-04 20:56:08 +00:00
Christoph Michael Becker
810d547926 reverted erroneous fix for bug #66926
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337740 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-03 22:15:18 +00:00
Adam Harvey
740336ed22 Add self to the list of possible type names.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337738 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-03 21:09:03 +00:00
Christoph Michael Becker
eec101b31f Protected members cannot be accessed by parent classes
-- 
Provided by anonymous 62572 (tunght13488@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337719 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-02 21:58:23 +00:00
Christoph Michael Becker
586c9b218c capitalized class name to match definition (fixes #70412)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337714 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-02 21:19:05 +00:00
Christoph Michael Becker
a90d340659 fix whitespace in example (contributed by anon user)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337618 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-25 00:20:41 +00:00
Peter Cowburn
9b89b59790 typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337602 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-24 15:35:55 +00:00
Peter Cowburn
097f5fce7b fix build - and move "group use" section to the aliasing/importing namespaces page
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337598 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-24 08:19:36 +00:00
Pasindu De Silva
6fac1cc5e0 Added group use from migration
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337597 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-24 04:33:10 +00:00