#42285 [Opn->Csd]: var statement
| From: | vrana@php.net | Date: | Thu, 16 Aug 2007 08:42:18 +0000 |
| Subject: | #42285 [Opn->Csd]: var statement | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969377369@lists.php.net to get a copy of this message | ||
ID: 42285
Updated by: vrana@php.net
Reported By: x12code at yahoo dot com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: XP SP2
PHP Version: Irrelevant
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2007-08-13 14:38:15] x12code at yahoo dot com
Description:
------------
The following page mentions "classes":
http://us.php.net/manual/en/language.oop.php
I am learning PHP. I went through an online tutorial and am now reading
through the manual as I am lead page by page. On this page I came across
new syntax not seen before which is the "var statement". This appears
different than other variable declaration, which is just to type the
variable name on a line with no assignment, or just use the variable for
the first time. Wanting to be sure what this means I read previous
manual pages on php.net again, I searched php.net, and I did an internet
wide google search. I feel I have come to understand the "var
statement", but doing so was difficult. It was not expressly stated in
the manual. Searching is difficult because "var" is quite ambiguous to
"variable" for both PHP and Javascript, and php.net uses "$var" for some
code examples. Thanks
Reproduce code:
---------------
n/a
Expected result:
----------------
n/a
Actual result:
--------------
n/a
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42285&edit=1