<?php
// Everything you enter here will be executed by our servers. Try it!
namespace Test {
function error_reporting($new_level = null) {
$arguments = array_slice(array($new_level), func_num_args());
$refFunc = new \ReflectionFunction('error_reporting');
return $refFunc->invokeArgs($arguments);
}
}
namespace {
echo Test\error_reporting();
Test\error_reporting(3);
echo Test\error_reporting();
}