Commit graph

877 commits

Author SHA1 Message Date
Etienne Kneuss
a9b5623096 Remove bogous warning
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@230708 c90b9560-bf6c-de11-be94-00142212c4b1
2007-02-24 20:14:49 +00:00
Etienne Kneuss
04091afcbe Fix #40610 (Undefined variables get defined when used with references)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@230653 c90b9560-bf6c-de11-be94-00142212c4b1
2007-02-24 11:19:24 +00:00
Greg Beaver
eff4428985 improve instanceof docs
add explicit PHP examples for each kind of usage, plus note
about how  to use it with dynamic class references


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@229923 c90b9560-bf6c-de11-be94-00142212c4b1
2007-02-16 05:39:30 +00:00
Philip Olson
009395cfbc Miscellaneous formatting as per our guidelines:
Ex: windows->Windows, commandline->command line, webserver->web server
# Sorry translators, but it needed to be done


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@229834 c90b9560-bf6c-de11-be94-00142212c4b1
2007-02-15 09:24:37 +00:00
Philip Olson
c2e9e5a27e According to our guidelines:
- Use PHP x.x.0 instead of PHP x.x, or use PHP x.x.x where appropriate
- Use PHP x instead of PHPx


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@229829 c90b9560-bf6c-de11-be94-00142212c4b1
2007-02-15 08:12:20 +00:00
Philip Olson
48af34847f Removing "autoglobal" in favor of "superglobal" as it's the "official" term.
This should not confuse users because superglobal is used about 4x as often
in the manual, and it's what most people say/write. This old term is leftover
from when these auto super global variables were first introduced.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@229400 c90b9560-bf6c-de11-be94-00142212c4b1
2007-02-09 07:28:30 +00:00
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