#21134 [Com]: Parse error in mirrors.inc, reproduced in various browsers

From: Date: Sat, 21 Dec 2002 15:13:09 +0000
Subject: #21134 [Com]: Parse error in mirrors.inc, reproduced in various browsers
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-14399@lists.php.net to get a copy of this message
ID: 21134 Comment by: alex@netflex.nl Reported By: carl@kittanning.com Status: Open Bug Type: Website problem Operating System: Win 98 PHP Version: 4.3.0RC3 New Comment: to view the mirrors.inc go to this url: http://www.php.net/source.php?url=/include/mirrors.inc Previous Comments: ------------------------------------------------------------------------ [2002-12-21 09:11:44] alex@netflex.nl Hi, The list of mirrors in /include/mirrors.inc has a wrong array layout: $MIRRORS = array( "http://au.php.net/" => array("AUS","Planet Mirror",FALSE,"http://www.planetmirror.com/",MIRROR_STANDARD,FALSE,"en",MIRROR_OK) "http://au2.php.net/" => array("AUS","Web Hosting Australia",FALSE,"http://www.ilisys.com.au/",MIRROR_STANDARD,FALSE,"en",MIRROR_OK) "http://au3.php.net/" => array("AUS","AusGamers",TRUE,"http://ausgamers.com/",MIRROR_STANDARD,FALSE,"en",MIRROR_OK) must be: $MIRRORS = array( "http://au.php.net/" => array("AUS","Planet Mirror",FALSE,"http://www.planetmirror.com/",MIRROR_STANDARD,FALSE,"en",MIRROR_OK), "http://au2.php.net/" => array("AUS","Web Hosting Australia",FALSE,"http://www.ilisys.com.au/",MIRROR_STANDARD,FALSE,"en",MIRROR_OK), "http://au3.php.net/" => array("AUS","AusGamers",TRUE,"http://ausgamers.com/",MIRROR_STANDARD,FALSE,"en",MIRROR_OK), ------------------------------------------------------------------------ [2002-12-21 08:46:20] carl@kittanning.com This error shows on the PHP website, reproduced on IE5, NS4.75, NS7.0 just coming into the site. www.php.net Parse error: parse error, expecting `')'' in /local/Web/sites/phpweb/include/mirrors.inc on line 25 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21134&edit=1

« previous php.mirrors (#14399) next »