Commit graph

176 commits

Author SHA1 Message Date
Jeroen van Wolffelaar
a085e1c8b3 Eleborated on syntax of constants. Moved some information that was scattered over the constant-related functions to the section on constants.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@49842 c90b9560-bf6c-de11-be94-00142212c4b1
2001-06-19 20:36:56 +00:00
Torben Wilson
b4d1138fb2 Fixed a typo and elucidated a bit on the use of @ with expressions.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@48351 c90b9560-bf6c-de11-be94-00142212c4b1
2001-05-24 03:31:35 +00:00
Jeroen van Wolffelaar
e485890cfb fixed comment
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@48319 c90b9560-bf6c-de11-be94-00142212c4b1
2001-05-23 23:44:35 +00:00
Jeroen van Wolffelaar
e6241dee0b Fixed example, added note that @foreach doesn't work,
added note that db-functions usually don't cause
a php error, and finally added an example
to show that its use isn't restricted to
functions


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@48318 c90b9560-bf6c-de11-be94-00142212c4b1
2001-05-23 23:43:12 +00:00
Jeroen van Wolffelaar
3de536403c updated the strings section a bit.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@48306 c90b9560-bf6c-de11-be94-00142212c4b1
2001-05-23 22:13:58 +00:00
Jeroen van Wolffelaar
3105d42987 Noted that inside double-quoted strings another syntax is valid.
Minor XML-improvements.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@48209 c90b9560-bf6c-de11-be94-00142212c4b1
2001-05-22 23:18:54 +00:00
Jeroen van Wolffelaar
70e8508a51 Added the 'why is $foo[bar] bad' section to arrays.
This closes bug #7387


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@48201 c90b9560-bf6c-de11-be94-00142212c4b1
2001-05-22 22:06:17 +00:00
Stig Bakken
1b382d80a6 * documented "declare" and ticks
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@48118 c90b9560-bf6c-de11-be94-00142212c4b1
2001-05-21 23:16:31 +00:00
Damien Seguy
f1705cdd32 Added examples for PHP_OS.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@48029 c90b9560-bf6c-de11-be94-00142212c4b1
2001-05-21 09:40:18 +00:00
Jeroen van Wolffelaar
5c53df17a6 - added comment for near-future update
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@47891 c90b9560-bf6c-de11-be94-00142212c4b1
2001-05-19 20:46:18 +00:00
Jeroen van Wolffelaar
00f873a1d9 - added note about 'mixed' type
- added boolean syntax, and some
  examples
- changed float to double as much
  as possible
- re-sectionized integer.
  added note about integer division,
  notes about integer-overflow
  (== type juggling in fact)
- Noted that behaviour of
  converting to int is undefined
  in cases other than boolean
  and string.
- Completely revised arrays
  (I skipped string for now)
  BTW: Not totally ready yet, but
  ready enough to include. It is properly defined,
  only examples and more explaination etc could
  be useful.
- Removed ++ and -- operator for
  strings. It is at best very complex
  how it works, at worst buggy.
  Though in certain cases it can
  be useful, it will return with
  proper definition.
- Noted (in comment for now)
  that copying arrays works strange
  when there are references to some elements.

- minor layout-improvements
- typo's


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@47890 c90b9560-bf6c-de11-be94-00142212c4b1
2001-05-19 20:45:31 +00:00
Jeroen van Wolffelaar
5991cf967b - updated revision status
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@47889 c90b9560-bf6c-de11-be94-00142212c4b1
2001-05-19 20:44:05 +00:00
Kristian Köhntopp
de53c5e3c6 - Some clarifications.
- Normalized spelling of product names (PHP 3 and PHP 4)
  to go with the rest of our docs.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@47760 c90b9560-bf6c-de11-be94-00142212c4b1
2001-05-18 12:44:37 +00:00
Kristian Köhntopp
38ae4e994c Completed the unfinished sentence.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@47753 c90b9560-bf6c-de11-be94-00142212c4b1
2001-05-18 07:47:01 +00:00
Kristian Köhntopp
8eae786de0 - Extended documentation for object orientation.
This should now cover most, if not all features of
  PHP 4 object orientation, reflecting the greatly
  improved OO features in PHP 4.

