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 Illuminate\Tests\Testing\Stubs; use Illuminate\Contracts\Support\Arrayab..

Decoded Output download

<?php

namespace Illuminate\Tests\Testing\Stubs;

use Illuminate\Contracts\Support\Arrayable;

class ArrayableStubObject implements Arrayable
{
    protected $data;

    public function __construct($data = [])
    {
        $this->data = $data;
    }

    public static function make($data = [])
    {
        return new self($data);
    }

    public function toArray()
    {
        return $this->data;
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Illuminate\Tests\Testing\Stubs;

use Illuminate\Contracts\Support\Arrayable;

class ArrayableStubObject implements Arrayable
{
    protected $data;

    public function __construct($data = [])
    {
        $this->data = $data;
    }

    public static function make($data = [])
    {
        return new self($data);
    }

    public function toArray()
    {
        return $this->data;
    }
}

Function Calls

None

Variables

None

Stats

MD5 e0a9d86dffefc39c7ab04e57ef352a7c
Eval Count 0
Decode Time 108 ms