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
- 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
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
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
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
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
- added missing encoding declaration to files where are characters outside of ASCII
- corrected some small typos (unterminated entity reference, < instead of <)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@41005 c90b9560-bf6c-de11-be94-00142212c4b1