Dear All,
I'm reading a book about AJAX and PHP and there has a statement like this :
$xml = <<< PROLOG
<?xml version="1.0" encoding="iso-8859-1"?>
PROLOG;
I would like to know is it some kind of shorthand for assigning the string '<?xml version="1.0" encoding="iso-8859-1"?>' to $xml?
And is it "<<<" a kind of operator?
Many thanks!
Please help to explain a statement
Moderator: General Moderators
Re: Please help to explain a statement
got it
Thanks a lot
Thanks a lot