bobthecow/mustache.php — Issue #61: Irregular behaviour when templating arrays:
Author: theindustry
Created: 2011-10-21 09:23:30+00:00
State: open

I've just found the below sown irregular behaviour that occurs when templating with arrays that doesn't have 0 as the first key:

Working:
array
0 =>
array
'name' => string 'A name'
1 =>
array
'name' => string 'Another name'

Non-working, leads to empty when accessing {{name}} altough mustache loops array :
array
1 =>
array
'name' => string 'A name'
2 =>
array
'name' => string 'Another name'

Version:
const VERSION = '0.8.0';
const SPEC_VERSION = '1.1.2';