Commit graph

855 commits

Author SHA1 Message Date
Joey Smith
eba4fa6128 Fix #38935, document changes in PHP5 when casting objects to arrays.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@220546 c90b9560-bf6c-de11-be94-00142212c4b1
2006-09-26 00:37:57 +00:00
Nuno Lopes
6a1e089831 close #34697: classes should be defined before use
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@219625 c90b9560-bf6c-de11-be94-00142212c4b1
2006-09-08 11:37:31 +00:00
Dave Barr
e86398e2cb - Typos.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@219619 c90b9560-bf6c-de11-be94-00142212c4b1
2006-09-08 08:48:16 +00:00
Etienne Kneuss
b6359ff0b6 Fix #38723 (Parentheses are not required)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@219473 c90b9560-bf6c-de11-be94-00142212c4b1
2006-09-06 12:42:52 +00:00
Etienne Kneuss
fb59a0ff6c Fix #33035 (Introduce instanceof's precedence)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@219469 c90b9560-bf6c-de11-be94-00142212c4b1
2006-09-06 12:25:19 +00:00
Etienne Kneuss
841c3eea37 Fix the 'instance of an object'
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@219464 c90b9560-bf6c-de11-be94-00142212c4b1
2006-09-06 11:57:23 +00:00
Etienne Kneuss
18f34143e1 Fix #38660 (Implement changes regarding objects in PHP5)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@219462 c90b9560-bf6c-de11-be94-00142212c4b1
2006-09-06 11:55:09 +00:00
Sean Coates
17a283bd6a WS
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@219226 c90b9560-bf6c-de11-be94-00142212c4b1
2006-09-01 15:37:21 +00:00
Sean Coates
3a9d373d06 note about non-obvious ternary evaluation (and recommend to avoid stacking); bug #38679
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@219225 c90b9560-bf6c-de11-be94-00142212c4b1
2006-09-01 15:33:53 +00:00
Philip Olson
8c34bbe19b Document unexpected/undefined return types, closes bug #38130
# Thanks to (btherl at yahoo dot com dot au) for the initial write-up


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@219184 c90b9560-bf6c-de11-be94-00142212c4b1
2006-08-31 17:55:45 +00:00
Philip Olson
9bdd5ee1bf $string{42} is indeed deprecated as of PHP 6, so let's document that.
Also, removed "string offset" information from the "type juggling" section.
This also closes bug #38645


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@219131 c90b9560-bf6c-de11-be94-00142212c4b1
2006-08-31 01:57:26 +00:00
Nuno Lopes
c038f8959c make that 5.1.3 instead of 5.2.0. thanks to Pierre & Lukas for the info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@218044 c90b9560-bf6c-de11-be94-00142212c4b1
2006-08-12 17:24:36 +00:00
Nuno Lopes
1531f5bc77 fix #38160: 'var' no longer produces a E_STRICT warning
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@218039 c90b9560-bf6c-de11-be94-00142212c4b1
2006-08-12 16:44:18 +00:00
Nuno Lopes
ca562b60e8 fix #37702: __toString() is now more magical since php 5.2
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@218035 c90b9560-bf6c-de11-be94-00142212c4b1
2006-08-12 16:09:29 +00:00
Nuno Lopes
4512031c66 Philip wants an entity there, so create a &tip.userlandnaming; entity
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@217980 c90b9560-bf6c-de11-be94-00142212c4b1
2006-08-11 16:55:35 +00:00
Nuno Lopes
908322d533 add some links to the userland naming appendix
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@217978 c90b9560-bf6c-de11-be94-00142212c4b1
2006-08-11 16:40:18 +00:00
Antony Dovgal
e1fb4823e3 the example and the requirement it demonstrates are obsolete since PHP3
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@217666 c90b9560-bf6c-de11-be94-00142212c4b1
2006-08-07 13:08:46 +00:00
Etienne Kneuss
1f6a127f33 Fix #37880 (members' default value)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@216628 c90b9560-bf6c-de11-be94-00142212c4b1
2006-07-18 11:19:52 +00:00
Etienne Kneuss
aa617da6c7 Fix #37776 (move from constants to define)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@214823 c90b9560-bf6c-de11-be94-00142212c4b1
2006-06-15 11:11:31 +00:00
Etienne Kneuss
a1883180b5 Fix #37776 (constants cannot be referenced before being defined)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@214603 c90b9560-bf6c-de11-be94-00142212c4b1
2006-06-11 08:53:15 +00:00
Horst Schirmeier
a72f69cc3e minor correction: not the "output" of foo() but the return value is stored in $a
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@212701 c90b9560-bf6c-de11-be94-00142212c4b1
2006-05-09 18:18:34 +00:00
Philip Olson
e225b716c5 $str{42} isn't deprecated (yet?), but $str[42] is preferred. We'll mention that.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@212400 c90b9560-bf6c-de11-be94-00142212c4b1
2006-05-04 02:21:28 +00:00
Philip Olson
79349659b2 Expand $str[42] syntax info a little more, $str{42} deprecated as of PHP 6,
and adjust example accordingly


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@212308 c90b9560-bf6c-de11-be94-00142212c4b1
2006-05-02 18:05:54 +00:00
Etienne Kneuss
427967c856 Fix #37258 (typos + add a reference to class/objects functions)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@212245 c90b9560-bf6c-de11-be94-00142212c4b1
2006-05-01 14:30:50 +00:00
Jakub Vrana
cb6c61eeb8 Grammar (bug #37215)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@212066 c90b9560-bf6c-de11-be94-00142212c4b1
2006-04-27 07:29:20 +00:00
Jakub Vrana
0d733ce0f2 Grammar (bug #37216)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@212065 c90b9560-bf6c-de11-be94-00142212c4b1
2006-04-27 07:25:56 +00:00
Jakub Vrana
f42cd8487f Mention getClass() and other ReflectionFunction methods (bug #36916)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@210615 c90b9560-bf6c-de11-be94-00142212c4b1
2006-04-03 15:31:21 +00:00
Oliver Albers
89359925e1 improved for new notes on bug #36877
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@210404 c90b9560-bf6c-de11-be94-00142212c4b1
2006-03-30 15:01:11 +00:00
TAKAGI Masahiro
ba0d8a116d converted TAB to spaces.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@210386 c90b9560-bf6c-de11-be94-00142212c4b1
2006-03-30 03:45:47 +00:00
Oliver Albers
7e0bd16290 bugs #30972 and #36841
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@210383 c90b9560-bf6c-de11-be94-00142212c4b1
2006-03-30 02:28:19 +00:00
Oliver Albers
29cf2d82f2 bug #36877
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@210382 c90b9560-bf6c-de11-be94-00142212c4b1
2006-03-30 02:09:58 +00:00
Jakub Vrana
6e4d10ffb6 heredoc must be followed by newline (bug #36682)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@209256 c90b9560-bf6c-de11-be94-00142212c4b1
2006-03-13 11:01:37 +00:00
Philip Olson
c37c710bdf implemented user note: example variables such as $bool and $int may be confusing
to some users coming from C/Java, using $a_bool, $an_int, etc. instead.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@208974 c90b9560-bf6c-de11-be94-00142212c4b1
2006-03-09 06:39:45 +00:00
Jakub Vrana
231ecff7d2 Not so large hexadecimals are converted to float (bug #36325)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@208831 c90b9560-bf6c-de11-be94-00142212c4b1
2006-03-07 00:51:47 +00:00
Jakub Vrana
f4ab2c2307 Resource constants (bug #29534)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@208827 c90b9560-bf6c-de11-be94-00142212c4b1
2006-03-07 00:29:13 +00:00
Jakub Vrana
e50b6153cf Mention create_function by callback (bug #36584)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@208442 c90b9560-bf6c-de11-be94-00142212c4b1
2006-03-02 08:28:29 +00:00
Jakub Vrana
aa9426e7c0 Public in PHP 5.0 (spotted by David Grundl)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@207751 c90b9560-bf6c-de11-be94-00142212c4b1
2006-02-22 13:26:05 +00:00
Nuno Lopes
b80fc168c4 fix #36280: only plain ascii characters can be incremented
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@207468 c90b9560-bf6c-de11-be94-00142212c4b1
2006-02-18 23:10:39 +00:00
Nuno Lopes
863001aa52 catch up with latest PHP 5.1
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@207463 c90b9560-bf6c-de11-be94-00142212c4b1
2006-02-18 20:23:31 +00:00
Jakub Vrana
25f58004ab Give table ID
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@207352 c90b9560-bf6c-de11-be94-00142212c4b1
2006-02-17 14:03:06 +00:00
Jakub Vrana
251d8ce566 __call can be private
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@207054 c90b9560-bf6c-de11-be94-00142212c4b1
2006-02-13 11:22:15 +00:00
Friedhelm Betz
d17a4747ea link to get_included_files, user note hint
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@207027 c90b9560-bf6c-de11-be94-00142212c4b1
2006-02-12 19:52:23 +00:00
Jakub Vrana
433e7d8c54 Assigning array resets the pointer (bug #36154)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@206124 c90b9560-bf6c-de11-be94-00142212c4b1
2006-01-30 15:05:09 +00:00
Jakub Vrana
3d79dcf101 += for arrays (bug #36047)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@205453 c90b9560-bf6c-de11-be94-00142212c4b1
2006-01-17 12:25:19 +00:00
Jakub Vrana
3d4404ac37 ReflectionObject
export parameters


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@204949 c90b9560-bf6c-de11-be94-00142212c4b1
2006-01-11 10:24:59 +00:00
Noah Fontes
a8f1f4db85 Clarifications for bug #35832
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@203971 c90b9560-bf6c-de11-be94-00142212c4b1
2005-12-30 03:45:11 +00:00
Sean Coates
382bf0a5fd better flow/grammar
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@203834 c90b9560-bf6c-de11-be94-00142212c4b1
2005-12-28 19:09:27 +00:00
Dave Barr
11055a8ad0 - Typos.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@202396 c90b9560-bf6c-de11-be94-00142212c4b1
2005-12-08 12:10:54 +00:00
Jakub Vrana
89c0e893c0 Objects are passed by reference automatically (bug #35595)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@202392 c90b9560-bf6c-de11-be94-00142212c4b1
2005-12-08 09:30:43 +00:00
Jakub Vrana
5368794cb9 \{$var} (bug #35527)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@202245 c90b9560-bf6c-de11-be94-00142212c4b1
2005-12-06 15:20:41 +00:00