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" <[EMAIL PROTECTED]> To: "'Sid'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] > Sent: Wednesday, 17 September 2003 5:39 AM > To: [EMAIL PROTECTED] > 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 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php