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 Zephir\Test; class ZephirParserTest extends \PHPUnit_Framework_TestCase ..

Decoded Output download

<?php

namespace Zephir\Test;

class ZephirParserTest extends \PHPUnit_Framework_TestCase
{
    /**
     * @expectedException PHPUnit_Framework_Error_Warning
     */
    public function testWithoutArguments()
    {
        zephir_parse_file();
    }

    public function testFile()
    {
        $this->assertNull(zephir_parse_file(__DIR__ . '/fixtures/EmptyFile.zep'));
        $this->assertNotEmpty(zephir_parse_file(__DIR__ . '/fixtures/EmptyClass.zep'));
        $this->assertNotEmpty(zephir_parse_file(__DIR__ . '/fixtures/ClassWithMethod.zep'));
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Zephir\Test;

class ZephirParserTest extends \PHPUnit_Framework_TestCase
{
    /**
     * @expectedException PHPUnit_Framework_Error_Warning
     */
    public function testWithoutArguments()
    {
        zephir_parse_file();
    }

    public function testFile()
    {
        $this->assertNull(zephir_parse_file(__DIR__ . '/fixtures/EmptyFile.zep'));
        $this->assertNotEmpty(zephir_parse_file(__DIR__ . '/fixtures/EmptyClass.zep'));
        $this->assertNotEmpty(zephir_parse_file(__DIR__ . '/fixtures/ClassWithMethod.zep'));
    }
}

Function Calls

None

Variables

None

Stats

MD5 196e12a5a20098ed63663d0cbcdecf36
Eval Count 0
Decode Time 75 ms