Commit graph

412 commits

Author SHA1 Message Date
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
Adam Harvey
c2f8c648c8 Promote ::class documentation to its own subsection for direct linking.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330569 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-20 22:08:17 +00:00
Adam Harvey
1fc0b05670 Integrate note 112050 by adding a paragraph noting that __sleep() and
__wakeup() provide further options in terms of object serialisation.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330347 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-24 17:10:40 +00:00
Jakub Vrana
0bae036804 ClassName::class
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330216 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-14 20:44:08 +00:00
Sherif Ramadan
73e27eb2d9 Fxies bug #63832
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329168 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-16 19:18:10 +00:00
Adam Harvey
0dec5d1aea Add a warning about the fatal error generated when you throw from __toString().
Prompted by bug #50699, although it doesn't really fix it as such.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328669 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-05 01:19:20 +00:00
Adam Harvey
8ad0d94e1c Add initial migration guide for PHP 5.5.
What's done: the migration guide itself, updates to existing functions and
functionality, and new language features.

What's not done: stub pages for new functions and methods. (I'd rather get this
in now, though, than have it languish on my hard drive any longer so that other
people can contribute.)

What could use help: the generator chapter is pretty rough and ready. Better
examples would be awesome. I certainly won't argue if somebody wants to add the
function stubs, either.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328430 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-20 15:17:23 +00:00
Gordon Oheim
0b37eb99ef Added the names of the respective tokens to access properties (thank hakre for the suggestion)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328167 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-28 17:39:42 +00:00
Gordon Oheim
af5f871724 Removed the reference to constants and methods.
After a question on StackOverflow (http://stackoverflow.com/questions/13110446/accessing-constants-inside-php-object) I have removed the reference to constants and methods from the paragraph. IMO, it does not belong to a chapter about properties and the phrasing was somewhat to comprehend as well. The edit should make it easier to understand and cause less confusion.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328166 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-28 17:29:06 +00:00
Yannick Torres
3a8dc25d68 Typo found by online editor user
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328095 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-22 11:49:37 +00:00
Yannick Torres
00649f549f Typo found by online editor user
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328079 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-19 09:28:27 +00:00
Sherif Ramadan
ac5ed968ff Updated abstract method signature information and added an example to clarify on optional arguments.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327966 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-09 13:24:53 +00:00
Philip Olson
5b5ab43c78 Fixed typo. Patch by Google user Josh Clark via OE.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327202 c90b9560-bf6c-de11-be94-00142212c4b1
2012-08-21 07:10:13 +00:00
Peter Cowburn
666b6aa9a5 link to variable property names description from oop5 properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327106 c90b9560-bf6c-de11-be94-00142212c4b1
2012-08-13 19:56:09 +00:00
Adam Harvey
4d6ac2f940 Fix doc bug #62334 (New valid uses of static keyword not included in static
keyword doc page) by adding a tip to the oop5.static page linking to the other
uses of static.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326724 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-20 08:15:14 +00:00
Jakub Vrana
84b8fca68f Use <function> for language constructs (now supported by PhD)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325214 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-15 21:45:34 +00:00
Peter Cowburn
f130f1800e rework iterator/iteratoraggregate parts of oop5.iteration (no more "you"!)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324593 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-27 22:42:19 +00:00
Jakub Vrana
a9b26c34e4 Display language constructs without parentheses
Side effect of this change is that include, require and return are now properly linked. They weren't because they don't live inside <refentry> so PhD doesn't know about them.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324522 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-25 08:39:30 +00:00
Yannick Torres
9533989cdb Revert some change
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324461 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-22 15:56:08 +00:00
Yannick Torres
addba5dcce Typo found by online editor user
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324459 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-22 15:15:20 +00:00
Jakub Vrana
725924e665 Interface, children, callable, trait
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324171 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-13 01:39:06 +00:00
Peter Cowburn
f250f6c487 remove spurious > from example (thanks B Delmotte)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323957 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-06 15:52:11 +00:00