Commit graph

1252 commits

Author SHA1 Message Date
Torben Wilson
d2f58ea7cb Noted that the values of static class variables and class constants
may be accessed as the names of variables in the local scope, but that
single-curly-brace syntax will not work with function or method calls
or static class variables or class constants.
Addresses bug #47369.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288077 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-05 06:39:01 +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
Richard Quadling
607639bdac Missing properties and methods of the built-in Exception class and note regarding the inability to clone an Exception.
Fixes bug #49402

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287937 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-01 10:20:56 +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
Daniel Convissor
fda91bbd0d clarify precedence of logical operators, bug 48262
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287814 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-27 15:45:24 +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
e99cfa6a1a Used the entity for &null;.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287788 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-27 04:22:21 +00:00
Torben Wilson
37036f13a7 Clarified what will happen when attempting to access an undefined array index.
Addresses Bug #49202.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287729 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-26 06:34:00 +00:00
Torben Wilson
81a0c36227 Clarified what will happen if you call return using parentheses but no argument.
Addresses Bug #49346.
Note: perhaps control structure documentation should be normalized to cover this sort of thing.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287728 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-26 05:59:59 +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
Daniel P. Brown
aa1104a02a Added PHP 5.3 deprecation warning.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287196 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-13 03:32:47 +00:00
Daniel P. Brown
282e60fbe9 Fixed deprecation notice regarding {} vs. [], which isn't going to wait until PHP6.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287193 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-13 02:36:25 +00:00
Brandon Savage
41050c31e8 Fixed malformed XML that broke the build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287169 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-12 18:01:52 +00:00
Brandon Savage
eb4ea1b9fa Updating include and include_path documentation to be more clear and explicit.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287153 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-12 11:53:57 +00:00
Dave Barr
af7da72ab4 - Typos.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@286545 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-30 10:20:55 +00:00
Jakub Vrana
5367ec851c Link anonymous functions/preg-replace-callback.xml
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@286543 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-30 09:20:16 +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
Carola 'Sammy' Kummert
660ddc2fe3 typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283574 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-06 14:41:34 +00:00
Kalle Sommer Nielsen
3b0392cafa Fixed #48119 (usort() docs don't mention it now takes a lambda)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283436 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-03 18:21:37 +00:00
Hannes Magnusson
6389ebcab9 - ignore_errors was merged to 5.2.10
- mention changes in protocol_version


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283396 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-03 09:14:59 +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
Richard Quadling
5aedae62db literal => constant for error constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282808 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-26 07:38:42 +00:00
Gwynne Raskind
63fd3dfc75 Cleaned up the description of closures, including a bit of cs and ws.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282678 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-23 19:49:35 +00:00
Hannes Magnusson
f70806eb91 Make it darn clear that declare() can come before namespace;
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282672 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-23 18:56:16 +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
Hannes Magnusson
fdd664969d make it cristal clear you cannot jump between files
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282655 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-23 13:46:53 +00:00
Rasmus Lerdorf
07e23094b7 Daily doc commit - fixed bug #48631
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282620 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-23 04:04:50 +00:00
Kalle Sommer Nielsen
49f7d296c8 Minor rewording
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282590 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-22 17:21:28 +00:00
Kalle Sommer Nielsen
6ccf275113 Part 1/2
* Removed the examples from migration and placed them in their respective sections
* Started to refactor and make the markup for the migration53 guide alot nicer and more structured
* Documented Closure assignment, and how to deal with parent scoping in closures
* Documented some heredoc related features as of 5.3


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282526 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-21 19:59:34 +00:00
Karoly Negyesi
ffb4866771 removed a piece, it was repeated, badly worded and off topic at the repeated location
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282507 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-21 16:34:09 +00:00
Rasmus Lerdorf
6676521c23 Improve goto description and add a couple of examples. Remove the
warning because I think it is better to simply describe that
restriction up front.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282476 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-20 18:07:12 +00:00
Philip Olson
93d7dabbae added xkcd image to the goto docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282135 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-14 22:03:29 +00:00
Richard Quadling
e65155b6c6 Grammar
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@281862 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-09 10:10:49 +00:00
Richard Quadling
2a2a9368dd Refined string to int/float rules. #48496
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@281858 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-09 09:31:40 +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
Philip Olson
42af7cab62 Added missing example title, and removed bogus &example.outputs.similar;
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@281470 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-31 16:58:03 +00:00
Kalle Sommer Nielsen
8562e285f2 Typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@280389 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-12 15:46:10 +00:00
Kalle Sommer Nielsen
02b686b83e Exception::getPrevious is available as of 5.3
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@280386 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-12 15:33:46 +00:00
Daniel P. Brown
4ce6e9bd4e Addresses Bug #47239.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@280171 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-08 18:55:11 +00:00
Philip Olson
8589c713a7 Changed <link linkend="function... to <methodname> where appropriate (markup)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@280164 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-08 16:11:20 +00:00
Daniel P. Brown
4439b2802b Added quick note based on Bug #48055.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@280158 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-08 13:40:26 +00:00
Daniel P. Brown
7bc2f2a90a Just some minor grammatical fixes.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@280154 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-08 13:13:17 +00:00
Yannick Torres
def8f31b36 fix markup
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@280028 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-06 18:04:12 +00:00
Hannes Magnusson
ccbbe629d7 Document bug#45092 (the header context parameter can now be an array)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@279959 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-05 07:58:24 +00:00