CS : fix visibility
CS : remove useless closing tag
CS : remove extra empty lines
CS : replace else if by elseif
CS : fix spaces
CS : add missing line feed
ArrayObject exists since PHP 5.0
RuntimeException exists since PHP 5.1
LogicException exists since PHP 5.1
InvalidArgumentException exists since PHP 5.1
OutOfRangeException exists since PHP 5.1