Commit graph

245 commits

Author SHA1 Message Date
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
Jouni Ahto
267492ef23 Changed wording. Hope it makes a little more sense now.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@13743 c90b9560-bf6c-de11-be94-00142212c4b1
1999-09-27 18:22:21 +00:00
Jouni Ahto
de48047a5d Fix #2389.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@13739 c90b9560-bf6c-de11-be94-00142212c4b1
1999-09-27 17:20:58 +00:00
cslawi
41e146cd12 Clarified the short tags and ASP tags wording a bit.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@13400 c90b9560-bf6c-de11-be94-00142212c4b1
1999-09-21 08:58:05 +00:00
James Gingerich
a5023e38a8 Fix typo.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@12314 c90b9560-bf6c-de11-be94-00142212c4b1
1999-08-29 01:14:11 +00:00
James Gingerich
950cb22709 More fixups.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@11563 c90b9560-bf6c-de11-be94-00142212c4b1
1999-08-01 01:23:47 +00:00
James Gingerich
8c71fc1397 Minor cleanups.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@11562 c90b9560-bf6c-de11-be94-00142212c4b1
1999-08-01 00:58:48 +00:00
James Gingerich
c94e6f314c Be more explicit in showing how multiple 'case' statements can be grouped.
Remove in-line numbers from the informal examples.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@11560 c90b9560-bf6c-de11-be94-00142212c4b1
1999-08-01 00:46:16 +00:00
James Gingerich
198362e1d0 Add ^ documentation.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@11558 c90b9560-bf6c-de11-be94-00142212c4b1
1999-08-01 00:39:46 +00:00
Andrey Hristov
d19926bf81 Typo.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@11007 c90b9560-bf6c-de11-be94-00142212c4b1
1999-07-19 22:36:47 +00:00
Andrey Hristov
1411ed879c Added note about "unset" default value.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@11006 c90b9560-bf6c-de11-be94-00142212c4b1
1999-07-19 22:35:40 +00:00
James Gingerich
a6ce94a06c Move OOP stuff into its own chapter. Didn't add any information yet,
just moved it to a more prominent position.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@10613 c90b9560-bf6c-de11-be94-00142212c4b1
1999-07-13 22:21:50 +00:00
James Gingerich
59fb244729 Move Security stuff into its own chapter.
Some cleanups to the Functions chapter.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@10598 c90b9560-bf6c-de11-be94-00142212c4b1
1999-07-13 00:18:44 +00:00
James Gingerich
3c507a1c67 Seems like a reasonable idea.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@10248 c90b9560-bf6c-de11-be94-00142212c4b1
1999-07-01 18:58:17 +00:00
James Gingerich
4cc4c374e5 Break functions stuff into its own (as yet skimpy) chapter.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@10104 c90b9560-bf6c-de11-be94-00142212c4b1
1999-06-28 02:25:21 +00:00
cslawi
5f23ce46fb Tiny typo.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@9875 c90b9560-bf6c-de11-be94-00142212c4b1
1999-06-20 07:19:16 +00:00
James Gingerich
e1be327855 Whee. Now the language stuff is broken back up into a bunch of seperate
files again. (Only this time, the way it is divided up makes a bit of
sense.)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@9863 c90b9560-bf6c-de11-be94-00142212c4b1
1999-06-20 02:25:34 +00:00