Current Path: > > opt > cloudlinux > > alt-php70 > 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 16:55:58. | |
bug10557.phpt | File | 494 bytes | May 12 2025 16:55:58. | |
bug11068.phpt | File | 793 bytes | May 12 2025 16:55:58. | |
bug13140.phpt | File | 1349 bytes | May 12 2025 16:55:58. |
--TEST-- Console_Getopt [bug 10557] --SKIPIF-- --FILE-- <?php $_SERVER['argv'] = $argv = array('hi', '-fjjohnston@mail.com', '--to', '--mailpack', '--debug'); 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-- Console_Getopt: option requires an argument --to FATAL
SILENT KILLER Tool