The -> operator is used with class objects. See the manual
section on classes & objects ;)

The <<< is used with here-doc strings. I believe you'll find
it in the strings section of the manual.

Examples:
$myObj = new myClass;
$myObj->somevar = "This is some var";

$str = <<<END_STRING
This is my string.
END_STRING;

echo <<<END_ECHO
This is my text and my string says '$str'.
END_ECHO;

--Toby

----- Original Message -----
From: "Noel Akins" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 25, 2001 6:19 PM
Subject: [PHP] where is -> and <<< in the manual


> where is -> and <<< in the manual? I see -> used with vars
and <<< with
> doc. I assume that they are operators of some kind, but
didn't find them in
> the operators section of the manual. Are there any other
items like these
> found in php4?
> thanks
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
[EMAIL PROTECTED]
> For additional commands, e-mail:
[EMAIL PROTECTED]
> To contact the list administrators, e-mail:
[EMAIL PROTECTED]
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to