Posted by Lisa Pearlson on 10/09/75 11:24
hmm, weird, echo(00) echoes '0';
Many shell scripts written in php also exit like this:
exit(0);
But that also prints the ascii character '0';
weird.
I think echo pack('C', 0) should work..
Lisa
"Christopher Story" <ke6rwj@spam-eater-remove-me-msn.com> wrote in message
news:jeXMe.7335$F_7.5240@fe06.lga...
>
> "Lisa Pearlson" <no@spam.plz> wrote in message
> news:43043869$0$5028$e4fe514c@dreader11.news.xs4all.nl...
>> how can I echo the decimal number 0 instead of the ascii "0" ?
>> passthru can do it in response to a shell function. Is there another way?
>> does echo pack("C", 0) do it?
>>
>> Lisa
>
> echo char(00);
>
> will do it....
>
> chris
>
>
[Back to original message]
|