Add support for PHP 5.2.x

This commit is contained in:
Justin Hileman
2012-03-17 23:05:52 -07:00
parent 99ff7316b3
commit bec9ce8448
34 changed files with 330 additions and 473 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ A quick example:
```php
<?php
$m = new Mustache;
$m = new Mustache_Mustache;
echo $m->render('Hello {{planet}}', array('planet' => 'World!')); // "Hello World!"
```
@@ -48,7 +48,7 @@ And render it:
```php
<?php
$m = new Mustache;
$m = new Mustache_Mustache;
$chris = new Chris;
echo $m->render($template, $chris);
```