diff options
Diffstat (limited to 'ext/spl/examples/dba_dump.php')
| -rwxr-xr-x | ext/spl/examples/dba_dump.php | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/ext/spl/examples/dba_dump.php b/ext/spl/examples/dba_dump.php deleted file mode 100755 index 77ea2008bd..0000000000 --- a/ext/spl/examples/dba_dump.php +++ /dev/null @@ -1,28 +0,0 @@ -<?php - -/* dba dump utility - * - * Usage: php dba_dump <file> <handler> [<regex>] - * - * Show all groups in the ini file specified by <file>. - * The regular expression <regex> is used to filter the by setting name. - * - * Note: configure with --enable-dba - * - * (c) Marcus Boerger - */ - -require_once("dba_reader.inc"); -require_once("key_filter.inc"); - -$db = new dba_reader($argv[1], $argv[2]); - -if ($argc>3) { - $db = new key_filter($db, $argv[3]); -} - -foreach($db as $key => $val) { - echo "'$key' => '$val'\n"; -} - -?>
\ No newline at end of file |
