From:             x12code at yahoo dot com
Operating system: XP SP2
PHP version:      Irrelevant
PHP Bug Type:     Documentation problem
Bug description:  var statement

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 bug report at http://bugs.php.net/?id=42285&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=42285&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=42285&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=42285&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=42285&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=42285&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=42285&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=42285&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=42285&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=42285&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=42285&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=42285&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=42285&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=42285&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=42285&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=42285&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=42285&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=42285&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=42285&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=42285&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=42285&r=mysqlcfg

Reply via email to