12345678910111213141516171819202122 |
- --TEST--
- Table without header
- --FILE--
- <?php
- if (file_exists(dirname(__FILE__) . '/../Table.php')) {
- require_once dirname(__FILE__) . '/../Table.php';
- } else {
- require_once 'Console/Table.php';
- }
- $table = new Console_Table();
- $table->addData(array(array('foo', 'bar')));
- echo $table->getTable();
- ?>
- --EXPECT--
- +-----+-----+
- | foo | bar |
- +-----+-----+
|