I have a function
function readExcel(){
require_once 'SimpleXLSX.php';
use Shuchkin\SimpleXLSX;
if ( $xlsx = SimpleXLSX::parse('book.xlsx') ) {
print_r( $xlsx->rows() );
} else {
echo SimpleXLSX::parseError();
}
But when I call readExcel() I got error
Parse error: syntax error, unexpected token "use"
Help please..