PHP Classes

File: application/third_party/dompdf/lib/php-css-parser/tests/quickdump.php

Recommend this page to a friend!
  Classes of Muhammad Yahya   PPDB Prediksi   application/third_party/dompdf/lib/php-css-parser/tests/quickdump.php   Download  
File: application/third_party/dompdf/lib/php-css-parser/tests/quickdump.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PPDB Prediksi
Application to manage schools in Indonesia
Author: By
Last change:
Date: 2 years ago
Size: 438 bytes
 

Contents

Class file image Download
#!/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";