Arquivos
hhvm/hphp/test/vm/RemapMethod.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

22 linhas
354 B
PHP

<?php
// Regression test for Peephole optimizer's logic for remapping method
// entry points
class Foo {
protected $message = '';
protected $code = 0;
protected $previous = null;
protected $file;
protected $line;
protected $trace;
final function __init__() {
while (!empty($this->trace)) {
}
}
}
$x = new Foo();
var_dump($x);