TYPE-0 PERFECT SEIHA
Server Info:
FreeBSD scimitar.blueboard.cz 13.5-STABLE FreeBSD 13.5-STABLE stable/13-4f2925105 GENERIC amd64
Software:
Apache
User:
www
Crot
Crot File
Crot Dir
Crot Command
[LockSelf]
[HOME]
data
www
19068
fszoo_net
www
api
2
root
vendor
nette
tester
src
Runner
Show Hidden Files
Edit File: /data/www/19068/fszoo_net/www/api/2/root/vendor/nette/tester/src/Runner/ZendPhpInterpreter.php
<?php /** * This file is part of the Nette Tester. * Copyright (c) 2009 David Grudl (https://davidgrudl.com) */ namespace Tester\Runner; use Tester\Helpers; /** * Zend PHP command-line executable. */ class ZendPhpInterpreter implements PhpInterpreter { /** @var string PHP arguments */ public $arguments; /** @var string PHP executable */ private $path; /** @var string PHP version */ private $version; /** @var bool is CGI? */ private $cgi; /** @var bool */ private $xdebug; /** @var string */ private $error; public function __construct($path, $args = NULL) { $this->path = Helpers::escapeArg($path); $proc = proc_open( "$this->path -n $args -v", // -v must be the last array(array('pipe', 'r'), array('pipe', 'w'), array('pipe', 'w')), $pipes, NULL, NULL, array('bypass_shell' => TRUE) ); $output = stream_get_contents($pipes[1]); $this->error = trim(stream_get_contents($pipes[2])); if (proc_close($proc)) { throw new \Exception("Unable to run '$path': " . preg_replace('#[\r\n ]+#', ' ', $this->error)); } elseif (!preg_match('#^PHP (\S+).*c(g|l)i#i', $output, $matches)) { throw new \Exception("Unable to detect PHP version (output: $output)."); } $this->version = $matches[1]; $this->cgi = strcasecmp($matches[2], 'g') === 0; $this->arguments = $args; $job = new Job(__DIR__ . '/info.php', $this, array('xdebug')); $job->run(); $this->xdebug = !$job->getExitCode(); } /** * @return string */ public function getCommandLine() { return $this->path . $this->arguments; } /** * @return string */ public function getVersion() { return $this->version; } /** * @return bool */ public function hasXdebug() { return $this->xdebug; } /** * @return bool */ public function isCgi() { return $this->cgi; } /** * @return string */ public function getErrorOutput() { return $this->error; } }
Crotin
Name
Size
Permissions
Modified
User/Group
CliTester.php
7971
0644
2016-04-10 10:31:43
Unknown/Unknown
CommandLine.php
4315
0644
2016-03-05 11:27:50
Unknown/Unknown
ZendPhpDbgInterpreter.php
1789
0644
2016-03-05 11:27:50
Unknown/Unknown
OutputHandler.php
299
0644
2016-03-05 11:27:49
Unknown/Unknown
ZendPhpInterpreter.php
1934
0644
2016-03-05 11:27:50
Unknown/Unknown
PhpInterpreter.php
442
0644
2016-03-05 11:27:49
Unknown/Unknown
TestHandler.php
6134
0644
2016-03-05 11:27:50
Unknown/Unknown
Runner.php
4196
0644
2016-03-05 11:27:48
Unknown/Unknown
info.php
984
0644
2016-03-05 11:27:50
Unknown/Unknown
Job.php
4009
0644
2016-03-05 11:27:48
Unknown/Unknown
Output
-
0755
2016-03-05 11:30:43
Unknown/Unknown
HhvmPhpInterpreter.php
2006
0644
2016-03-05 11:27:48
Unknown/Unknown
NGANU
Rename
Hapus
Chmod
Chown
Touch
Zip
Unzip
Download
Crotin