Commit graph

114 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
Jakub Vrana
5faa7a6747 Document and use callable type hint introduced in PHP 5.4
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324122 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-12 05:55:59 +00:00
Jakub Vrana
337409a8c5 Omissions and best practices
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324121 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-12 05:06:15 +00:00
Nikita Popov
63f0c045f9 Add array dereferencing to array docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323755 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-02 00:34:47 +00:00
Nikita Popov
c272030e25 Restructure array docs so related information goes together (like key type handling). Also add note about 5.4 syntax.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323718 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-01 16:51:53 +00:00
Justin Martin
9295f92353 Fixed issue with float comparison example.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322984 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-31 20:40:50 +00:00
Justin Martin
771d0e9937 Typo.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322983 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-31 19:53:07 +00:00
Justin Martin
9592699ed0 Described normative means of testing floating point numbers for equality using a machine epsilon.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322982 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-31 19:36:00 +00:00
Nikita Popov
68c00dcb1a Add "Casting to NULL" section back, this time with correct content.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322850 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-27 16:09:45 +00:00
Nikita Popov
ee7bb2a07b Remove misleading/wrong "Casting to NULL" section from NULL docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322849 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-27 15:46:29 +00:00
Matthew Fonda
2684871e4f fix #60669 - invalid word "progragation" should be "propagation"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321829 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-06 15:19:39 +00:00
Jakub Vrana
b4dcc6c31d Undocument PHP 3
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321826 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-06 10:34:31 +00:00
Jakub Vrana
1f067345c8 Undocument PHP 3
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321825 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-06 10:30:53 +00:00
Justin Martin
371a80eac9 Replaced Zahlen literal with character entity. Fixes bug #54088.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320469 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-05 23:26:30 +00:00
Justin Martin
3f82f09927 Documented NaN behaviour. Closes bug #60346.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320310 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-03 18:43:05 +00:00
Philip Olson
0fa36ed5cc Added \e documentation via a patch from Mick Weiss. Documents PHP bug #60350
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320209 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-30 21:32:02 +00:00
Hannes Magnusson
fbb8a1962d - Example within notes are confusing
- Keep the screen content in CDATA to avoid leading newline


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318169 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-17 18:53:37 +00:00
Hannes Magnusson
c4a3b8382d 130+ chars in one line is not cool
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318168 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-17 18:44:10 +00:00
Stanislav Malyshev
89ea22350e document binary notation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318142 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-16 01:56:25 +00:00
Gustavo André dos Santos Lopes
9fa2d6307c - Fixed doc bug #55668: trings docs: explain that strings are binary safe.
- Strings & encodings.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@316504 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-11 20:14:05 +00:00
Richard Quadling
d7470c8afc PHP4/PHP5 => PHP 4 / PHP 5
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315183 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-19 10:36:17 +00:00
Jakub Vrana
d2bd0304a2 Undocument PHP 3
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313748 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-26 22:12:25 +00:00
Mike Ford
7743a1203a Fix typos, improve English. Be more explicit about non-usefulness of ==TRUE.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312534 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-27 15:26:07 +00:00
Mike Ford
d1c7b2d2bb Improve Strings intro re size of characters and (non-)Unicode support.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311966 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-09 08:42:06 +00:00
Shein Alexey
88723b48e9 Fixed example title.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308159 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-09 11:58:25 +00:00
Karoly Negyesi
a92b44ef99 Use the correct Unicode character for the integer set
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307334 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-10 09:13:26 +00:00
Kalle Sommer Nielsen
b8045fcb12 Fixed bug #53575 (The "invalid HEREDOC" example is totally valid)
# Also fixed the <screen> tags to be inside examples for better markup rendering

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306478 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-20 01:35:53 +00:00
David Tajchreber
0337085f73 Fixed bug #53519 added explicit notes that certain examples won't work
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306232 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-11 19:02:58 +00:00
Gustavo André dos Santos Lopes
2a7d8cd25b - Fixed inaccurate information on floats. Closes bug #53365.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305581 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-20 16:10:04 +00:00
Justin Martin
9adf7eba60 Cleaned up simple string variable parsing example, as per bug #53254.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305306 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-13 03:46:44 +00:00
Richard Quadling
568b69c994 array elements, not array variables.
Fix bug #53240

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305086 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-04 16:18:15 +00:00