Move experimental/symbolizer/{tool,test} to debugging/symbolizer
[hiphop-php.git] / hphp / test / slow / new_object_expression / 783.php
blobd3ea876ea649bae4763d6b215831d265fb2eb1f1
1 <?hh
3 class X {
4 function __toString()[] :mixed{
5 return 'hello';
8 function f() :mixed{
9 return 'bar';
11 function test() :mixed{
12 $a = 'foo';
13 for ($i = 0; $i < 10; $i++) {
14 $a .= new X() . f();
16 return $a;
19 <<__EntryPoint>>
20 function main_783() :mixed{
21 var_dump(test());