Commit graph

1630 commits

Author SHA1 Message Date
Sherif Ramadan
ccb5544ee6 Reverting commit from revision 308160. Callable is a type hint, not a primitive data type.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328219 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-01 21:54:27 +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
Peter Cowburn
c4e11d3254 fix build (invalid element name)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327738 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-21 16:21:21 +00:00
Karoly Negyesi
5180de5d11 Make note of how to properly implement a Traversable interface.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327726 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-21 08:14:03 +00:00
Karoly Negyesi
50c959fc2e Clarifying what happens when instanceof tests non-objects.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327594 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-10 11:54:51 +00:00
Peter Cowburn
c5849e0c38 Fix capitalisation for null type and use entity for null value.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327443 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-03 10:36:09 +00:00
Nikita Popov
d7b608d1cb Move string offset peculiarities between PHP versions off into the string offset docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327267 c90b9560-bf6c-de11-be94-00142212c4b1
2012-08-25 14:37:42 +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
Philip Olson
a2a141160a Mentioned this was removed in 5.4.0 so it's a fatal error. This is from a patch via the OE but I forget from who as their name disappeared but thank you whoever you are.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327197 c90b9560-bf6c-de11-be94-00142212c4b1
2012-08-21 06:53:37 +00:00
Philip Olson
d22ce6b9c9 This looks okay, and adds an is_callable() see also link. Not sure who the author is... (I thought the OE tracked that...)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327189 c90b9560-bf6c-de11-be94-00142212c4b1
2012-08-20 18:46:59 +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
Peter Cowburn
f292681131 curly braces for variable properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327105 c90b9560-bf6c-de11-be94-00142212c4b1
2012-08-13 19:50:28 +00:00
Karoly Negyesi
cf4a06bf38 Tinkering include docs a bit more.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327096 c90b9560-bf6c-de11-be94-00142212c4b1
2012-08-13 07:26:30 +00:00
Karoly Negyesi
2177c63915 Make include returns a lot more clear.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327094 c90b9560-bf6c-de11-be94-00142212c4b1
2012-08-13 07:15:46 +00:00
Nikita Popov
2c3698ad6f Fix CS and typos in for documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326845 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-28 09:08:02 +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
Adam Harvey
2726a42e43 Fix doc bug #62506 (follow_location should be bool instead of int) and also add
a missing full stop on the same page.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326722 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-20 05:53:22 +00:00
Sherif Ramadan
cc4f599a5f Changed example for ErrorException, which demonstrated wrong argument order in the construct.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326694 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-19 00:38:06 +00:00
Anthony Ferrara
4b4ae3e993 Fix issues with incorrect precedence documentation.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326667 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-17 16:06:18 +00:00
Karoly Negyesi
38d18b3046 Clarified a little php://filter chains
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326646 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-15 17:46:53 +00:00
Pieter Hordijk
887bcfd33f Improved for() docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326628 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-13 18:49:23 +00:00
Peter Cowburn
011bc82c67 minor spelling/grammar improvement (doc #62389)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326293 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-22 08:19:50 +00:00
Peter Cowburn
ec2f544a4c typo in example (doc #62306)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326144 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-13 08:09:05 +00:00
Peter Cowburn
203cd3e98e minor grammar improvements
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325975 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-04 21:24:50 +00:00
Nikita Popov
55713d3fa0 Fix doc bug #62222: Continue 0; is invalid
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325967 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-04 13:22:33 +00:00
Peter Cowburn
437ca6963d version info for closure methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325959 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-04 08:36:45 +00:00
Jakub Vrana
b5dd8862bd Delete Patterns chapter
I have a very strong feeling that this chapter doesn't belong to the PHP Manual.
It doesn't document the language but only some usage of it.
It is vastly incomplete and the longest part is warning about using Singleton.
I have no problem with including the examples somewhere else (probably to chapter about static methods).
But it causes more harm than benefit as it is.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325666 c90b9560-bf6c-de11-be94-00142212c4b1
2012-05-13 02:29:51 +00:00
Maciek Sokolewicz
d8cb34e3cd reworded some text to follow proper english grammar
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325238 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-16 17:09:48 +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
Yannick Torres
a1daee7a1a Revert last change
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325207 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-15 13:18:17 +00:00
Yannick Torres
319b01713c Typo found by online editor user
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325203 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-15 11:25:17 +00:00
Adam Harvey
2fea17adb9 Fix doc bug #61723 (<?php issues a parse error).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325166 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-14 07:04:12 +00:00
TAKAGI Masahiro
9c814482b6 tweak example.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324720 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-02 20:52:07 +00:00
Daniel P. Brown
33940bbe8c Typo found and reported via webmaster mailing list by 'Вася Пупкин'.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324719 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-02 16:20:06 +00:00
TAKAGI Masahiro
abe03dab3f fix build.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324676 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-01 11:28:58 +00:00
Yasuo Ohgaki
3e98008af4 Improve array doc for string offset access.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324661 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-31 09:22:45 +00:00
Yasuo Ohgaki
19fe5f0cb0 fix incorrect description
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324628 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-30 10:26:14 +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
3ac3e34084 PHP 5.4 INI settings
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324591 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-27 20:32:27 +00:00
Nikita Popov
84c203fba7 Minor changes to array docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324573 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-27 09:36:20 +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
TAKAGI Masahiro
ba5706cbb5 set svn property.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324313 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-16 20:43:39 +00:00
Drak
7d47c92b69 Apply coding standards and reword explanations.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324268 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-15 11:38:13 +00:00
Drak
0f079ce044 Change case
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324265 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-15 05:45:49 +00:00