0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.216.253.84


Current Path : /var/www/html/mcu/adm/dompdf/lib/php-css-parser/tests/
Upload File :
Current File : /var/www/html/mcu/adm/dompdf/lib/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";