~ubuntu-branches/ubuntu/hardy/php5/hardy-updates

« back to all changes in this revision

Viewing changes to ext/tidy/tests/007.phpt

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-10-09 03:14:32 UTC
  • Revision ID: james.westby@ubuntu.com-20051009031432-kspik3lobxstafv9
Tags: upstream-5.0.5
ImportĀ upstreamĀ versionĀ 5.0.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--TEST--
 
2
Verbose  tidy_getopt()
 
3
--SKIPIF--
 
4
<?php if (!extension_loaded("tidy")) print "skip"; ?>
 
5
--INI--
 
6
tidy.default_config=
 
7
--FILE--
 
8
<?php
 
9
                $a = new tidy(dirname(__FILE__)."/007.html");
 
10
                echo "Current Value of 'tidy-mark': ";
 
11
                var_dump($a->getopt("tidy-mark"));
 
12
                echo "Current Value of 'error-file': ";
 
13
                var_dump($a->getopt("error-file"));
 
14
                echo "Current Value of 'tab-size': ";
 
15
                var_dump($a->getopt("tab-size"));
 
16
                
 
17
?>
 
18
--EXPECT--
 
19
Current Value of 'tidy-mark': bool(false)
 
20
Current Value of 'error-file': string(0) ""
 
21
Current Value of 'tab-size': int(8)