Arquivos
hhvm/hphp/test/vm/silencer.php
T
Jordan Delong 363d1bb20f Code move src/ -> hphp/
This change is mostly for FB internal organizational reasons.
Building is not effected beyond the fact that the target now
lands in hphp/hhvm/hhvm rather than src/hhvm/hhvm.
2013-02-11 02:10:41 -08:00

30 linhas
437 B
PHP

<?php
function f() {
$a = array();
echo $a[15410];
echo "In f: " . error_reporting() . "\n";
}
echo error_reporting() . "\n";
f();
echo error_reporting() . "\n";
@f();
echo error_reporting() . "\n";
function g() {
$a = array();
echo $a[15411];
echo "In g: " . error_reporting() . "\n";
error_reporting(15251);
}
echo error_reporting() . "\n";
@g();
echo error_reporting() . "\n";
$arr = array();
echo @$arr['nope'];