<?php $input = (defined('STDIN') ? STDIN : fopen('php://input', 'r+'));
if ($isTtySupported === null && function_exists('proc_open')) {
$isTtySupported = (bool) @proc_open('echo 1 >/dev/null', [['file', '/dev/tty', 'r'], ['file', '/dev/tty', 'w'], ['file', '/dev/tty', 'w']], $pipes);
}
if (! $isTtySupported) {