Commit graph

1883 commits

Author SHA1 Message Date
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
Christoph Michael Becker
5098c06cdd if __construct() and old-style constructor are present, PHP chooses whichever
comes first (fixes #66926)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337534 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-18 13:41:19 +00:00
Simion Onea
7050d96265 Corrected/added SVN properties, especially svn:keywords.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337516 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-17 15:27:48 +00:00
André Luis Ferreira da Silva Bacci
8243002f32 Typo.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337390 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-10 15:08:11 +00:00
Christoph Michael Becker
78291d1681 updated manual wrt. Heredoc support for initializing consts and static members (fixes #70227)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337388 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-10 12:50:32 +00:00
Adam Harvey
02678aa8dc Expand the Closure::call() documentation.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337372 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:17:26 +00:00
Adam Harvey
6b4b39cc49 Move the (excellent!) anonymous class documentation to the language reference.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337370 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:17:17 +00:00
Adam Harvey
01851927f9 Improve type declaration docs.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337367 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:17:04 +00:00
Adam Harvey
5729dfe1f1 Unified type declaration documentation and removed the changelog.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337365 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:16:55 +00:00
Adam Harvey
67a87fab61 Move the type changelog down and improve it.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337364 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:16:50 +00:00
Adam Harvey
620a91cf5e Update new operator documentation.
This includes removing some of the examples from the migration guide: that
needs to be punchy. We can reinsert them later in the operators reference if
they're of use.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337361 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:16:37 +00:00
Adam Harvey
2f13a5d452 Note yield changes in PHP 7.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337360 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:16:32 +00:00
Adam Harvey
f2f7f3fa1d Add \u to the string type page.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337357 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:16:19 +00:00
Adam Harvey
9a4e00c8f0 Add Error documentation.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337354 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:16:05 +00:00
Adam Harvey
4eefb1e936 Slightly flesh out the Throwable documentation.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337353 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:15:56 +00:00
Adam Harvey
f0fe52e5a6 Add embryonic error handling section, since we don't have one place for this.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337352 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:15:47 +00:00
Adam Harvey
5bdb18a52e Update the basic syntax documentation for the removed tags in PHP 7.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337351 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:15:42 +00:00
Adam Harvey
1c7981f1ba Note the removal of $HTTP_RAW_POST_DATA.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337350 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:15:38 +00:00
Adam Harvey
c723b31c1e Update foreach() page for PHP 7.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337339 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:14:48 +00:00
Adam Harvey
c5966670de Remove ambiguous variable property examples.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337336 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:14:37 +00:00
Christoph Michael Becker
bcf30e909d typo fix by Srihari Thalla
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337316 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-06 23:49:19 +00:00
Christoph Michael Becker
3aa90eb0c1 typo fix by Randy Geraads
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337315 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-06 23:48:44 +00:00
Christoph Michael Becker
b9a867f215 typo fix by Julia Haucap
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337312 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-06 23:31:22 +00:00
Christoph Michael Becker
97c50278a6 =&new is syntactically invalid as of PHP 7
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337302 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-06 11:14:30 +00:00