Commit graph

474 commits

Author SHA1 Message Date
Christoph Michael Becker
9093ce1bc6 More PHP 4 related content removal
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346157 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-03 17:41:59 +00:00
Christoph Michael Becker
7ee0da6a02 Fix #75449: Ignored return type for abstract methods, defined in traits
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346114 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-28 12:41:43 +00:00
Pieter Hordijk
b08540046e Fixed typos in ::class description
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345616 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-09 16:27:09 +00:00
Christoph Michael Becker
db2ac1420f Use magic constant
Patch provided by Nicolas Lefevre.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345581 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-01 10:57:31 +00:00
Christoph Michael Becker
f559b71c79 Improve wording
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345055 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-25 14:50:18 +00:00
Christoph Michael Becker
dea92cb699 Fix typo
Patch provided by Elliot Ward.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344560 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-25 13:50:08 +00:00
Christoph Michael Becker
0fe00e3574 Minor doc improvements
Patches provided by anonymous users.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344469 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-09 12:44:59 +00:00
Pedro Magalhães
852f4696f1 Consistently use 4 spaces for tabs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344091 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-30 09:58:53 +00:00
Jakub Vrana
64642ea9c3 Fix ID of unserialize_callback_func INI entry
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344075 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 20:43:44 +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
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
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
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
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
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
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
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
Kalle Sommer Nielsen
fdebe6ee64 Fix example title
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341632 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-08 15:53:43 +00:00
Kalle Sommer Nielsen
530370df71 Improve the docs for ::class a little, by making notes in other parts of the docs about it
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341608 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-07 09:30:22 +00:00
Christoph Michael Becker
5186944b5a Fix #73779: typo with different semantics on visibility page
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341422 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-19 16:55:14 +00:00
Christoph Michael Becker
7de45151c2 Fix #73593: constant visibility needs to be documented
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341146 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-25 23:09:57 +00:00
Maciej Sobaczewski
a9977adcc2 Whoopsy, wrong version
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341077 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-19 06:04:27 +00:00
Maciej Sobaczewski
ac6f979ca9 Add missing informations (also integrates user notes)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341075 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-19 05:22:05 +00:00
Christoph Michael Becker
2de9c1a37b Fix ##73287: Clone chaining feature
We also document that this is possible for `new` as of PHP 5.4.0.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340428 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-11 13:01:01 +00:00
Christoph Michael Becker
829b469622 Stick to American English
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340349 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-07 10:32:40 +00:00
Christoph Michael Becker
f6c86f60c8 Fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340338 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-06 11:54:36 +00:00
Christoph Michael Becker
bf5cfd002c Improve example (patch provided by Joel James)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340241 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 14:20:36 +00:00
Christoph Michael Becker
da36163bfb Clarify behavior (patch provided by J.D. Grimes)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340240 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 14:19:56 +00:00
Christoph Michael Becker
3e823762fd Fix example (patch provided by Alexander Zhukov)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340236 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 14:07:15 +00:00
Christoph Michael Becker
2e7b22f6c4 Fix typo (as noticed by netrilix at gmail dot com)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339962 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-31 17:09:50 +00:00
Karoly Negyesi
31e3e09380 clarify trait use as
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339838 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-10 09:42:52 +00:00
Christoph Michael Becker
6937b29491 Class constants are allocated once per class
We try to get rid of the myth that class constants were allocated for each
instance, as claimed by user note 112286. Proof: <https://3v4l.org/3DKMC>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339824 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-09 11:32:38 +00:00
Christoph Michael Becker
5d2c855eac Document class constant visibility modifiers
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339823 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-09 11:13:18 +00:00
Christoph Michael Becker
c9279f4467 Fix #72652: Typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339705 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-22 18:35:29 +00:00
Christoph Michael Becker
f984ca507f Fix #71664: Use of the term "standard class" inaccurately
Clarify introduction sentence on creating interfaces with respect to classes

-- 
Provided by anonymous 70720 (d@roscius.ca)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339625 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-10 12:30:04 +00:00
Christoph Michael Becker
ec77057bf3 Fix #62200: __set_state() not implemented
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339526 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-29 17:03:32 +00:00
Christoph Michael Becker
c373ef087f Integrated user notes 119153 and 119475 into the manual proper
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339452 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-22 17:10:57 +00:00
Christoph Michael Becker
fa568719e1 Fix #72468: heredoc seem actually supported in static declarations
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339448 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-22 11:03:49 +00:00
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
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
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
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
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
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
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
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