Commit graph

871 commits

Author SHA1 Message Date
Hannes Magnusson
b78ef0d6a4 Bug#40283 (Heredoc syntax documentation incorrect)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@228955 c90b9560-bf6c-de11-be94-00142212c4b1
2007-02-04 13:36:00 +00:00
Philip Olson
9dfd4d483b Removed use of PL, RC, and BETA from PHP versions as they go against our
conventions.
# Thanks to etienne and nuno for being regex masters ;-)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@228614 c90b9560-bf6c-de11-be94-00142212c4b1
2007-02-01 00:46:02 +00:00
Mehdi Achour
af9be65b12 Fix #38024: require also produces an E_WARNING
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@227809 c90b9560-bf6c-de11-be94-00142212c4b1
2007-01-22 01:20:23 +00:00
Etienne Kneuss
f0884026ba Implement Marcus' suggestion to improve the paragraph on method overloading
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@227553 c90b9560-bf6c-de11-be94-00142212c4b1
2007-01-18 22:34:53 +00:00
Hannes Magnusson
33dbba307c Fixed bug#40103 (Visibility should be public for overload methods in the documentation)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@227042 c90b9560-bf6c-de11-be94-00142212c4b1
2007-01-11 23:05:52 +00:00
Etienne Kneuss
f94e9794f0 Complete the callback example with a note concerning php4 users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@226917 c90b9560-bf6c-de11-be94-00142212c4b1
2007-01-10 15:01:42 +00:00
Mehdi Achour
d1c4fd8550 Fix #39920: Typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@225981 c90b9560-bf6c-de11-be94-00142212c4b1
2006-12-29 00:45:05 +00:00
Etienne Kneuss
262c655b6f NULL won't trigger the default value
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@224489 c90b9560-bf6c-de11-be94-00142212c4b1
2006-12-06 17:58:20 +00:00
Etienne Kneuss
bdedb4206e clone is no function, remove the confusing ()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@224288 c90b9560-bf6c-de11-be94-00142212c4b1
2006-12-03 22:09:02 +00:00
Hannes Magnusson
6c1d33f09e Move the note to where it belongs
#Thanks Matt!


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@224256 c90b9560-bf6c-de11-be94-00142212c4b1
2006-12-03 11:41:37 +00:00
Hannes Magnusson
56b1cbc1a9 Fixed bug#38785: float to string cast is always subject to locale settings
(Copy&paste from man 3 strtod (s/program/script))


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@224252 c90b9560-bf6c-de11-be94-00142212c4b1
2006-12-03 10:32:07 +00:00
Richard Quadling
951abf2694 Reverse
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@224077 c90b9560-bf6c-de11-be94-00142212c4b1
2006-11-30 14:54:54 +00:00
Richard Quadling
00d66e2e46 Typo &= => =&
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@224075 c90b9560-bf6c-de11-be94-00142212c4b1
2006-11-30 14:41:10 +00:00
Etienne Kneuss
f7ddcfbe16 close is a keyword not a function, fix the confusing
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@223970 c90b9560-bf6c-de11-be94-00142212c4b1
2006-11-27 21:17:13 +00:00
Jakub Vrana
ea7d065115 void pseudo-type
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@223767 c90b9560-bf6c-de11-be94-00142212c4b1
2006-11-23 09:07:21 +00:00
Florian Anderiasch
3418366038 fixed bug #39518
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@223535 c90b9560-bf6c-de11-be94-00142212c4b1
2006-11-17 16:37:18 +00:00
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