Re: [PHP] what kind of weird problem is this?

2002-06-18 Thread Joshua Alexander

Opening the file in vi shows that BBEdit is, for some reason, using 
\xca where the spaces should be. Off to BareBones.com I go...

>Well, 312 is not a space.  Please use a text editor that knows what a
>space is.  The other lines look fine, but your $test<312>=<312> stuff
>there is bogus.
>
>-Rasmus

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] what kind of weird problem is this?

2002-06-18 Thread Rasmus Lerdorf

Well, 312 is not a space.  Please use a text editor that knows what a
space is.  The other lines look fine, but your $test<312>=<312> stuff
there is bogus.

-Rasmus

On Wed, 19 Jun 2002, Joshua Alexander wrote:

> Thanks, I didn't know about od
>
> 000<   ?   p   h   p  \n  \n   $   t   e   s   t 312   = 312   "
> 020j   u   s   t   a   b   o   u   t   a   n   y   t   h
> 040i   n   g   "   ;  \n  \n   e   c   h   o   "   t   h   i
> 060s   w   a   s   j   u   s   t   a   t   e   s   t
> 100"   ;  \n  \n   ?   >
> 106
>
> That is REALLY weird. I use BBEdit. I've always used BBEdit.
>
> -Josh
>
>
> >Are you using a broken editor of some sort?  All I can think of here is
> >that your spaces aren't really spaces.  Try an od -c on that file from
> >your prompt.
> >
> >-Rasmus
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] what kind of weird problem is this?

2002-06-18 Thread Joshua Alexander

Thanks, I didn't know about od

000<   ?   p   h   p  \n  \n   $   t   e   s   t 312   = 312   "
020j   u   s   t   a   b   o   u   t   a   n   y   t   h
040i   n   g   "   ;  \n  \n   e   c   h   o   "   t   h   i
060s   w   a   s   j   u   s   t   a   t   e   s   t
100"   ;  \n  \n   ?   >   
106

That is REALLY weird. I use BBEdit. I've always used BBEdit.

-Josh


>Are you using a broken editor of some sort?  All I can think of here is
>that your spaces aren't really spaces.  Try an od -c on that file from
>your prompt.
>
>-Rasmus

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] what kind of weird problem is this?

2002-06-18 Thread Clay Loveless

Sounds like you're using Mac OS X, if you got PHP from entropy.ch ... Make
sure you do NOT use TextEdit to edit/create your PHP scripts. Grab a copy of
BBEdit Lite instead from www.barebones.com. You'll be glad you did!

-Clay

> From: Joshua Alexander <[EMAIL PROTECTED]>
> Date: Wed, 19 Jun 2002 02:22:34 -0400
> To: [EMAIL PROTECTED]
> Subject: [PHP] what kind of weird problem is this?
> 
> I just installed the php 4.2.1 from entropy.ch and when running this script:
> 
>  
> $test = "just about anything";
> 
> echo "this was justa test";
> 
> ?>
> 
> I get this error:
> 
> Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in
> /Library/WebServer/Documents/west.php on line 3
> 
> Anyone know what *that* is about?
> 
> -Josh


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] what kind of weird problem is this?

2002-06-18 Thread Martin Towell

Doing a search on php.net for T_CONSTANT_ENCAPSED_STRING comes up with this
page:

http://www.php.net/manual/en/tokens.php

This then leads to:

http://www.php.net/manual/en/language.types.string.php#language.types.string
.syntax

I have no idea how to interpret all this, but try changing mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 19, 2002 4:23 PM
To: [EMAIL PROTECTED]
Subject: [PHP] what kind of weird problem is this?


I just installed the php 4.2.1 from entropy.ch and when running this script:



I get this error:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in 
/Library/WebServer/Documents/west.php on line 3

Anyone know what *that* is about?

-Josh

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] what kind of weird problem is this?

2002-06-18 Thread Rasmus Lerdorf

Are you using a broken editor of some sort?  All I can think of here is
that your spaces aren't really spaces.  Try an od -c on that file from
your prompt.

-Rasmus

On Wed, 19 Jun 2002, Joshua Alexander wrote:

> I just installed the php 4.2.1 from entropy.ch and when running this script:
>
> 
> $test = "just about anything";
>
> echo "this was justa test";
>
> ?>
>
> I get this error:
>
> Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in
> /Library/WebServer/Documents/west.php on line 3
>
> Anyone know what *that* is about?
>
> -Josh


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php