XaminProject/handlebars.php — pull request #66 by jslegers (2014-07-02 17:01:56+00:00)
Title: Patch for arrays that contain only one elements

For arrays that contain only one element, `(array_keys($tmp) == range(0, count($tmp) - 1)` always returns true.

`(array_keys($tmp) === range(0, count($tmp) - 1)` works as expected.

Test environment = Linux Mint + PHP 5.4.