Re: Strange error
| From: | Sid | Date: | Tue, 16 Sep 2003 20:19:40 +0000 |
| Subject: | Re: Strange error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-162715@lists.php.net to get a copy of this message | ||
You are probably right. I typed in the same code into a new file and it
started to work. Just for the record, I copied and pasted this code from
Opera in Windows. Anyone had similar problems?
- Sid
----- Original Message -----
From: "Martin Towell" <martin.towell@world.net>
To: "'Sid'" <sidh@hathway.com>; <php-general@lists.php.net>
Sent: 16 September 2003 Tuesday 12:10 AM
Subject: RE: [PHP] Strange error
> Hi
>
> Odd - I copy/paste the code below and run it against windows version of
> php4.0.6 and it's okay
>
> Maybe you've got a hidden char there somewhere?
>
> Martin
>
> -----Original Message-----
> From: Sid [mailto:sidh@hathway.com]
> Sent: Wednesday, 17 September 2003 5:39 AM
> To: php-general@lists.php.net
> Subject: [PHP] Strange error
>
>
> Hello everyone,
>
> Am I having a bad day or WHAT! I have exactly 5 lines of code as follows
> <?
> function here ($errno, $err_str, $file_name, $line_no, $context_no)
> {
> }
> ?>
> and I get this error
> Parse error: parse error, unexpected T_STRING, expecting '&' or T_VARIABLE
> or T_CONST in D:\sid\sid-test\index.php on line 3
>
> what is the problem here.
>
> Can someone help
>
> - Sid
> __________ Information from NOD32 1.509 (20030914) __________
>
> This message was checked by NOD32 for Exchange e-mail monitor.
> http://www.nod32.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>