Parse Error

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
User avatar
WiZARD
Moderator
Moderator
Posts: 1240
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Fri Jun 29, 2007 12:07 am

brownie wrote:Hi All,

I new to PHP and am trying to install a script but have run across a parse error:

Parse error: parse error, unexpected '=', expecting ')'

The error occurs on line 289 which I have copied below:

function separate($roots, $urls,
&$int_pages = Array(),
&$int_loads = Array(),
&$ext_pages = Array(),
&$ext_loads = Array(),
$extensions = Array('', 'asp', 'aspx', 'cgi', 'htm', 'html', 'php'))

Any help would greatly be appreciated!!!

Thanks!

Ryan
try remove & before variables and just a check this again...
"Sex,Drugs and Rock&Roll " replaced at "Sucks,Bugs and Plug&Play";
Image
Post Reply