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