add the missing test8.php and deal with defined but never used errors