Commit graph

1667 commits

Author SHA1 Message Date
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
Jakub Vrana
b89d5b4683 Add missing version info
Found by PhD

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330435 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-31 22:33:43 +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
8f10aa0448 Standardize Generator documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330333 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-21 18:44:54 +00:00
Jakub Vrana
efaca17617 Closure is class
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330332 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-21 17:57:14 +00:00
Jakub Vrana
4ca4c26caa Fix a typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330318 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-20 21:14:43 +00:00
Jakub Vrana
3d43a50e96 Document compression wrappers usage
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330317 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-20 21:14:21 +00:00
Jakub Vrana
57492d2928 Fix wrapper usage title
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330316 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-20 21:10:17 +00:00
Jakub Vrana
38e65393c5 Use InheritedProperties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330314 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-20 20:36:05 +00:00
Jakub Vrana
676d5ed969 Link allow_url_include instead of allow_url_fopen (bug #55805)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330281 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-18 00:20:19 +00:00
Jakub Vrana
caeec94453 Link stream notification callback description
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330260 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-17 02:24:57 +00:00
Jakub Vrana
c13539985c Generator::throw()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330217 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-14 20:44:26 +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
Dejan Marjanovic
9e5fdbf8d0 Added note to SERVER_PORT to warn about spoofing
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329894 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-22 22:13:35 +00:00
Karoly Negyesi
0e6ad6673c objects are greater than arrays.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329723 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-10 10:08:53 +00:00
Jakub Vrana
19cac543b8 Explain return inside generator (fixes bug #64102)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329570 c90b9560-bf6c-de11-be94-00142212c4b1
2013-02-24 09:29:27 +00:00
Jakub Vrana
e499a4379d Rename Generator ID to allow http://php.net/generator
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329542 c90b9560-bf6c-de11-be94-00142212c4b1
2013-02-22 13:36:56 +00:00
Jakub Vrana
1865487b42 Rename yield ID to allow http://php.net/yield
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329540 c90b9560-bf6c-de11-be94-00142212c4b1
2013-02-22 13:14:13 +00:00
Philip Olson
04b11e621f Fixed spelling
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329325 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-29 01:47:09 +00:00
Jakub Vrana
eb71702c7d Add ?> to example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329285 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-24 01:13:24 +00:00
Philip Olson
ea5ef87879 Linked the floating point warning to http://floating-point-gui.de/
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329281 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-23 17:47:58 +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
Sherif Ramadan
95f54b87fd Clarifying operator precedence docs on meaning of non-associativity and how this affects operator parsing.
Fixes bug #63783


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329164 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-16 15:56:24 +00:00
Richard Quadling
04beb00111 W/S Tabs to spaces.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329060 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-10 17:34:40 +00:00
Adam Harvey
847cba5fd0 Fix infinite recursion in namespaces FAQ example #8, per note 111006.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329007 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-08 02:55:57 +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
TAKAGI Masahiro
d096079ebb Set svn:keyword, svn:eol-style
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328433 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-20 16:16:46 +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
Sherif Ramadan
08ef640318 Fixed line wrap from revision 328358
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328359 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-14 17:41:40 +00:00
Sherif Ramadan
bf9085b2b1 Added note for accessing array elements with curly braces - fixes bug #55324
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328358 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-14 17:08:15 +00:00
Adam Harvey
13995e9311 Warn users about the perils of multi-byte strings and direct character access.
Or, as xkcd put it today, if it starts pointing toward space you are having a
bad problem and you will not go to space today.

Fixes doc bug #63079 (String access by character is not multibyte-safe).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328351 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-14 02:10:57 +00:00
Peter Cowburn
8b2059d649 escaping for the database was done wrong in the past in PHP but this part of the manual still is in the past and does not reflect that change
--
Provided by anonymous #19624 (hanskrentel@yahoo.de)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328330 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 22:33:39 +00:00
Adam Harvey
3c107e7192 Fix doc bug #55140 (Ambiguous statement describes FQ namespace) with the
anonymous commenter's suggestion.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328318 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 09:14:26 +00:00
Kalle Sommer Nielsen
f49c307f13 Minor markup fixes to r328306, including WS in ssh2_auth_agent() (should probably have used svn:prop, but hey!)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328308 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-11 19:22:21 +00:00
Casper Langemeijer
bc57a23c73 Document changes in ssh2 extension 0.12 release.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328306 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-11 15:14:15 +00:00
Adam Harvey
5273dab5d8 Fix doc bug #63469 ("Then" should be "than").
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328289 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-09 02:03:29 +00:00
Adam Harvey
dd0c63c042 Add a changelog for ErrorException::__construct() noting the addition of the
$previous parameter.

Fixes doc bug #63443 (ErrorException __construct API changed between 5.2 and
5.3).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328246 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-06 01:58:41 +00:00
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