- The documentation for serialize() and unserialize()
  is still stating that class associations are lost.
  This is no longer true in PHP 4 and should be corrected.
  It is now 1am here. I am not going to fix that now,
  someone else should.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@47730 c90b9560-bf6c-de11-be94-00142212c4b1
2001-05-17 23:05:01 +00:00
Jeroen van Wolffelaar
b54348e418 Fixed typo again, recounted types...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@47665 c90b9560-bf6c-de11-be94-00142212c4b1
2001-05-17 09:25:32 +00:00
Damien Seguy
611d73a01c minor typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@47663 c90b9560-bf6c-de11-be94-00142212c4b1
2001-05-17 08:14:25 +00:00
Jeroen van Wolffelaar
ef2fdf40d5 Emphasised that HTTP_USER_AGENT etc are variables rather than constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@47623 c90b9560-bf6c-de11-be94-00142212c4b1
2001-05-16 22:08:42 +00:00
Egon Schmid
c38bd8cecc Please validate your changes before commits.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@47589 c90b9560-bf6c-de11-be94-00142212c4b1
2001-05-16 15:57:35 +00:00
Jeroen van Wolffelaar
c72fc51e9a - Begin with revision of language section.
basic-syntax:
  - Added note about revision, and progress-info
  - Explained escaping a bit more eleborately
  - Explained escaping inside control structures
     (quite badly, I admit, but still)

  types:
  - Added null and resource
  - Categorized in scalars, compound and special
  - Added 'converting to xxx' section for
    boolean and integer (rest follows some day)
  - Moved 'when is something considered true'
    to that new section, and updated it.
  - Added overflow and converting notes to
    integer. Referred to float-precision warning.
  - Added section about resource-freeing
  - In type-juggling, referred to the new 'convert
    to xxx' sections.

- fixed some xml-tags
- converted most > to >


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@47585 c90b9560-bf6c-de11-be94-00142212c4b1
2001-05-16 15:22:22 +00:00
Jeroen van Wolffelaar
64e21277b7 - Begin with revision of language section.
basic-syntax:
  - Added note about revision, and progress-info
  - Explained escaping a bit more eleborately
  - Explained escaping inside control structures
     (quite badly, I admit, but still)

  types:
  - Added null and resource
  - Categorized in scalars, compound and special
  - Added 'converting to xxx' section for
    boolean and integer (rest follows some day)
  - Moved 'when is something considered true'
    to that new section, and updated it.
  - Added overflow and converting notes to
    integer. Referred to float-precision warning.
  - Added section about resource-freeing
  - In type-juggling, referred to the new 'convert
    to xxx' sections.

