Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php use PHPUnit\Framework\Assert; use PHPUnit\Framework\BaseTestListener; use PHPUn..

Decoded Output download

<?php 
 
use PHPUnit\Framework\Assert; 
use PHPUnit\Framework\BaseTestListener; 
use PHPUnit\Framework\TestListener; 
use PHPUnit\Aaa; 
use PHPUnit\Aaa\Bbb; 
use PHPUnit\Aaa\Bbb\Ccc; 
use PHPUnit\Aaa\Bbb\Ccc\Ddd; 
use PHPUnit\Aaa\Bbb\Ccc\Ddd\Eee; 
 
class FooTest extends \PHPUnit\Framework\TestCase { 
	public function test_dedicate_assert($foo) { 
		$this->assertNull($foo); 
		$this->assertInternalType('array', $foo); 
		$this->assertNan($foo); 
		$this->assertIsReadable($foo); 
	} 
 
	/** 
	 * Foo. 
	 */ 
	function test_php_unit_no_expectation_annotation_32() 
	{ 
		$this->expectException(\FooException::class); 
		$this->expectExceptionCode(123); 
 
		bbb(); 
	} 
 
	/** 
	 * Foo. 
	 */ 
	function test_php_unit_no_expectation_annotation_43() 
	{ 
		$this->expectException(\FooException::class); 
		$this->expectExceptionMessageRegExp('/foo.*$/'); 
		$this->expectExceptionCode(123); 
 
		ccc(); 
	} 
 
	public function test_mock_54() 
	{ 
		$mock = $this->createMock("Foo"); 
	} 
 
	public function test_php_unit_expectation_52() { 
		$this->expectException("RuntimeException"); 
		$this->expectExceptionMessage("Msg"); 
		$this->expectExceptionCode(123); 
	} 
 
	public function test_php_unit_expectation_56() { 
		$this->expectException("RuntimeException"); 
		$this->expectExceptionMessageRegExp("/Msg.*/"); 
		$this->expectExceptionCode(123); 
	} 
} 
 ?>

Did this file decode correctly?

Original Code

<?php

use PHPUnit\Framework\Assert;
use PHPUnit\Framework\BaseTestListener;
use PHPUnit\Framework\TestListener;
use PHPUnit\Aaa;
use PHPUnit\Aaa\Bbb;
use PHPUnit\Aaa\Bbb\Ccc;
use PHPUnit\Aaa\Bbb\Ccc\Ddd;
use PHPUnit\Aaa\Bbb\Ccc\Ddd\Eee;

class FooTest extends \PHPUnit\Framework\TestCase {
	public function test_dedicate_assert($foo) {
		$this->assertNull($foo);
		$this->assertInternalType('array', $foo);
		$this->assertNan($foo);
		$this->assertIsReadable($foo);
	}

	/**
	 * Foo.
	 */
	function test_php_unit_no_expectation_annotation_32()
	{
		$this->expectException(\FooException::class);
		$this->expectExceptionCode(123);

		bbb();
	}

	/**
	 * Foo.
	 */
	function test_php_unit_no_expectation_annotation_43()
	{
		$this->expectException(\FooException::class);
		$this->expectExceptionMessageRegExp('/foo.*$/');
		$this->expectExceptionCode(123);

		ccc();
	}

	public function test_mock_54()
	{
		$mock = $this->createMock("Foo");
	}

	public function test_php_unit_expectation_52() {
		$this->expectException("RuntimeException");
		$this->expectExceptionMessage("Msg");
		$this->expectExceptionCode(123);
	}

	public function test_php_unit_expectation_56() {
		$this->expectException("RuntimeException");
		$this->expectExceptionMessageRegExp("/Msg.*/");
		$this->expectExceptionCode(123);
	}
}

Function Calls

None

Variables

None

Stats

MD5 16f5ca28109b88b2a60dc9a01a730539
Eval Count 0
Decode Time 88 ms