Clear up syntax error, but trapping dl errors is still impossible...

This commit is contained in:
Miles Lott 2002-04-22 00:01:18 +00:00
parent 8af4b49bef
commit 8443b10a60

View File

@ -84,14 +84,17 @@
{ {
while(list(,$tf) = each($this->test_function[$ext]['extfile'])) while(list(,$tf) = each($this->test_function[$ext]['extfile']))
{ {
eval('dl(' . $tf . '.' . $this->os_ext . ');'); error_reporting(0);
eval('$tmp = dl(' . $tf . $this->os_ext . ');');
error_reporting(E_ERROR | E_WARNING | E_PARSE);
$this->check($ext,True); $this->check($ext,True);
} }
} }
else else
{ {
//dl($ext. $this->os_ext); error_reporting(0);
eval('dl(' . $ext . '.' . $this->os_ext . ');'); eval('$tmp = dl(' . $ext . $this->os_ext . ');');
error_reporting(E_ERROR | E_WARNING | E_PARSE);
return $this->check($ext,False); return $this->check($ext,False);
} }
} }