dump.test 302B

1234567891011121314151617
  1. --TEST--
  2. "dump" function
  3. --CONDITION--
  4. !extension_loaded('xdebug')
  5. --TEMPLATE--
  6. {{ dump('foo') }}
  7. {{ dump('foo', 'bar') }}
  8. --DATA--
  9. return array('foo' => 'foo', 'bar' => 'bar')
  10. --CONFIG--
  11. return array('debug' => true, 'autoescape' => false);
  12. --EXPECT--
  13. string(3) "foo"
  14. string(3) "foo"
  15. string(3) "bar"