审查视图

simplewind/vendor/sabberworm/php-css-parser/tests/quickdump.php 293 字节
杨育虎 authored
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
<?php

require_once(dirname(__FILE__).'/bootstrap.php');

$oParser = new Sabberworm\CSS\Parser(file_get_contents('php://stdin'));

$oDoc = $oParser->parse();

echo '#### Structure (`var_dump()`)'."\n";
var_dump($oDoc);

echo '#### Output (`render()`)'."\n";
print $oDoc->render();
echo "\n";