Bug #54725 [Com]: --

From: Date: Fri, 13 May 2011 10:25:43 +0000
Subject: Bug #54725 [Com]: --
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-6397@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: spam-free at blueyonder dot co dot uk 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: You have a space after the $, which the example does not. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.doc.bugs (#6397) next »