Date: 10/09/01
- Next message: Blake Schwendiman: "[PHP] Re: Newlines in files"
- Previous message: _lallous: "[PHP] Re: Anyway of knowing whether a integer is odd or even"
- In reply to: Martin Lindhe: "[PHP] echo warnings"
- Next in thread: Martin Lindhe: "RE: [PHP] Re: echo warnings"
- Maybe reply: Martin Lindhe: "RE: [PHP] Re: echo warnings"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Blake Schwendiman: "[PHP] Re: Newlines in files"
- Previous message: _lallous: "[PHP] Re: Anyway of knowing whether a integer is odd or even"
- In reply to: Martin Lindhe: "[PHP] echo warnings"
- Next in thread: Martin Lindhe: "RE: [PHP] Re: echo warnings"
- Maybe reply: Martin Lindhe: "RE: [PHP] Re: echo warnings"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

