[PHP] Re: echo warnings From: _lallous (elias_bachaalany <email protected>)
Date: 10/09/01

you can do this:
echo "<?hello world!?>\n";
no problem!

btw, why are you escaping the single quote?!

"Martin Lindhe" <martin <email protected>> wrote in message
news:831D8A28AF18D5119EAA00E018C5B81C23BABB <email protected>
> Why does this produce a warning:
>
> echo "<?xml version=\'1.0\'?>";
>
>
> but not this:
>
> echo "<\?xml version=\'1.0\'\?>";
>
> ?
>
> <? ?> inside a string shouldnt be executed, or should it?
>
> /Martin

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>