Gilbert Pellegrom 92b792e8f2 Initial commit.
2012-04-04 14:45:09 +01:00

23 lines
347 B
Plaintext
Executable File

--TEST--
"dump" function
--TEMPLATE--
{{ dump() }}
{{ dump('foo') }}
{{ dump('foo', 'bar') }}
--DATA--
return array('foo' => 'foo', 'bar' => 'bar')
--CONFIG--
return array('debug' => true, 'autoescape' => false);
--EXPECT--
array(2) {
["foo"]=>
string(3) "foo"
["bar"]=>
string(3) "bar"
}
string(3) "foo"
string(3) "foo"
string(3) "bar"