- Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.7
- Fatal error: No code may exist outside of namespace {} in /in/PJ06P on line 19
Process exited with code 255.
<?php
namespace Test {
class Test {
public function hello() {
echo "HI";
}
}
}
namespace Test {
class Test {
public function hello() {
echo "HI3";
}
}
}
$var = new \Test\Test;
$var->hello();