Re: where is -> and <<< in the manual

From: Date: Fri, 26 Jan 2001 21:16:13 +0000
Subject: Re: where is -> and <<< in the manual
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-36878@lists.php.net to get a copy of this message
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" <nakins@arkansas.net> To: <php-general@lists.php.net> 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: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#36878) next »