Current Path: > > opt > cloudlinux > alt-php83 > root > usr > share > pear > test > Console_Getopt > > tests
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
001-getopt.phpt | File | 1230 bytes | May 12 2025 18:07:00. | |
bug10557.phpt | File | 494 bytes | May 12 2025 18:07:00. | |
bug11068.phpt | File | 793 bytes | May 12 2025 18:07:00. | |
bug13140.phpt | File | 1349 bytes | May 12 2025 18:07:00. |
--TEST-- Console_Getopt [bug 11068] --SKIPIF-- --FILE-- <?php $_SERVER['argv'] = $argv = array('hi', '-fjjohnston@mail.com', '--to', 'hi', '-'); require_once 'Console/Getopt.php'; $ret = Console_Getopt::getopt(Console_Getopt::readPHPArgv(), 'f:t:', array('from=','to=','mailpack=','direction=','verbose','debug')); if(PEAR::isError($ret)) { echo $ret->getMessage()."\n"; echo 'FATAL'; exit; } print_r($ret); ?> --EXPECT-- Array ( [0] => Array ( [0] => Array ( [0] => f [1] => jjohnston@mail.com ) [1] => Array ( [0] => --to [1] => hi ) ) [1] => Array ( [0] => - ) )
SILENT KILLER Tool