We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfd245d commit f882344Copy full SHA for f882344
tests/quickdump.php
@@ -2,14 +2,18 @@
2
3
require_once(dirname(__FILE__).'/bootstrap.php');
4
5
-$oParser = new Sabberworm\CSS\Parser(file_get_contents('php://stdin'));
+$sSource = file_get_contents('php://stdin');
6
+$oParser = new Sabberworm\CSS\Parser($sSource);
7
8
$oDoc = $oParser->parse();
9
+echo "\n".'#### Input'."\n\n```css\n";
10
+print $sSource;
11
-echo '#### Structure (`var_dump()`)'."\n";
12
+echo "\n```\n\n".'#### Structure (`var_dump()`)'."\n\n```php\n";
13
var_dump($oDoc);
14
-echo '#### Output (`render()`)'."\n";
15
+echo "\n```\n\n".'#### Output (`render()`)'."\n\n```css\n";
16
print $oDoc->render();
-echo "\n";
17
+
18
+echo "\n```\n";
19
0 commit comments