php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2248 When ever I try to Compile the php code it gives a Syntax Error that u need ''
Submitted: 1999-09-06 06:03 UTC Modified: 1999-09-26 11:22 UTC
From: harshad at plexustech dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.12 OS: Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: harshad at plexustech dot net
New email:
PHP Version: OS:

 

 [1999-09-06 06:03 UTC] harshad at plexustech dot net
<html>
<title> new Php Script</title>
<body>
<head>
<script language = php>
echo ("This is my first PHP script");
</script>
</head>
</body>
</html>
~          

This is the error I get 

./1.php3: syntax error near unexpected token `<html>'
./1.php3: ./1.php3: line 1: `<html>'

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-09-08 09:11 UTC] sas at cvs dot php dot net
Please detail your environment. I haven't seen the error message you posted before, are you sure that it's produced by PHP?
 [1999-09-26 11:22 UTC] sas at cvs dot php dot net
This is definitely no PHP error message. The error is located somewhere else, maybe you are running the script through another interpreter?
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 15:00:02 2026 UTC