Commit graph

433 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
Peter Cowburn
d03b5f4c3f fix indenting
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336770 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-14 08:47:12 +00:00
Peter Cowburn
f97342d0d2 Updated the class constants documentation to add an example and paragraph about using constant expressions, the feature added in 5.6.0
-- 
Provided by Ryan Pallas (derokorian@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336769 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-14 08:27:16 +00:00
Pasindu De Silva
a44a1e0b79 Minor typo, grammar and example Fixes (By Christoph Becker cmb@php.net)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336715 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-04 19:48:31 +00:00
Jean-Sebastien Hedde
41060e691d Anonymous contributions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335484 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-30 12:29:17 +00:00
Chris Wright
be8c27a5f3 Casing consistency fix in OOP docs
-- 
Provided by anonymous 47943

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334699 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-01 16:13:03 +00:00
Chris Wright
eddfd34bc9 Grammar fix in OOP docs
-- 
Provided by anonymous 47813

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334698 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-01 16:10:02 +00:00
Adam Harvey
4307b3bcdf Document __debugInfo().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334638 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-28 05:28:06 +00:00
Jean-Sebastien Hedde
8654370154 Anonymous contributions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333618 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-25 12:56:31 +00:00
Jason Gerfen
61146174fd Fixes for 'missinginitializer' errors (I am new so I am uncertain about a standard other than var types, please advise.)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333259 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-04 12:50:54 +00:00
Peter Cowburn
4b2619b58a grammar
Based on a patch by Nathaniel Cailo

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333213 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:56:25 +00:00
Peter Cowburn
41c0426e94 typo
Patch by Kyle Wiering

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333207 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:56:01 +00:00
Peter Cowburn
3d6f4f815e typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333195 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:55:09 +00:00
Joe Watkins
53182cbc3a fix #66663 cleanup description
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332880 c90b9560-bf6c-de11-be94-00142212c4b1
2014-02-23 08:22:12 +00:00
Simion Onea
b7031192a2 Reverted to an earlier revision.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332727 c90b9560-bf6c-de11-be94-00142212c4b1
2014-01-24 06:17:07 +00:00
Simion Onea
18e48e7ff4 Changed Mrs to Ms. Mrs means "mister or missis".
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332718 c90b9560-bf6c-de11-be94-00142212c4b1
2014-01-23 12:33:48 +00:00
Hannes Magnusson
7850a1abc6 Changelog for __get() updated.
-- 
Provided by anonymous 28438 (hanskrentel@yahoo.de)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332595 c90b9560-bf6c-de11-be94-00142212c4b1
2014-01-11 22:56:36 +00:00
Matthew Fonda
c5c812a815 Fix bug #66214 - example #1 on OOP magic has two opening <?php
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332232 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-01 17:59:59 +00:00
Pieter Hordijk
45497f188a Replaced deprecated mysql_* functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332224 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-28 09:52:38 +00:00
Kalle Sommer Nielsen
c7c4f245b0 Fixed bug #66073 (Traits are not included in OOP changelog)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332133 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-16 23:16:17 +00:00
Chris Wright
fc85461184 Updated class name regex to include start/end anchors.
-- 
Provided by anonymous 35003 (robin@kingsquare.nl)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332018 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-30 18:22:34 +00:00
Joe Watkins
60316598b1 #64847 correction
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331806 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-13 17:40:06 +00:00
Joe Watkins
a9f96e8c83 #61340 adjust example for consistency
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331736 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-09 06:05:41 +00:00
Adam Harvey
cccb74c8dd Actually remove the patterns page to avoid confusion, since it hasn't been
built for over a year.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331457 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-20 21:32:59 +00:00
Adam Harvey
e49e32a1d3 Drop the note about __isset() not being triggered on empty() — it contradicts
the earlier description and, more importantly, is plain wrong.

Fixes doc bug #65625 (Ambiguous text).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331299 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-05 21:54:14 +00:00
Chris Wright
6a1165067f Adding information that resource is not a valid type hint. It isn't mentioned at all.
-- 
Provided by Steve Tauber (steve@onzra.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331202 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-25 19:07:52 +00:00
Yannick Torres
33040b3b1b Typo found by online editor user
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331135 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-16 09:25:19 +00:00
Jakub Vrana
1fe740ab50 Clarify that internal classes can override only ==, not ===
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331094 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-08 02:18:54 +00:00
Adam Harvey
56023920cb Document the change in inheritance behaviour in PHP 5.3.9 when conflicting
method names share a signature.

Fixes doc bug #65246 (Discrepancy between documentation and actual workings).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330996 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-21 14:38:05 +00:00
Pieter Hordijk
57af376c5f Made class constants uppercase in examples
Fixed return type of mysqli::$client_version

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330913 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-14 17:20:52 +00:00