SILENT KILLERPanel

Current Path: > > opt > cloudlinux > alt-php56 > root > usr > > share > > pear > > test > > Console_Getopt > tests


Operation   : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Software     : Apache
Server IP    : 198.54.126.42 | Your IP: 216.73.216.135
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/cloudlinux/alt-php56/root/usr//share//pear//test//Console_Getopt/tests

NameTypeSizeLast ModifiedActions
001-getopt.phpt File 1230 bytes May 12 2025 16:48:59.
bug10557.phpt File 494 bytes May 12 2025 16:48:59.
bug11068.phpt File 793 bytes May 12 2025 16:48:59.
bug13140.phpt File 1349 bytes May 12 2025 16:48:59.

Reading File: //opt/cloudlinux/alt-php56/root/usr//share//pear//test//Console_Getopt/tests/bug10557.phpt

--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