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\TestCase; /** * Tests for successful validation in OSR * ..
Decoded Output download
<?php
use \PHPUnit\Framework\TestCase;
/**
* Tests for successful validation in OSR
*
* @author Edward Nash <[email protected]>
*
* @copyright 2019 DVZ Datenverarbeitungszentrum M-V GmbH
*/
class OSR_2_ValidationTest1 extends TestCase
{
/**
* Test OSR_Validate() with success
*
* @depends OSR_1_ImportTest0::testOSR_ImportFromEPSG0
*/
public function testOSR_Validate1()
{
$hRef = OSR_NewSpatialReference();
OSR_ImportFromEPSG($hRef, 4326);
$this->assertSame(
OGRERR_NONE,
OSR_Validate($hRef),
"EPSG:4326 should validate"
);
}
}
?>
Did this file decode correctly?
Original Code
<?php
use \PHPUnit\Framework\TestCase;
/**
* Tests for successful validation in OSR
*
* @author Edward Nash <[email protected]>
*
* @copyright 2019 DVZ Datenverarbeitungszentrum M-V GmbH
*/
class OSR_2_ValidationTest1 extends TestCase
{
/**
* Test OSR_Validate() with success
*
* @depends OSR_1_ImportTest0::testOSR_ImportFromEPSG0
*/
public function testOSR_Validate1()
{
$hRef = OSR_NewSpatialReference();
OSR_ImportFromEPSG($hRef, 4326);
$this->assertSame(
OGRERR_NONE,
OSR_Validate($hRef),
"EPSG:4326 should validate"
);
}
}
Function Calls
None |
Stats
MD5 | abb4228866fe60dba6d316679d02a944 |
Eval Count | 0 |
Decode Time | 120 ms |