Updated the array lines to work for PHP versions earlier than 5.4