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 /** * Test script to see if the ReturnObject extension works as it should * * ..
Decoded Output download
<?php
/**
* Test script to see if the ReturnObject extension works as it should
*
* @author Emiel Bruijntjes <[email protected]>
* @copyright 2015 Copernica BV
*/
/**
* Construct master object
* @var Master
*/
$master = new Master();
/**
* Construct derived child object
* @var Child
*/
$child1 = new Child();
/**
* Fetch the child object that is stored as member var in the master
* @var Child
*/
$child2 = $master->child();
/**
* Show output, expected is:
* this is the master
* this is the child
* this is the child
*/
echo(strval($master)."
");
echo(strval($child1)."
");
echo(strval($child2)."
");
?>
Did this file decode correctly?
Original Code
<?php
/**
* Test script to see if the ReturnObject extension works as it should
*
* @author Emiel Bruijntjes <[email protected]>
* @copyright 2015 Copernica BV
*/
/**
* Construct master object
* @var Master
*/
$master = new Master();
/**
* Construct derived child object
* @var Child
*/
$child1 = new Child();
/**
* Fetch the child object that is stored as member var in the master
* @var Child
*/
$child2 = $master->child();
/**
* Show output, expected is:
* this is the master
* this is the child
* this is the child
*/
echo(strval($master)."\n");
echo(strval($child1)."\n");
echo(strval($child2)."\n");
Function Calls
None |
Stats
MD5 | 6c205e67e5d1bfd3bff27de89c19b394 |
Eval Count | 0 |
Decode Time | 112 ms |