|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2009-11-06 01:49 UTC] 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 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 21:00:01 2025 UTC |
Checking the link shows that the reporter's page is (at least now) working as expected, so this bug truly is bogus. Further, it is noted that this: (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".) .... causes an error in our spell checker: Operator error: between chair and keyboard, undefined word "dunno", expecting "don't know" or "am not sure" in paragraph 3.