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-- TestDox: Test triggers notice and --display-notices is not used --FILE-- <?php de..
Decoded Output download
--TEST--
TestDox: Test triggers notice and --display-notices is not used
--FILE--
<?php declare(strict_types=1);
$_SERVER['argv'][] = '--do-not-cache-result';
$_SERVER['argv'][] = '--no-configuration';
$_SERVER['argv'][] = '--no-progress';
$_SERVER['argv'][] = '--testdox';
$_SERVER['argv'][] = '--colors=never';
$_SERVER['argv'][] = __DIR__ . '/_files/NoticeTest.php';
require_once __DIR__ . '/../../bootstrap.php';
(new PHPUnit\TextUI\Application)->run($_SERVER['argv']);
--EXPECTF--
PHPUnit %s by Sebastian Bergmann and contributors.
Runtime: %s
Time: %s, Memory: %s
Notice (PHPUnit\TestFixture\TestDox\Notice)
Notice
OK, but there were issues!
Tests: 1, Assertions: 1, Notices: 1.
?>
Did this file decode correctly?
Original Code
--TEST--
TestDox: Test triggers notice and --display-notices is not used
--FILE--
<?php declare(strict_types=1);
$_SERVER['argv'][] = '--do-not-cache-result';
$_SERVER['argv'][] = '--no-configuration';
$_SERVER['argv'][] = '--no-progress';
$_SERVER['argv'][] = '--testdox';
$_SERVER['argv'][] = '--colors=never';
$_SERVER['argv'][] = __DIR__ . '/_files/NoticeTest.php';
require_once __DIR__ . '/../../bootstrap.php';
(new PHPUnit\TextUI\Application)->run($_SERVER['argv']);
--EXPECTF--
PHPUnit %s by Sebastian Bergmann and contributors.
Runtime: %s
Time: %s, Memory: %s
Notice (PHPUnit\TestFixture\TestDox\Notice)
Notice
OK, but there were issues!
Tests: 1, Assertions: 1, Notices: 1.
Function Calls
None |
Stats
MD5 | 892d849e2fb61bab5330b9d49d629f4b |
Eval Count | 0 |
Decode Time | 93 ms |