/
proc
/
3430793
/
cwd
/
proc
/
3430793
/
root
/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
tidy
/
tests
/
File Upload :
llllll
Current File: //proc/3430793/cwd/proc/3430793/root/usr/local/lsws/phpbuild/php-8.0.7/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 $tidy = new tidy(); $tidy->parseString($buffer, $config); $c = $tidy->getConfig(); var_dump($c['indent']); var_dump($c['indent-attributes']); var_dump($c['indent-spaces']); ?> --EXPECT-- int(1) bool(true) int(3)
Copyright ©2k19 -
Hexid
|
Tex7ure