Optional middle params don't work on some PHP versions