|
|
|
@ -11,13 +11,13 @@ $t = new tidy; |
|
|
|
var_dump($t->getOptDoc('ncr')); |
|
|
|
var_dump(strlen(tidy_get_opt_doc($t, 'wrap')) > 99); |
|
|
|
?> |
|
|
|
--EXPECT-- |
|
|
|
Warning: tidy_get_opt_doc(): Unknown Tidy Configuration Option 'some_bogus_cfg' in /cvs/php-src/ext/tidy/tests/021.php on line 3 |
|
|
|
--EXPECTF-- |
|
|
|
Warning: tidy_get_opt_doc(): Unknown Tidy Configuration Option 'some_bogus_cfg' in %s021.php on line 3 |
|
|
|
bool(false) |
|
|
|
string(73) "This option specifies if Tidy should allow numeric character references. " |
|
|
|
bool(true) |
|
|
|
--UEXPECT-- |
|
|
|
Warning: tidy_get_opt_doc(): Unknown Tidy Configuration Option 'some_bogus_cfg' in /cvs/php-src/ext/tidy/tests/021.php on line 3 |
|
|
|
--UEXPECTF-- |
|
|
|
Warning: tidy_get_opt_doc(): Unknown Tidy Configuration Option 'some_bogus_cfg' in %s021.php on line 3 |
|
|
|
bool(false) |
|
|
|
unicode(73) "This option specifies if Tidy should allow numeric character references. " |
|
|
|
bool(true) |