diff options
author | SVN Migration <svn@php.net> | 2004-01-25 12:03:25 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2004-01-25 12:03:25 +0000 |
commit | 22476b36ce621bdd115493bab84cbe706e422a7c (patch) | |
tree | 1124d1c5af68860a78c2252bb0dac63c9f18156e /ext/spl/examples/dba_dump.php | |
parent | eb7aca4ea896b09cb9afc2466a46f4720acc4a4e (diff) | |
download | php-git-php_ibase_before_split.tar.gz |
This commit was manufactured by cvs2svn to create tagphp_ibase_before_split
'php_ibase_before_split'.
Diffstat (limited to 'ext/spl/examples/dba_dump.php')
-rwxr-xr-x | ext/spl/examples/dba_dump.php | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/ext/spl/examples/dba_dump.php b/ext/spl/examples/dba_dump.php deleted file mode 100755 index b608c9fe63..0000000000 --- a/ext/spl/examples/dba_dump.php +++ /dev/null @@ -1,40 +0,0 @@ -<?php - -/** dba dump utility - * - * Usage: php dba_dump.php <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, 2003 - */ - -if ($argc < 3) { - echo <<<EOF -Usage: php ${_SERVER['PHP_SELF']} <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. - - -EOF; - exit(1); -} - -require_once("dba_reader.inc"); -require_once("key_filter.inc"); - -$db = new DbaReader($argv[1], $argv[2]); - -if ($argc>3) { - $db = new keyFilter($db, $argv[3]); -} - -foreach($db as $key => $val) { - echo "'$key' => '$val'\n"; -} - -?>
\ No newline at end of file |