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

Signing you up...

Thank you for signing up!

PHP Decode

--TEST-- Glib\Source->destroy() --SKIPIF-- <?php include __DIR__ . '/../skipif.inc'; ?>..

Decoded Output download

--TEST-- 
Glib\Source->destroy() 
--SKIPIF-- 
<?php include __DIR__ . '/../skipif.inc'; ?> 
--FILE-- 
<?php 
declare(strict_types=1); 
use Glib\Source; 
 
include __DIR__ . '/source_test.inc'; 
 
$object = new test(); 
 
$object->destroy(); 
 
// error with wrong args 
try { 
    $object->destroy(false); 
} catch (TypeError $e) { 
	echo $e->getMessage(), PHP_EOL; 
} 
?> 
--EXPECT-- 
Glib\Source::destroy() expects exactly 0 parameters, 1 given

Did this file decode correctly?

Original Code

--TEST--
Glib\Source->destroy()
--SKIPIF--
<?php include __DIR__ . '/../skipif.inc'; ?>
--FILE--
<?php
declare(strict_types=1);
use Glib\Source;

include __DIR__ . '/source_test.inc';

$object = new test();

$object->destroy();

// error with wrong args
try {
    $object->destroy(false);
} catch (TypeError $e) {
	echo $e->getMessage(), PHP_EOL;
}
?>
--EXPECT--
Glib\Source::destroy() expects exactly 0 parameters, 1 given

Function Calls

None

Variables

None

Stats

MD5 4d0f7411f77235550b983bf8779ca157
Eval Count 0
Decode Time 102 ms