Here is the first 100 lines of code output from phplint showing the warnings and errors: [php]1: <?php
13: // START THE TIMER & START COUNTING QUERIES
15: $stats[‘timer’] = array_sum(explode(" “,microtime()));
$stats[‘timer’] = array_sum(explode(” ",microtime()));
_ HERE
==== 15: Warning: calling explode()' declared in modules/standard:427, argument no. 2: found typemixed’, required type `string’
16: $stats[‘queries’] = 0;
25: // ANTI-CHEAT SYSTEM
26: $_SESSION[‘arandomnumber’] = empty($_SESSION[‘arandomnumber’]) ? sha1(time().rand(99,9999)) : $_SESSION[‘arandomnumber’];
$_SESSION['arandomnumber'] = empty($_SESSION['arandomnumber']) ? sha1(time().rand(99,9999)) : $_SESSION['arandomnumber'];
\_ HERE
==== 26: Warning: function `sha1()’ (still) not declared. Guessing signature from its usage. Hint: it’s better to declare the functions before their usage.
37: $settings[‘copyright’] = $settings[‘title’].’ © ‘.$settings[‘author’].’ ‘.$settings[‘author2’].’ ‘.$settings[‘history’].’ :: Version: '.$settings[‘version’];
38: $settings[‘links’] = array(
39: ‘Bugs & Help Forum’ => ‘http://www.runboard.com/btherunboarddirectory.f5’,
40: ‘Add RunSearch To Your Board’ => $settings[‘domain’].‘extras/searchbox’,
41: ‘Link To RunSearch’ => $settings[‘domain’].‘extras/linktous’,
42: ‘The Runboard Directory’ => ‘http://www.runboard.com/btherunboarddirectory’
43: );
);
\_ HERE
==== 43: ERROR: cannot assign a value of type array[string]string to a variable of type string
59: // ARRAY OF COLOR SCHEMES 
60: $themes = array(
70: // SHOW ERRORS
71: function showErrors() {
73: global $errors;
75: $errs = array(
76: 0 => ‘’,
77: 1 => ‘Too many search terms’,
78: );
79: $_GET[‘e’] = (int) $_GET[‘e’];
80:
81: if(isset($errs[$_GET[‘e’]]))
if(isset($errs[$_GET['e']]))
\_ HERE
==== 81: ERROR: invalid array index of type mixed
82: $errors = $errs[$_GET[‘e’]];
$errors = $errs[$_GET['e']];
\_ HERE
==== 82: ERROR: invalid array index of type mixed
83: }
84:
85: // ADDSLASHES__RECURSIVE
86: function addSlashesRecursive($var)
==== 71: notice: guessed signature of the function `showErrors()’ as void()
function addSlashesRecursive($var)
\_ HERE
==== 86: ERROR: the name `$var’ is a keyword. This is deprecated by PHP and forbidden by PHPLint.
function addSlashesRecursive($var)
\_ HERE
==== 86: ERROR: undefined type for argument $var'. Hint: you may indicate an explicit type (example:/.int./ $var’) or assign a default value (example: $var=123') or add a DocBlock line tag (example:@param int $var’).
87: {
88: if (!is_array($var))
if (!is_array($var))
\_ HERE
==== 88: ERROR: the name `$var’ is a keyword. This is deprecated by PHP and forbidden by PHPLint.
89: return addslashes($var);
return addslashes($var);
\_ HERE
==== 89: ERROR: the name `$var’ is a keyword. This is deprecated by PHP and forbidden by PHPLint.
return addslashes($var);
\_ HERE
==== 89: notice: from this return' we guess the functionaddSlashesRecursive()’ returns a value of type string
90:
91: // ADDS SLASHES TO EVERY ELEMENT AND RECURSIVELY CALLS ITSELF
92: foreach ($var as $k => $v)
foreach ($var as $k => $v)
\_ HERE
==== 92: ERROR: the name `$var’ is a keyword. This is deprecated by PHP and forbidden by PHPLint.
93: $var[$k] = addSlashesRecursive($v);
$var[$k] = addSlashesRecursive($v);
\_ HERE
==== 93: ERROR: the name `$var’ is a keyword. This is deprecated by PHP and forbidden by PHPLint.
$var[$k] = addSlashesRecursive($v);
\_ HERE
==== 93: ERROR: invalid array index of type mixed
94:
95: return $var;
return $var;
\_ HERE
==== 95: ERROR: the name `$var’ is a keyword. This is deprecated by PHP and forbidden by PHPLint.
return $var;
\_ HERE
==== 95: ERROR: function addSlashesRecursive()': expected return type string, found expression of type array[]string 96: } 98: // STRIPSLASHESRECURSIVE 99: function stripSlashesRecursive($var) ==== 86: notice: guessed signature of the functionaddSlashesRecursive()’ as string(unknown)
function stripSlashesRecursive($var)
\_ HERE
==== 99: ERROR: the name `$var’ is a keyword. This is deprecated by PHP and forbidden by PHPLint.
function stripSlashesRecursive($var)
\_ HERE
==== 99: ERROR: undefined type for argument $var'. Hint: you may indicate an explicit type (example:/.int./ $var’) or assign a default value (example: $var=123') or add a DocBlock line tag (example:@param int $var’).
100: {[/php]This script is a total of 506 lines but I am thinking the most I can actually work with at any given time here is 100 lines. I have zero PHP knowledge for all practical purposes.