- Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.7
- Parse error: syntax error, unexpected '{', expecting ',' or ';' in /in/0Orfm on line 21
Process exited with code 255.
<?php
namespace Test {
function sqrt($arg=null)
{
return 'test';
}
}
namespace Second {
function sqrt($arg=null)
{
return 'second';
}
}
namespace {
use function Test {sqrt};
echo sqrt();
}