#50097 [Opn->Bgs]: The code on your first page didn't work
| From: | rasmus@php.net | Date: | Fri, 06 Nov 2009 01:52:50 +0000 |
| Subject: | #50097 [Opn->Bgs]: The code on your first page didn't work | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-3063@lists.php.net to get a copy of this message | ||
ID: 50097
Updated by: rasmus@php.net
Reported By: farfallabill at isp dot com
-Status: Open
+Status: Bogus
Bug Type: Documentation problem
Operating System: XP
PHP Version: 5.3.1RC3
New Comment:
Your copy-and-paste did something weird then. That code is fine and
copying and pasting it from this bug report works fine.
Previous Comments:
------------------------------------------------------------------------
[2009-11-06 01:49:00] farfallabill at isp dot com
Description:
------------
I swept my mouse over your code on the "your first" page, went Ctrl C
and Ctrl Ved it into a text file that I changed the txt to php on, sent
it to my public html directory at WebHostingPad.com, then typed in
"http://www.bliss-fire.com/Experiments.php"
into my Firefox 3.5.2 and I
got back:
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in
/home/sle97ncr/public_html/Experiments.php on line 6
(I'm damned if I know what version of PHP they have. I selected the
first one because you would let me select "I dunno".)
Reproduce code:
---------------
---
From manual page: tutorial.firstpage
---
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo '<p>Hello World</p>'; ?>
</body>
</html>
Expected result:
----------------
Hello World
Actual result:
--------------
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in
/home/sle97ncr/public_html/Experiments.php on line 6
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50097&edit=1