Hacked By AnonymousFox

Current Path : /opt/alt/php53/usr/share/doc/pear/ConsoleTools/docs/
Upload File :
Current File : //opt/alt/php53/usr/share/doc/pear/ConsoleTools/docs/tutorial_example_04_input_basic.php

<?php

require_once 'tutorial_autoload.php';

$input = new ezcConsoleInput();

$helpOption = $input->registerOption( 
    new ezcConsoleOption( 
        'h',
        'help'
    )
);

try
{
    $input->process();
}
catch ( ezcConsoleOptionException $e )
{
    die( $e->getMessage() );
}

if ( $helpOption->value !== false )
{
    echo "Help requested.";
}
else
{
    echo "No help requested.";
}

?>

Hacked By AnonymousFox1.0, Coded By AnonymousFox