- ini_set: documentation ( source)
- error_reporting: documentation ( source)
- htmlspecialchars: documentation ( source)
<?php
error_reporting(-1);
ini_set('display_errors',1);
ini_set('log_errors',0);
class Text
{
function run()
{
eval('static::echo_data(\'test\');');
}
protected static function echo_data($data)
{
echo htmlspecialchars($data, ENT_NOQUOTES);
}
}
for ($i=0;$i<20;$i++){
$test = new Text;
$test->run();
echo("\n");
}
?>