Commit graph

197 commits

Author SHA1 Message Date
Damien Seguy
2c4e0aded1 Clarified the constant() stuff
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@51195 c90b9560-bf6c-de11-be94-00142212c4b1
2001-07-11 11:44:15 +00:00
Martin Jansen
6186f075b7 Typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@51170 c90b9560-bf6c-de11-be94-00142212c4b1
2001-07-11 08:41:49 +00:00
Jeroen van Wolffelaar
dbffd3f3ab Update TODO, fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@51099 c90b9560-bf6c-de11-be94-00142212c4b1
2001-07-10 19:37:16 +00:00
Gabor Hojtsy
2ad4a19e40 Some ugly errors corrected (eg. comment without an end,
constant definition, do..while added to the break list, etc.)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@51066 c90b9560-bf6c-de11-be94-00142212c4b1
2001-07-10 12:29:36 +00:00
Gabor Hojtsy
07670330b2 Updating translations, lowercase function link
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50928 c90b9560-bf6c-de11-be94-00142212c4b1
2001-07-08 16:38:31 +00:00
Gabor Hojtsy
3c1b50b33f Some typos corrected
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50925 c90b9560-bf6c-de11-be94-00142212c4b1
2001-07-08 16:13:04 +00:00
Gabor Hojtsy
2944a628c0 Should be NULL
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50924 c90b9560-bf6c-de11-be94-00142212c4b1
2001-07-08 15:34:36 +00:00
Gabor Hojtsy
929a4e5ef5 Updating translations, adding closing PHP tag to basic-syntax.xml
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50921 c90b9560-bf6c-de11-be94-00142212c4b1
2001-07-08 15:31:16 +00:00
Jeroen van Wolffelaar
9826de0aa8 Fixed (hopefully last) error in script. Damn regex.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50798 c90b9560-bf6c-de11-be94-00142212c4b1
2001-07-07 21:57:31 +00:00
Jeroen van Wolffelaar
db09591bd8 Processed the en-tree with the new script, which leaves text inside <programlisting> alone.
I hope it's okay now...


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50794 c90b9560-bf6c-de11-be94-00142212c4b1
2001-07-07 21:27:21 +00:00
Jeroen van Wolffelaar
308ffe41f2 Changed true, false and null to &true;, &false; and &null;
Probably this isn't correct at some places, but in the majority
it is.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50762 c90b9560-bf6c-de11-be94-00142212c4b1
2001-07-07 18:42:46 +00:00
Zak Greant
f5b321df02 Clarified declare/ticks documentation
Made ticks a sect2 within declare's sect1
Added an illustrative example for ticks


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50463 c90b9560-bf6c-de11-be94-00142212c4b1
2001-07-02 03:03:43 +00:00
Sascha Schumann
524113c7e9 fix some typos and polish some expressions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50386 c90b9560-bf6c-de11-be94-00142212c4b1
2001-06-30 19:23:22 +00:00
Sascha Schumann
245b9d3399 bit of editing
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50384 c90b9560-bf6c-de11-be94-00142212c4b1
2001-06-30 19:14:55 +00:00
Sascha Schumann
679d41e23a A bit of grammar fixing
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50383 c90b9560-bf6c-de11-be94-00142212c4b1
2001-06-30 19:11:44 +00:00
Daniel Beckham
3f1fce0616 adding extra example for issue in bug #10022
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50264 c90b9560-bf6c-de11-be94-00142212c4b1
2001-06-27 06:11:31 +00:00
Jeroen van Wolffelaar
bb37144d38 Warned for a bug in the scripting engine. (implicite casting on negative
overflow, bug#11685)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50216 c90b9560-bf6c-de11-be94-00142212c4b1
2001-06-26 12:46:26 +00:00
Jeroen van Wolffelaar
6d6899c576 Noted that alternative syntax is deprecated.
if:

  statements

else:
  bla

endif;


I read that somewhere, but don't recall where :(


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50215 c90b9560-bf6c-de11-be94-00142212c4b1
2001-06-26 12:32:47 +00:00
Jeroen van Wolffelaar
7c62d81304 Changed all identifiers between <function> and/or <refname> tags
that had ONLY the first letter uppercase to all-lowercase


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50055 c90b9560-bf6c-de11-be94-00142212c4b1
2001-06-23 20:10:52 +00:00
Jeroen van Wolffelaar
fb4fc68696 Remove the non-sense note in error-control section,
eleborated a little bit more
on constants (valid names for them), made some minor improvements


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50012 c90b9560-bf6c-de11-be94-00142212c4b1
2001-06-22 22:06:55 +00:00
Jeroen van Wolffelaar
c8b83442db Better XML, fixed boolean where it should have said integer
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@49923 c90b9560-bf6c-de11-be94-00142212c4b1
2001-06-20 21:46:03 +00:00
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 &gt;


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 &gt;


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