- Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.6
- Fatal error: No code may exist outside of namespace {} in /in/ZfEEa on line 14
Process exited with code 255.
<?php
namespace Foo {
class Test
{
public function tes2t()
{
var_dump(__FUNCTION__);
var_dump(__METHOD__);
}
}
}
$t = new Foo\Test();
$t->tes2t();