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 class StateFreeTest extends PHPUnit_Framework_TestCase { public function testStat..
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?
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));
}
}
Function Calls
None |
Stats
MD5 | 5a894c0293a829d3af478c7df99c4ab7 |
Eval Count | 0 |
Decode Time | 83 ms |