Fixed parser error for php older than 5.4