Arquivos
hhvm/hphp/test/quick/hopt_array.php
T
Tim Starling 998951619f update copyright date
We did not intend to imply our copyrights last forever

Closes #759
2013-06-03 12:43:56 -07:00

23 linhas
298 B
PHP

<?php
// Copyright 2004-2013 Facebook. All Rights Reserved.
echo "Starting\n";
class C {
public function foo() {
echo "foo\n";
$x = array();
if ($x) {
print_r($x);
} else {
print_r($x);
}
}
}
$c = new C;
$val = $c->foo();
echo $val;
echo "\n";
echo "Done\n";