RE: [PHP] what kind of weird problem is this?
| From: | Martin Towell | Date: | Wed, 19 Jun 2002 06:24:20 +0000 |
| Subject: | RE: [PHP] what kind of weird problem is this? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-102878@lists.php.net to get a copy of this message | ||
Doing a search on php.net for T_CONSTANT_ENCAPSED_STRING comes up with this
page:
http://www.php.net/manual/en/tokens.php
This then leads to:
http://www.php.net/manual/en/language.types.string.php#language.types.string
.syntax
I have no idea how to interpret all this, but try changing <?php to just <?
and see how that goes.
Martin
-----Original Message-----
From: Joshua Alexander [mailto:jla21@cornell.edu]
Sent: Wednesday, June 19, 2002 4:23 PM
To: php-general@lists.php.net
Subject: [PHP] what kind of weird problem is this?
I just installed the php 4.2.1 from entropy.ch and when running this script:
<?php
$test = "just about anything";
echo "this was justa test";
?>
I get this error:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in
/Library/WebServer/Documents/west.php on line 3
Anyone know what *that* is about?
-Josh