Egypt has shut the Rafah border crossing, the only passageway to the outside world for the besieged Gaza Strip, after a five-day humanitarian opening.