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-- Bug #69201 (Memory leak using iterator and get by reference on PHP 7) --FILE-- <?..

Decoded Output download

--TEST--
Bug #69201 (Memory leak using iterator and get by reference on PHP 7)
--FILE--
<?php
class Entity
{

    protected $_properties = [];

    public function &__get($property)
    {
        $value = null;
        return $value;
    }

    public function __set($property, $value)
    {
    }
}

$e = new Entity;

$e->a += 1;
echo "okey";
?>
--EXPECT--
okey

Did this file decode correctly?

Original Code

--TEST--
Bug #69201 (Memory leak using iterator and get by reference on PHP 7)
--FILE--
<?php
class Entity
{

    protected $_properties = [];

    public function &__get($property)
    {
        $value = null;
        return $value;
    }

    public function __set($property, $value)
    {
    }
}

$e = new Entity;

$e->a += 1;
echo "okey";
?>
--EXPECT--
okey

Function Calls

None

Variables

None

Stats

MD5 c85fb7ea3425269ce211abc60f9edbc7
Eval Count 0
Decode Time 79 ms