HEX
Server: LiteSpeed
System: Linux s12873.lon1.stableserver.net 5.14.0-611.11.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Dec 3 09:47:37 EST 2025 x86_64
User: jairicem (1242)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: /home/jairicem/kunakornthairestaurant.com/vendor/sabberworm/php-css-parser/tests/quickdump.php
#!/usr/bin/env php
<?php

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

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

$oDoc = $oParser->parse();
echo "\n".'#### Input'."\n\n```css\n";
print $sSource;

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

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

echo "\n```\n";