- fixed some xml-tags
- converted most > to >


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@47584 c90b9560-bf6c-de11-be94-00142212c4b1
2001-05-16 15:19:25 +00:00
foobar
4908a88a7b fixed typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@47536 c90b9560-bf6c-de11-be94-00142212c4b1
2001-05-15 23:22:46 +00:00
Egon Schmid
cd1a18bfa4 Should fix two off ten errors,
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@47535 c90b9560-bf6c-de11-be94-00142212c4b1
2001-05-15 22:20:12 +00:00
Damien Seguy
66d17cdf41 Added details for langage constructs.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@47395 c90b9560-bf6c-de11-be94-00142212c4b1
2001-05-14 16:52:41 +00:00
Damien Seguy
eba0fd41bb Corrected linked -> linkend trouble
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@47091 c90b9560-bf6c-de11-be94-00142212c4b1
2001-05-11 06:34:13 +00:00
Damien Seguy
7aa14b8428 Added jeroen's updates
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@47056 c90b9560-bf6c-de11-be94-00142212c4b1
2001-05-10 18:01:14 +00:00
Torben Wilson
250fc13790 Added note that (object|array) => string conversion results in 'Array' or
'Object'.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@46908 c90b9560-bf6c-de11-be94-00142212c4b1
2001-05-08 23:34:05 +00:00
Daniel Beckham
aeab65b087 notes and examples added to foreach
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@45084 c90b9560-bf6c-de11-be94-00142212c4b1
2001-04-09 21:50:14 +00:00
Daniel Beckham
91809f04d3 added foreach to list of loops break will work in
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@45074 c90b9560-bf6c-de11-be94-00142212c4b1
2001-04-09 19:15:45 +00:00
Jesus M. Castagnetto
76827a16de s/>/>/ in examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@43742 c90b9560-bf6c-de11-be94-00142212c4b1
2001-03-17 06:46:19 +00:00
Sascha Schumann
f76b667a29 Fix typo in second example of foreach
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@43714 c90b9560-bf6c-de11-be94-00142212c4b1
2001-03-16 20:19:31 +00:00
foobar
190180c503 Fixed typo. PR: #9786
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@43694 c90b9560-bf6c-de11-be94-00142212c4b1
2001-03-16 16:19:57 +00:00
Torben Wilson
5f1e3a1b3b Was more correct before.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@43102 c90b9560-bf6c-de11-be94-00142212c4b1
2001-03-09 23:26:42 +00:00
André Langhorst
b68c98c4f4 cosmetic fix
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@43101 c90b9560-bf6c-de11-be94-00142212c4b1
2001-03-09 23:20:34 +00:00
André Langhorst
0425348f09 fix xml
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@43100 c90b9560-bf6c-de11-be94-00142212c4b1
2001-03-09 22:29:02 +00:00
André Langhorst
7c4ccc09bd Adding documentation for references inside the constructor
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@43099 c90b9560-bf6c-de11-be94-00142212c4b1
2001-03-09 21:45:32 +00:00
Ron Chmara
ad47cb3b15 Note that default belongs last, per errata.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@41838 c90b9560-bf6c-de11-be94-00142212c4b1
2001-02-25 00:57:11 +00:00
Torben Wilson
5d86777a55 Added an example to help clarify the lack of non-constant variable
initializers in classes in PHP 4 (spurred by Bug #9414).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@41751 c90b9560-bf6c-de11-be94-00142212c4b1
2001-02-23 00:43:23 +00:00
Torben Wilson
9e5c5f5dbb Minor clarification of the here doc syntax.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@41689 c90b9560-bf6c-de11-be94-00142212c4b1
2001-02-21 23:11:56 +00:00
Chris Newbill
0e89f54262 Added the following lines:
Both in and outside of the object you do not need a $ when accessing an
object's properties.

Also a code snippet to reference the previous statement.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@41072 c90b9560-bf6c-de11-be94-00142212c4b1
2001-02-09 19:41:08 +00:00
Jirka Kosek
c7affe03ce - make XML comformant
- added missing encoding declaration to files where are characters outside of ASCII
- corrected some small typos (unterminated entity reference, &lt; instead of <)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@41005 c90b9560-bf6c-de11-be94-00142212c4b1
2001-02-08 10:27:59 +00:00
jim winstead
43c01b5cea note that backtick operator is disabled when in safe_mode
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@40024 c90b9560-bf6c-de11-be94-00142212c4b1
2001-01-23 02:50:39 +00:00
jim winstead
a638921429 document that HTTP_*_VARS are always set when enabled
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@40023 c90b9560-bf6c-de11-be94-00142212c4b1
2001-01-23 02:35:42 +00:00
jim winstead
78ee83ec50 clarify this, and not version difference
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@40000 c90b9560-bf6c-de11-be94-00142212c4b1
2001-01-23 00:32:06 +00:00
James Moore
031a9d0dfa Fixing Typo Or -> Xor
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@38547 c90b9560-bf6c-de11-be94-00142212c4b1
2001-01-03 19:06:46 +00:00
Rasmus Lerdorf
870331f5f3 Some minor tweaks
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@38453 c90b9560-bf6c-de11-be94-00142212c4b1
2001-01-02 20:03:23 +00:00
Sebastian Bergmann
73377c7f9d Cleaned up the language in references.xml a little.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@38084 c90b9560-bf6c-de11-be94-00142212c4b1
2000-12-20 07:21:09 +00:00
Sebastian Bergmann
6cc9f245bb Cleaned up the language in references.xml a little.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@38083 c90b9560-bf6c-de11-be94-00142212c4b1
2000-12-20 07:19:44 +00:00
Ron Chmara
2e12d6719e Updating per XHTML/XML discussions on php-dev
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@37666 c90b9560-bf6c-de11-be94-00142212c4b1
2000-12-13 04:59:39 +00:00
Ron Chmara
6e8112625b fixing <? to <?php
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@37665 c90b9560-bf6c-de11-be94-00142212c4b1
2000-12-13 04:51:35 +00:00