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 namespace Vendor\Package; use FooInterfaceA; use FooInterfaceB; use BarClass a..

Decoded Output download

<?php 
namespace Vendor\Package; 
 
use FooInterfaceA; 
use FooInterfaceB; 
use BarClass as Bar; 
use OtherVendor\OtherPackage\BazClass; 
 
class Foo extends Bar implements FooInterface 
{ 
	public $aaa = 1; 
	public $bbb = 2; 
 
	public function sampleFunction($a, $arg1, $arg2, $arg3, $foo, $b = null) 
	{ 
		if ($a === $b) { 
			bar(); 
		} elseif ($a > $b) { 
			$foo->bar($arg1); 
		} else { 
			BazClass::bar($arg2, $arg3); 
		} 
	} 
 
	final public static function bar() 
	{ 
		// method body 
	} 
} 
 
class Aaa implements 
	Bbb, 
	Ccc, 
	Ddd 
{ 
} 
 ?>

Did this file decode correctly?

Original Code

<?php
namespace Vendor\Package;

use FooInterfaceA;
use FooInterfaceB;
use BarClass as Bar;
use OtherVendor\OtherPackage\BazClass;

class Foo extends Bar implements FooInterface
{
	public $aaa = 1;
	public $bbb = 2;

	public function sampleFunction($a, $arg1, $arg2, $arg3, $foo, $b = null)
	{
		if ($a === $b) {
			bar();
		} elseif ($a > $b) {
			$foo->bar($arg1);
		} else {
			BazClass::bar($arg2, $arg3);
		}
	}

	final public static function bar()
	{
		// method body
	}
}

class Aaa implements
	Bbb,
	Ccc,
	Ddd
{
}

Function Calls

None

Variables

None

Stats

MD5 577166440ba76a6dc5a643944e184ed2
Eval Count 0
Decode Time 153 ms