php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay
files >> /php-7.1.11/ext/tidy/tests/ |
files >> //php-7.1.11/ext/tidy/tests/030.phpt |
--TEST-- getConfig() method - basic test for getConfig() --CREDITS-- Christian Wenz <wenz@php.net> --SKIPIF-- <?php if (!extension_loaded('tidy')) die ('skip tidy not present'); ?> --FILE-- <?php $buffer = '<html></html>'; $config = array( 'indent' => true, // AutoBool 'indent-attributes' => true, // Boolean 'indent-spaces' => 3, // Integer 'language' => 'de'); // String $tidy = new tidy(); $tidy->parseString($buffer, $config); $c = $tidy->getConfig(); var_dump($c['indent']); var_dump($c['indent-attributes']); var_dump($c['indent-spaces']); var_dump($c['language']); ?> --EXPECTF-- int(1) bool(true) int(3) %s(2) "de"y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`