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 namespace Phug\Util\Partial; use SplObjectStorage; /** * Class AssignmentTrait. ..

Decoded Output download

<?php

namespace Phug\Util\Partial;

use SplObjectStorage;

/**
 * Class AssignmentTrait.
 */
trait AssignmentTrait
{
    /**
     * @var SplObjectStorage
     */
    private $assignments = null;

    /**
     * @return SplObjectStorage
     */
    public function getAssignments()
    {
        if (!$this->assignments) {
            $this->assignments = new SplObjectStorage();
        }

        return $this->assignments;
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Phug\Util\Partial;

use SplObjectStorage;

/**
 * Class AssignmentTrait.
 */
trait AssignmentTrait
{
    /**
     * @var SplObjectStorage
     */
    private $assignments = null;

    /**
     * @return SplObjectStorage
     */
    public function getAssignments()
    {
        if (!$this->assignments) {
            $this->assignments = new SplObjectStorage();
        }

        return $this->assignments;
    }
}

Function Calls

None

Variables

None

Stats

MD5 e21a234525dd10d26a8536f498df1bee
Eval Count 0
Decode Time 101 ms