Decoded Output
Download<?php
class StateFreeTest extends PHPUnit_Framework_TestCase
{
public function
testStateFreeValid ()
{
$state = smbclient_state_new();
$this->assertTrue(smbclient_state_free($state));
}
/**
* @expectedException PHPUnit_Framework_Error_Warning
*/
public function
testStateFreeEmpty ()
{
$this->assertFalse(smbclient_state_free());
}
/**
* @expectedException PHPUnit_Framework_Error_Warning
*/
public function
testStateFreeNull ()
{
$this->assertFalse(smbclient_state_free(null));
}
/**
* @expectedException PHPUnit_Framework_Error_Warning
*/
public function
testStateFreeDouble ()
{
$state = smbclient_state_new();
$this->assertTrue(smbclient_state_free($state));
$this->assertFalse(smbclient_state_free($state));
}
}
?>
Did this file decode correctly?
How would you describe this file?
Thank you for your feedback! This will help us detect malicious PHP files more accurately in the future.
Function Calls
None
Variables
None
Stats
| MD5 | 5a894c0293a829d3 |
|---|---|
| Eval Count | 0 |
| Decode Time | 83 ms |
Original Code
<?php
class StateFreeTest extends PHPUnit_Framework_TestCase
{
public function
testStateFreeValid ()
{
$state = smbclient_state_new();
$this->assertTrue(smbclient_state_free($state));
}
/**
* @expectedException PHPUnit_Framework_Error_Warning
*/
public function
testStateFreeEmpty ()
{
$this->assertFalse(smbclient_state_free());
}
/**
* @expectedException PHPUnit_Framework_Error_Warning
*/
public function
testStateFreeNull ()
{
$this->assertFalse(smbclient_state_free(null));
}
/**
* @expectedException PHPUnit_Framework_Error_Warning
*/
public function
testStateFreeDouble ()
{
$state = smbclient_state_new();
$this->assertTrue(smbclient_state_free($state));
$this->assertFalse(smbclient_state_free($state));
}
}