Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
--TEST-- phpunit --exclude-filter testOne --list-tests-xml php://stdout ../../_files/listi..
Decoded Output download
--TEST--
phpunit --exclude-filter testOne --list-tests-xml php://stdout ../../_files/listing-tests-and-groups
--FILE--
<?php declare(strict_types=1);
$_SERVER['argv'][] = '--do-not-cache-result';
$_SERVER['argv'][] = '--no-configuration';
$_SERVER['argv'][] = '--exclude-filter';
$_SERVER['argv'][] = 'testOne';
$_SERVER['argv'][] = '--list-tests-xml';
$_SERVER['argv'][] = 'php://stdout';
$_SERVER['argv'][] = __DIR__ . '/../../_files/listing-tests-and-groups';
require_once __DIR__ . '/../../../bootstrap.php';
(new PHPUnit\TextUI\Application)->run($_SERVER['argv']);
--EXPECTF--
PHPUnit %s by Sebastian Bergmann and contributors.
<?xml version="1.0"?>
<testSuite xmlns="https://xml.phpunit.de/testSuite">
<tests>
<testClass name="PHPUnit\TestFixture\ListingTestsAndGroups\ExampleTest" file="%sExampleTest.php">
<testMethod id="PHPUnit\TestFixture\ListingTestsAndGroups\ExampleTest::testTwo" name="testTwo"/>
</testClass>
</tests>
<groups>
<group name="two">
<test id="PHPUnit\TestFixture\ListingTestsAndGroups\ExampleTest::testTwo"/>
</group>
</groups>
</testSuite>%A
Did this file decode correctly?
Original Code
--TEST--
phpunit --exclude-filter testOne --list-tests-xml php://stdout ../../_files/listing-tests-and-groups
--FILE--
<?php declare(strict_types=1);
$_SERVER['argv'][] = '--do-not-cache-result';
$_SERVER['argv'][] = '--no-configuration';
$_SERVER['argv'][] = '--exclude-filter';
$_SERVER['argv'][] = 'testOne';
$_SERVER['argv'][] = '--list-tests-xml';
$_SERVER['argv'][] = 'php://stdout';
$_SERVER['argv'][] = __DIR__ . '/../../_files/listing-tests-and-groups';
require_once __DIR__ . '/../../../bootstrap.php';
(new PHPUnit\TextUI\Application)->run($_SERVER['argv']);
--EXPECTF--
PHPUnit %s by Sebastian Bergmann and contributors.
<?xml version="1.0"?>
<testSuite xmlns="https://xml.phpunit.de/testSuite">
<tests>
<testClass name="PHPUnit\TestFixture\ListingTestsAndGroups\ExampleTest" file="%sExampleTest.php">
<testMethod id="PHPUnit\TestFixture\ListingTestsAndGroups\ExampleTest::testTwo" name="testTwo"/>
</testClass>
</tests>
<groups>
<group name="two">
<test id="PHPUnit\TestFixture\ListingTestsAndGroups\ExampleTest::testTwo"/>
</group>
</groups>
</testSuite>%A
Function Calls
None |
Stats
MD5 | 14cf4123dd983ac6c3e93168c1326bc7 |
Eval Count | 0 |
Decode Time | 103 ms |