- error_reporting: documentation ( source)
<?php
error_reporting(0);
class FooClass {}
$foo = new FooClass();
$foo->bar = "qux";
$thing = "bar";
$qux = "th";
$grault = "ing";
function th($waldo){
global $qux, $grault, $thing;
return ${$qux . $grault} . $waldo;
}
echo ${($foo->${${$foo->bar}.((${qux}.${grault}===$qux.${grault})?${grault}:${$qux.$grault})})}(($foo->${${$foo->bar}.((${qux}.${grault}===$qux.${grault})?${grault}:${$qux.$grault})}));
// echos 'barqux'