Simply firering up PHP 6.0.0-dev (offered by my host to test drive) will blow a 500 in your face, if you have some luck. A blanc page is all you get.
But, just before the line where you find this :
- Code: Select all
set_magic_quotes_runtime(0);
you put this :
- Code: Select all
if (!function_exists('set_magic_quotes_runtime')) {
function set_magic_quotes_runtime($val) {
if ($val) {
// throw an error or do some work around
}
}
}
and just before the line where you find this :
- Code: Select all
if( !get_magic_quotes_gpc() )
you put this :
- Code: Select all
if(!function_exists('get_magic_quotes_gpc'))
{
function get_magic_quotes_gpc()
{
return 0;
}
}
all this because these two function do not exist anymore in PHP 6 - because not needed anymore. Which is a good thing.
Some issues are still left, because I can't enter the config menus.
This barks up :
PHP Errors
lib/dbal/mysql.php
Runtime Notice line 337: Resource ID#10 used as offset, casting to integer (10)
IMHO : Please note that running WoWRoster 1.9.9.xxx on PHP 6 is NOT a top priority.