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:[EMAIL PROTECTED]]
Sent: Wednesday, June 19, 2002 4:23 PM
To: [EMAIL PROTECTED]
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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to