Commit graph

502 commits

Author SHA1 Message Date
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
Philip Olson
15cfbd76e1 Fixed whitespace, patch by cleggmatt
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323806 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-02 08:38:40 +00:00
Jakub Vrana
d6105d5f55 Function entry for __autoload
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322137 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-12 15:04:13 +00:00
Jakub Vrana
fcddfb2551 Link directly to magic methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322136 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-12 15:01:15 +00:00
Jakub Vrana
28d123ef98 Don't use <function> for magic methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322134 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-12 14:14:28 +00:00
Jakub Vrana
bc09a56fb5 Method synopses and IDs for magic methods and function
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322132 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-12 13:55:24 +00:00
Shein Alexey
871545d23e Fixed whitespace.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321337 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-22 16:08:09 +00:00
Philip Olson
4770d2ec38 Fixed build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321310 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-22 00:18:45 +00:00
Hannes Magnusson
5340b7c601 Link to a trickery example, fixes bug#60499
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321294 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-21 15:05:24 +00:00
Brett Bieber
1428093951 Follow coding standards for sample code, as in http://doc.php.net/php/dochowto/chapter-conventions.php #7
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320521 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-06 19:47:01 +00:00
Jakub Vrana
6ee44cfc78 Trait properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@319725 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-23 20:44:23 +00:00
Peter Cowburn
bc318ee83f static is special keyword too (patch by anon 11351, doc #54038)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318102 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-14 11:37:17 +00:00
Richard Quadling
8b6d169424 Native EOL
Use consistent line terminator.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317663 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-03 16:27:39 +00:00
Richard Quadling
a56106f691 Standardized on double quotes for attributes.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317502 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-30 14:21:51 +00:00
Hannes Magnusson
4e687b6db5 Clarify when the dtor is actually executed (patch by Rob Allen & Nikita)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@316991 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-19 14:12:51 +00:00
Nikita Popov
f055002534 Make abstract constructor signature enforcement more clear
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@316911 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-17 13:51:08 +00:00
Nikita Popov
063ff7dedc Followup for Doc Bug #55085: Undocumented BC break with changing __construct() signature
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@316905 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-17 10:01:16 +00:00
Nikita Popov
8f14e1a420 Fix Doc Bug #55085: Undocumented BC break with changing __construct() signature
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@316904 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-17 09:55:04 +00:00
Etienne Kneuss
7137ccc0fd Mention that __autoload is somehow outdated
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315838 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-31 00:22:27 +00:00
Peter Cowburn
da72824c45 examples ws
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315199 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-19 15:01:58 +00:00
Johannes Schlüter
5c05004b29 nitpicking: PHP 5, not PHP5
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315146 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-18 15:27:50 +00:00
Peter Cowburn
911156099e singleton is bad example for traits
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315127 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-18 09:08:00 +00:00
Peter Cowburn
cff74cb12a fix traits visibility example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315126 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-18 09:00:44 +00:00
Richard Quadling
4f3e16d785 Linking magic methods.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315029 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-16 14:47:47 +00:00
Justin Martin
c8a12f2b59 Added traits to oop5 index.
Fixed some wording and added some in the traits document.
Added trait visibility modification information to the traits document.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313564 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-21 21:49:37 +00:00
Justin Martin
7ee2349a71 Added descriptions of trait composition, trait abstraction and static trait members.
Moved examples inline with each respective section.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313491 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-20 22:36:10 +00:00
Peter Cowburn
f6580b6a63 Improved Singleton docs (patch by Gordon Oheim)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313136 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-11 15:48:55 +00:00
Richard Quadling
44341556e9 Use a valid tag for the example's description.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313054 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-07 15:12:39 +00:00
Justin Martin
92e367295e Added a bunch of examples from the RFC.
Fixed the file ending comment.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312791 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-02 01:07:33 +00:00
Jakub Vrana
8888c9528e Future is now
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312729 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-30 20:22:04 +00:00
Richard Quadling
feaaed262e Added complete svn:keyword list
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312632 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-29 16:45:05 +00:00
Justin Martin
1949cc2d35 Started the OOP5 traits documentation.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312619 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-29 06:40:04 +00:00
Mike Ford
41e9ddf842 Accept and further improve Anonymous fix of bad English.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311963 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-09 08:19:03 +00:00
Peter Cowburn
84fee8e038 cannot use var with other visibility keywords
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311569 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-30 09:30:50 +00:00
David Tajchreber
ca6478c611 Patch submitted by anonymous person via online editor
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306851 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-30 10:10:51 +00:00
Mark Wiesemann
79ba70edc6 removed leftover word ("when")
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306693 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-26 17:25:13 +00:00
Adam Harvey
bae6b5c7e0 Fix doc bug #53283 (PHP.net Website Problem (confusing)).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305233 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-10 03:17:07 +00:00
Kalle Sommer Nielsen
606c44a528 Added a remark about overloaded properties and language constructs (Bug #43936)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304662 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-23 14:06:51 +00:00
Philip Olson
dcac1cb0bf Fixed build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304570 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-20 19:20:45 +00:00
Kalle Sommer Nielsen
962b413925 Fixed bug #51381 (Clarify class definition order importance for multiple levels of inheritance)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304561 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-20 10:25:27 +00:00
Richard Quadling
d25dd45e32 Classes ... is => Classes ... are.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304554 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-20 09:22:09 +00:00
Kalle Sommer Nielsen
a203d8319f Fixed bug #52716 (Interface difference between 5.2.6 and 5.3.2)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304533 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-20 06:36:21 +00:00
Kalle Sommer Nielsen
a2048ed42f Fixed bug #53058 (__autoload example #1)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304492 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-19 04:06:38 +00:00
Gustavo André dos Santos Lopes
0c878e752f - Missed a "a" in previous commit.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303546 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-19 07:03:08 +00:00
Gustavo André dos Santos Lopes
b579b724d1 - More precise description on how LSB works.
- Differences between $this-> and static:: in non-static contexts.
- Removed vague "edge cases" section, with an example that was not really surprising.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303545 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-19 06:58:29 +00:00
Philip Olson
03977edc1f Clarify __tostring() a little, and mention it must return a string.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303436 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-16 23:48:26 +00:00
Gustavo André dos Santos Lopes
a46a05a003 - Its -> It's (closes bug #52817).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303289 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-12 11:45:09 +00:00
Daniel Egeberg
6e133c0d53 Fixed PHP bug #52494 (description of keyword "new")
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302259 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-15 07:39:53 +00:00
Daniel Egeberg
de537ccab1 Better example for #52499
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302257 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-15 07:34:23 +00:00
Daniel Egeberg
966294f125 Fixed PHP bug #52499 (new keyword not fully documented)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302256 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-15 07:29:10 +00:00
Sean Coates
3109183fde fix the iterator implementation. If the array contains a value of false, the previous implementation would bail (the valid() function issues current() which returns false, just as if the array returns false; the new implementation keeps its own index, so there's no need to use current().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301637 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-28 02:59:12 +00:00
Daniel Egeberg
8574a2c1bd Documented constructor changes in PHP 5.3.3.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301474 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-22 17:47:40 +00:00
Richard Quadling
6f78fd0289 Show E_xxxx as constants.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301114 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-09 09:57:39 +00:00
Mark Wiesemann
91ff02993b - coding standards
- adding missing "public" modifier

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@300786 c90b9560-bf6c-de11-be94-00142212c4b1
2010-06-27 19:52:06 +00:00
Daniel Egeberg
9491eaf09c Explained that it is possible accessing private and protected members of other instances of the same object type.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@300372 c90b9560-bf6c-de11-be94-00142212c4b1
2010-06-11 08:55:34 +00:00
Daniel Egeberg
0640e024d4 Fixed PHP bug #51978
for file in `ack -i '\bA\s+SQL' -l`; do perl -i -pe 's/\b(a)(\s+SQL)/\1n\2/gi' $file; done


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@300101 c90b9560-bf6c-de11-be94-00142212c4b1
2010-06-02 18:45:11 +00:00
Daniel Egeberg
4ff73f7555 Fixed PHP bug #51885 (Typo, provisio should read "provision")
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299619 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-22 08:27:29 +00:00
Philip Olson
5e05b9d6ea Typo fix
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299561 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-21 06:09:04 +00:00
Philip Olson
6c9fa8b665 Added an OOP Changelog
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299539 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-20 22:30:34 +00:00
Daniel Egeberg
d08c651831 Another fix for #51664 (Interfaces page gives unclear information about class constants)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298604 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-26 16:50:06 +00:00
Daniel Egeberg
e209aa52df Fixed PHP bug #51664 (Interfaces page gives unclear information about class constants)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298601 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-26 16:26:50 +00:00
Peter Cowburn
8cd6280cc6 minor grammar improvements
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297948 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-13 08:54:43 +00:00
Daniel P. Brown
17e93774d1 Not *every* class definition matches this pattern, only basic classes.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297937 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-12 23:06:29 +00:00
Mark Wiesemann
c84d13055e - Bug #51500: Online documentation typo in OOP5 overloading
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297638 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-07 19:57:22 +00:00
Philip Olson
3e57d6ccfd Commented out or rewrote PHP 6 documentation as discussed. Grep 'FIXME PHP_6' to fix. Closes PHP Bug #51468
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297557 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-06 05:24:11 +00:00
Daniel Egeberg
96c9d88bad Converted to utf-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297028 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-28 22:10:10 +00:00
Daniel Egeberg
f5cf87b6e6 Fixing mistakes.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295470 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-24 13:16:50 +00:00
Daniel Egeberg
a3371d8b3e Fixed PHP bug #50870 (Constructor parameters do not have to match those of superclass constructor)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295468 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-24 12:44:37 +00:00
Kalle Sommer Nielsen
2c2e877372 Fixed bug #50961 (Overloading: magic __get method can be created static in older PHP versions)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295144 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-16 07:39:03 +00:00
Antony Dovgal
71a9cd7583 define $instance and make the example more clear
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@294876 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-11 09:25:27 +00:00
Daniel Egeberg
33f7afff50 Mentioning that shutdown functions and object destructors will be called even if exit() is called.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293992 c90b9560-bf6c-de11-be94-00142212c4b1
2010-01-25 15:28:23 +00:00
Mark Wiesemann
e363aaa5e0 coding standards fix
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293658 c90b9560-bf6c-de11-be94-00142212c4b1
2010-01-17 19:57:17 +00:00
Richard Quadling
aabc5b625c WS Tab removal
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293550 c90b9560-bf6c-de11-be94-00142212c4b1
2010-01-14 16:21:22 +00:00
Daniel Egeberg
3d0b4e7888 Fixed PHP bug #36172 (subclass serialization of parent private members).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293345 c90b9560-bf6c-de11-be94-00142212c4b1
2010-01-10 13:02:10 +00:00
Daniel Egeberg
959280f441 Fixes #50683 (missed one, sorry).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293198 c90b9560-bf6c-de11-be94-00142212c4b1
2010-01-07 00:56:22 +00:00
Daniel Egeberg
3920d3a607 Fixes #50683.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293197 c90b9560-bf6c-de11-be94-00142212c4b1
2010-01-07 00:54:57 +00:00
Daniel Egeberg
51d69396e5 Fixes #50637 (again)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@292921 c90b9560-bf6c-de11-be94-00142212c4b1
2010-01-02 16:33:59 +00:00
Daniel Egeberg
5113d21d27 Fixes #50637.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@292920 c90b9560-bf6c-de11-be94-00142212c4b1
2010-01-02 16:21:06 +00:00
Richard Quadling
964ef36e26 Added complete svn:keyword list
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291698 c90b9560-bf6c-de11-be94-00142212c4b1
2009-12-04 09:42:19 +00:00
Richard Quadling
e42c3f382a Typo. Fix #50379
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291696 c90b9560-bf6c-de11-be94-00142212c4b1
2009-12-04 09:21:33 +00:00
Richard Quadling
0d2968f8e0 Autoload and exceptions work. Mostly. Fix#50250
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291300 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-25 11:00:11 +00:00
Jakub Vrana
77bda36109 Whitespace
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291208 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-23 14:43:09 +00:00
Richard Quadling
83dfe8f4a6 Typo and link. Fix bug#50002
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@289986 c90b9560-bf6c-de11-be94-00142212c4b1
2009-10-27 12:56:49 +00:00
Mark Wiesemann
b851244780 added missing period
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@289308 c90b9560-bf6c-de11-be94-00142212c4b1
2009-10-07 21:37:38 +00:00
Florian Anderiasch
41dba5e202 added references to spl_autoload* - fix #49628
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@289102 c90b9560-bf6c-de11-be94-00142212c4b1
2009-10-02 20:51:14 +00:00
Torben Wilson
af4410a7e1 Normalized the sgml-default-dtd-file local-variable line for those
still using this, after discussion on the phpdoc list.
From now on, manual.ced will need to be found at ~/.phpdoc/manual.ced.



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288721 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-25 07:04:39 +00:00
Brandon Savage
3110d69f2f Adding serialization documentation stub for PHP 5 and changing links to point to PHP 5 documentation, rather than appendix.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288622 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-23 20:09:24 +00:00
Brandon Savage
ab58c4db2e Adding information and example on inheritance as an OOP principle, per PHP-DOC discussion.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288590 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-22 21:33:16 +00:00
Torben Wilson
e0a9a1084e Minor clarity fixes.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288506 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-21 07:24:05 +00:00
Nilgün Belma Bugüner
99270d79ee added svn properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288503 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-21 06:16:40 +00:00
Torben Wilson
baa9b54487 Un-fix the "fix" to the members. This fix would have limited the sense
of the wording to properties, when it applies to both properties and
methods.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288502 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-21 06:15:51 +00:00
Nilgün Belma Bugüner
8eb446821a fixed some members
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288501 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-21 06:03:30 +00:00
Nilgün Belma Bugüner
518bdc8a5f fixed some members
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288499 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-21 05:17:59 +00:00
Brandon Savage
05d68e4ea4 Updating mysql-insert-id documentation. More clearly explains why bigint will fail.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288440 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-18 18:04:29 +00:00
Brandon Savage
e93446e9b5 Adding information about method signatures and typehinting to PHP manual.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288352 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-15 17:39:58 +00:00
Torben Wilson
459f5061ab Standardize on the term "properties" instead of "members".
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288219 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-10 05:07:22 +00:00
Torben Wilson
813758ad4f Cleaned up and made more reference-like.
Split docs for properties out into its own section.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288217 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-10 05:02:52 +00:00
Torben Wilson
1d625605fe Changed 'Autoloading Objects' to read 'Autoloading Classes'.
Addresses bug #49171.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288025 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-04 02:23:30 +00:00
Daniel Convissor
f104a53630 Clean up example titles
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287874 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-29 04:46:31 +00:00
Daniel Convissor
c2bd4ff008 Change literal to function around method names.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287857 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-28 15:59:28 +00:00
Daniel Convissor
f417871e66 Add a note about chaining assignments, responding to several user notes.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287826 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-28 03:22:29 +00:00
Richard Quadling
bb2d79ed0c get_class's output is case sensitive.
Fix for bug #49385 

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287804 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-27 12:23:30 +00:00
Torben Wilson
d48001214d Fixes to grammar and clarification of what a valid class name is.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287632 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-24 07:11:03 +00:00
Philip Olson
6c18ab3fe2 - Rewrote the reflection documentation as a book, and removed it from the OOP 5 section
- Many parts are still considered undocumented -- feel free to edit
- Some content stolen from here:
--- http://svn.php.net/viewvc/phpdoc/en/trunk/language/oop5/reflection.xml?revision=283798&view=markup
--- http://svn.php.net/viewvc/php/php-src/trunk/ext/reflection/tests/


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287332 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-15 14:39:48 +00:00
Nilgün Belma Bugüner
04077dd209 fixed properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283798 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 06:17:58 +00:00
Jakub Vrana
aca469c60f Whitespace
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282860 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-27 07:55:21 +00:00
Kalle Sommer Nielsen
3ea6788507 Revert dams last change here, it doesnt break the build at all :)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282668 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-23 16:59:11 +00:00
Damien Seguy
021cc13b97 fix build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282666 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-23 16:44:57 +00:00
Kalle Sommer Nielsen
9f22cf7cdc Removal of closure stuff for now until its decided whether to put it in HEAD yet, fixes #48663
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282661 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-23 15:42:45 +00:00
Kalle Sommer Nielsen
054f348eda Link to spl.iterators instead as per suggestion by Hannes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@281571 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-03 01:16:50 +00:00
Kalle Sommer Nielsen
8a7b0b053a Link to book instead of ref
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@281513 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-01 16:19:23 +00:00