Egon Schmid
c3144bf1a9
Looks now more readable.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@18862 c90b9560-bf6c-de11-be94-00142212c4b1
2000-01-28 00:22:28 +00:00
Torben Wilson
2ae0853180
Added notes about optional args to break and continue.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@18860 c90b9560-bf6c-de11-be94-00142212c4b1
2000-01-27 21:26:37 +00:00
Torben Wilson
8b3a1f4167
Added section on the error control operator.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@18841 c90b9560-bf6c-de11-be94-00142212c4b1
2000-01-27 02:42:53 +00:00
Torben Wilson
70ca6aaaab
Heredoc arrows were backward.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@18840 c90b9560-bf6c-de11-be94-00142212c4b1
2000-01-27 02:42:21 +00:00
Egon Schmid
85d5f213ec
Cleaning up here also.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@17145 c90b9560-bf6c-de11-be94-00142212c4b1
1999-12-13 18:43:44 +00:00
Torben Wilson
bbc162f979
Put foreach() into its own section and clarified some stuff.
...
Also copied it into the German tree.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@17020 c90b9560-bf6c-de11-be94-00142212c4b1
1999-12-11 00:43:25 +00:00
Joey Smith
9dca6e84a5
Added foreach documentation
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@17016 c90b9560-bf6c-de11-be94-00142212c4b1
1999-12-10 21:26:42 +00:00
Stig Bakken
c8f33da553
Merged the dev_xml branch into the main trunk.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@16980 c90b9560-bf6c-de11-be94-00142212c4b1
1999-12-10 00:34:45 +00:00
Egon Schmid
6198da700b
Würzig gehopft nach Pilsner Brauart.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@16893 c90b9560-bf6c-de11-be94-00142212c4b1
1999-12-08 20:17:36 +00:00
Egon Schmid
c13bbf92f3
Indentation and some translations.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@16887 c90b9560-bf6c-de11-be94-00142212c4b1
1999-12-08 15:02:18 +00:00
Rasmus Lerdorf
3991af6590
Clarify that the global scope spans included files
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@16872 c90b9560-bf6c-de11-be94-00142212c4b1
1999-12-08 12:23:24 +00:00
cslawi
1debec1be1
Further explanations on the behaviour of include() and require().
...
Also gives differences between PHP3 and PHP4 when using these statements.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@16743 c90b9560-bf6c-de11-be94-00142212c4b1
1999-12-07 00:02:38 +00:00
cslawi
7a82262c24
Fixed up the predefined variable list some more.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@16706 c90b9560-bf6c-de11-be94-00142212c4b1
1999-12-06 10:25:30 +00:00
cslawi
aea6da18e1
Added a 'Basics' section to sort of flesh out the use of variables.
...
More importantly, added a bunch of stuff about predefined PHP variables,
since people keep asking about them. I've tried to make it fairly clear
that many of these will not be available in all circumstances.
I hope someone will access to other webservers can provide some
information on unique variables provided (under stock setups) by those
servers. An exhaustive listing may be impossible, but at least we can
explain the bits that are known.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@16690 c90b9560-bf6c-de11-be94-00142212c4b1
1999-12-06 03:23:22 +00:00
cslawi
2b2b47991e
Changed id for expressions section to "language.expressions", for
...
consistency.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@16689 c90b9560-bf6c-de11-be94-00142212c4b1
1999-12-06 03:19:54 +00:00
Egon Schmid
18978760cb
The speaker from Software AG for Tamino told us XML should be readable for humans and machines. I hope it will now get a little bit closer.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@16414 c90b9560-bf6c-de11-be94-00142212c4b1
1999-12-02 23:20:50 +00:00
Egon Schmid
9b1341f8ad
Andrei it works! I have only adjust my manual.ced and I can do a proper identation.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@16413 c90b9560-bf6c-de11-be94-00142212c4b1
1999-12-02 22:29:48 +00:00
Andrei Zmievski
4a1652884f
Explained heredoc syntax.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@16412 c90b9560-bf6c-de11-be94-00142212c4b1
1999-12-02 22:14:35 +00:00
cslawi
199b12b5ee
Documented use of variable-length arg lists in PHP4.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@16359 c90b9560-bf6c-de11-be94-00142212c4b1
1999-12-01 20:17:17 +00:00
cslawi
41e8681c86
Simply doc it and add examples.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@16351 c90b9560-bf6c-de11-be94-00142212c4b1
1999-12-01 18:42:28 +00:00
cslawi
4ccdd7ecae
Add note about variable-length argument lists and default arguments.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@16330 c90b9560-bf6c-de11-be94-00142212c4b1
1999-12-01 11:44:13 +00:00
cslawi
1bd457d70d
Note that PHP does not support function overloading.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@16329 c90b9560-bf6c-de11-be94-00142212c4b1
1999-12-01 11:39:13 +00:00
cslawi
83604f1760
Clarified static use for recursion a bit.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@16328 c90b9560-bf6c-de11-be94-00142212c4b1
1999-12-01 11:05:45 +00:00
cslawi
c475555c4f
Add note about possible $string[index] syntax change for characters in
...
strings.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@16327 c90b9560-bf6c-de11-be94-00142212c4b1
1999-12-01 11:01:51 +00:00
cslawi
4df1f16e46
Consistency would be good...
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@16277 c90b9560-bf6c-de11-be94-00142212c4b1
1999-11-30 21:20:48 +00:00
cslawi
918cfc45fb
User note regarding switch vs. elseif speed.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@16276 c90b9560-bf6c-de11-be94-00142212c4b1
1999-11-30 21:20:14 +00:00
cslawi
ae6dcad3aa
Fixed a typo (!= should've been |=); added ^= to precedence table.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@16275 c90b9560-bf6c-de11-be94-00142212c4b1
1999-11-30 20:56:39 +00:00
cslawi
2af375e200
Fixed a couple of typos.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@16274 c90b9560-bf6c-de11-be94-00142212c4b1
1999-11-30 20:50:27 +00:00
cslawi
87eeba65f6
Someone thought this would make things clearer.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@16263 c90b9560-bf6c-de11-be94-00142212c4b1
1999-11-30 19:24:31 +00:00
cslawi
3b2019acf6
Another couple of notes on string concatenation.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@16262 c90b9560-bf6c-de11-be94-00142212c4b1
1999-11-30 19:21:52 +00:00
cslawi
685f12082c
Clarified single-quoted string explanation a bit.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@16261 c90b9560-bf6c-de11-be94-00142212c4b1
1999-11-30 18:56:27 +00:00
Rasmus Lerdorf
992481eea4
Fix a nitpick
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@15963 c90b9560-bf6c-de11-be94-00142212c4b1
1999-11-26 13:27:08 +00:00
cslawi
3bf6b32dff
Add some simple string usage examples.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@15453 c90b9560-bf6c-de11-be94-00142212c4b1
1999-11-16 04:19:36 +00:00
cslawi
00183339b7
Document variable functions.
...
Alphabetization fix.
Note that in PHP3 you need to define functions before using them, but
that in PHP4, you don't.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@15451 c90b9560-bf6c-de11-be94-00142212c4b1
1999-11-16 02:50:21 +00:00
cslawi
f55004a99b
Document the behaviour of $arr = (array) $scalar; and
...
$obj = (object) $scalar;
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@15450 c90b9560-bf6c-de11-be94-00142212c4b1
1999-11-16 02:23:40 +00:00
cslawi
3c82dcd8ff
Alphabetization fix.
...
Added === to the precedence table.
Added pre- and post- increment and decrement operators.
Various small fixes.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@15439 c90b9560-bf6c-de11-be94-00142212c4b1
1999-11-15 23:11:27 +00:00
cslawi
bce142e6f3
Add note that variable names are case-sensitive.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@15438 c90b9560-bf6c-de11-be94-00142212c4b1
1999-11-15 21:54:09 +00:00
cslawi
16ad25e59e
Add note regarding current behaviour of automatic conversion to array.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@15437 c90b9560-bf6c-de11-be94-00142212c4b1
1999-11-15 21:51:30 +00:00
cslawi
d3002bd7a4
Added '===' (identical to).
...
Alphabetization fix.
Typo fix (result of division is quotient, not dividend).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@15429 c90b9560-bf6c-de11-be94-00142212c4b1
1999-11-15 10:34:08 +00:00
cslawi
11588720bc
Added backtick operator and some crossrefs.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@15428 c90b9560-bf6c-de11-be94-00142212c4b1
1999-11-15 10:03:16 +00:00
cslawi
14bcbd7250
Added note about passing by value and reference in PHP3 and 4.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@15427 c90b9560-bf6c-de11-be94-00142212c4b1
1999-11-15 09:32:18 +00:00
cslawi
309f654bf5
Note that include( 'file.inc&varone=1&vartwo=2' ) isn't the way to do it.
...
Seems to be people keep running into this one.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@15424 c90b9560-bf6c-de11-be94-00142212c4b1
1999-11-15 04:39:16 +00:00
cslawi
7bd0ca713f
Note that multiple inheritance is not supported.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@15414 c90b9560-bf6c-de11-be94-00142212c4b1
1999-11-15 00:55:22 +00:00
cslawi
c150e1fa9f
Note PHP4's syntax for putting multidim arrays in strings.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@15413 c90b9560-bf6c-de11-be94-00142212c4b1
1999-11-15 00:50:48 +00:00
cslawi
84aeda822a
Fix Constructor_Cart example.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@15412 c90b9560-bf6c-de11-be94-00142212c4b1
1999-11-15 00:41:57 +00:00
cslawi
1df2e98071
Added note about referencing multidimensional arrays in strings.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@15403 c90b9560-bf6c-de11-be94-00142212c4b1
1999-11-14 23:43:00 +00:00
cslawi
5318587714
Updated the Alternative syntax section to include the other structures
...
which support the syntax; added note to switch section mentioning that it
supports it; added some references to the individual examples.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@15402 c90b9560-bf6c-de11-be94-00142212c4b1
1999-11-14 23:16:29 +00:00
cslawi
09673d1ef7
Clarified the $arr[] = $val explanation a bit.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@15362 c90b9560-bf6c-de11-be94-00142212c4b1
1999-11-14 11:58:50 +00:00
cslawi
2db8fae9e3
Added note about dots being changed to underscores in incoming
...
variable names.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@15348 c90b9560-bf6c-de11-be94-00142212c4b1
1999-11-13 22:47:23 +00:00
cslawi
aeb2d5524e
Normalized according to the DocBook 3.1 DTD. This mostly just adds
...
closing tags and attribute quotes, but lets a stock 3.1 install
compile the PHP docs. It still compiles with DocBook 3.0, as well.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@14695 c90b9560-bf6c-de11-be94-00142212c4b1
1999-10-20 22:54:01 +00:00