Commit graph

908 commits

Author SHA1 Message Date
Etienne Kneuss
a47be82529 ./ && ../ doesn't use include_path at all
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@240940 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-09 09:34:18 +00:00
Richard Quadling
e496561004 Fix #42216
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@240773 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-06 08:41:56 +00:00
Etienne Kneuss
401f242b44 Prepare documentation for dynamic static calls + fix erroneous information
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@240664 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-03 09:59:57 +00:00
Richard Quadling
3d20186f2b Bug #42115. The position of the static keyword is NOT fixed with regard to the visibility keyword.
Code: http://pastie.caboo.se/82738
Output: http://pastie.caboo.se/82739
Tested on PHP 5.0.0 and 5.2.4-dev


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@240386 c90b9560-bf6c-de11-be94-00142212c4b1
2007-07-27 09:02:38 +00:00
Etienne Kneuss
c796f6a654 Fix #41992 (__sleep doesn't return the value to serialize) Thanks jsnell for the patch.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@239717 c90b9560-bf6c-de11-be94-00142212c4b1
2007-07-13 17:56:19 +00:00
Jakub Vrana
6ddf596c98 default in switch doesn't need to be last
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@238780 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-28 11:02:27 +00:00
Gwynne Raskind
c4db79a744 Add some missing IDs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@238566 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-25 17:59:35 +00:00
Hannes Magnusson
c030e2adf7 Upgrade to DocBook5:
- All id attributes are now xml:id
 - Add docbook namespace to all root elements
 - Replace <ulink /> with <link xlink:href />
 - Minor markup fixes here and there


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@238160 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-20 22:25:43 +00:00
Gwynne Raskind
0d40844350 Change __construct() return type to void (fixes bug #41570)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237897 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-17 09:28:51 +00:00
Gwynne Raskind
100cfa0929 - Import of new internals documentation
- Manual base modified to include new docs and remove old
- Links updated in many files
- New language and global entities as needed


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237850 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-16 21:08:14 +00:00
Gwynne Raskind
460fc9bed4 Clarify return type of division operator. Fixes bug #39703.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237714 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-15 01:27:33 +00:00
Gwynne Raskind
00f143b8c8 - Fix small grammatical error
- Document memory usage for parsed variables (fixes bug #40122)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237713 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-15 01:20:55 +00:00
Gwynne Raskind
65ec419486 grammatical fix (identified by abraxas and asonge)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237225 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-08 19:26:21 +00:00
Maciek Sokolewicz
5435394431 reworded visibility explenation & fixed typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237219 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-08 12:48:13 +00:00
Hannes Magnusson
66c069ab58 Commented out getDeclaringFunction() & getPosition()
(See bug#41525)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@236598 c90b9560-bf6c-de11-be94-00142212c4b1
2007-05-29 08:24:46 +00:00
Hannes Magnusson
6178ffd923 wrong prototype for ReflectionParameter::__construct
#Caught by Andrea Giammarchi (user note)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@236487 c90b9560-bf6c-de11-be94-00142212c4b1
2007-05-28 11:06:31 +00:00
Etienne Kneuss
a1fc861360 Fix #41486 (include_path not used for the script's dir)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@236434 c90b9560-bf6c-de11-be94-00142212c4b1
2007-05-27 09:46:31 +00:00
Hannes Magnusson
20ee32ff9f Fixed bug#41494 (binary typecasting)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@236255 c90b9560-bf6c-de11-be94-00142212c4b1
2007-05-24 18:46:00 +00:00
Richard Quadling
2e1e467bdf FIX #40775 : PHP -a and __autoload() don't mix.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@235572 c90b9560-bf6c-de11-be94-00142212c4b1
2007-05-14 10:02:11 +00:00
Jakub Vrana
fa6f8d9a9c Space before dot
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@235133 c90b9560-bf6c-de11-be94-00142212c4b1
2007-05-07 09:33:54 +00:00
Richard Quadling
57c8a8955a Fix #41281 - include comment about newline being absorbed by "end of php block".
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@234932 c90b9560-bf6c-de11-be94-00142212c4b1
2007-05-04 12:41:15 +00:00
Etienne Kneuss
35a5e1fa5d Fix #41228 (Mention short-circuit property of some logical operators)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@234708 c90b9560-bf6c-de11-be94-00142212c4b1
2007-04-30 17:02:28 +00:00
Etienne Kneuss
2577e388f9 Fix #41090 (overriding a private method) in an example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@234616 c90b9560-bf6c-de11-be94-00142212c4b1
2007-04-27 14:39:54 +00:00
Antony Dovgal
e20fac1457 fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@234020 c90b9560-bf6c-de11-be94-00142212c4b1
2007-04-18 12:15:59 +00:00
Jakub Vrana
1af0bad589 Mention PHP_INT_ constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@232860 c90b9560-bf6c-de11-be94-00142212c4b1
2007-03-28 10:40:02 +00:00
Jakub Vrana
81546a3487 ReflectionFunction and ReflectionMethod extends ReflectionFunctionAbstract (bug #40223)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@232566 c90b9560-bf6c-de11-be94-00142212c4b1
2007-03-25 10:39:10 +00:00
Jakub Vrana
57104b6e6e Function calls in string complex variables (bug #40292)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@232565 c90b9560-bf6c-de11-be94-00142212c4b1
2007-03-25 10:34:55 +00:00
Jakub Vrana
d03f51b401 What if __sleep doesn't return anything, fix example (bug #40344)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@232491 c90b9560-bf6c-de11-be94-00142212c4b1
2007-03-24 08:23:49 +00:00
Antony Dovgal
20864bf512 fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@232432 c90b9560-bf6c-de11-be94-00142212c4b1
2007-03-23 14:31:12 +00:00
Jakub Vrana
77d2bd839b __isset is called with empty() too (bug #40797)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@232429 c90b9560-bf6c-de11-be94-00142212c4b1
2007-03-23 14:24:42 +00:00
Jakub Vrana
431f8b37db = can be avaluated not only before ! (bug #40820)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@232426 c90b9560-bf6c-de11-be94-00142212c4b1
2007-03-23 14:09:51 +00:00
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