Bug #54725 [Com]: --
| From: | toms dot jel at seznam dot cz | Date: | Fri, 13 May 2011 10:40:37 +0000 |
| Subject: | Bug #54725 [Com]: -- | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-6398@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=54725&edit=1
ID: 54725
Comment by: toms dot jel at seznam dot cz
Reported by: toms dot jel at seznam dot cz
Summary: --
Status: Bogus
Type: Bug
Package: Doc Build problem
Operating System: Win 7
PHP Version: 5.3.6
Block user comment: N
Private report: N
New Comment:
I'm too sorry, I'm using google translator, because I don't understand
to proffesional tittles. And if I'll translate it, the code looks
differently like without translating.
And I'm starting with PHP.
Previous Comments:
------------------------------------------------------------------------
[2011-05-13 12:25:40] spam-free at blueyonder dot co dot uk
You have a space after the $, which the example does not.
------------------------------------------------------------------------
[2011-05-13 09:50:10] rasmus@php.net
It is $_SERVER not $ _SERVER
------------------------------------------------------------------------
[2011-05-13 07:45:36] toms dot jel at seznam dot cz
Description:
------------
Parse error: syntax error, unexpected T_STRING, expecting T_VARIABLE or
'$' in
C:\web\prog\xampp\htdocs\web\discusion.php on line 8
This example from your manual, function getenv()
Test script:
---------------
$ip = $ _SERVER [ 'REMOTE_ADDR' ];
Expected result:
----------------
IP adress
Actual result:
--------------
Parse error: syntax error, unexpected T_STRING, expecting T_VARIABLE or
'$' in
C:\web\prog\xampp\htdocs\web\discusion.php on line 8
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=54725&edit=1