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-- ReflectionClass::__toString() (constants) --FILE-- <?php class Foo { const te..

Decoded Output download

--TEST--
ReflectionClass::__toString() (constants)
--FILE--
<?php
class Foo {
    const test = "ok";
}
$class = new ReflectionClass("Foo");
echo $class;
?>
--EXPECTF--
Class [ <user> class Foo ] {
  @@ %s017.php 2-4

  - Constants [1] {
    Constant [ public string test ] { ok }
  }

  - Static properties [0] {
  }

  - Static methods [0] {
  }

  - Properties [0] {
  }

  - Methods [0] {
  }
}

Did this file decode correctly?

Original Code

--TEST--
ReflectionClass::__toString() (constants)
--FILE--
<?php
class Foo {
    const test = "ok";
}
$class = new ReflectionClass("Foo");
echo $class;
?>
--EXPECTF--
Class [ <user> class Foo ] {
  @@ %s017.php 2-4

  - Constants [1] {
    Constant [ public string test ] { ok }
  }

  - Static properties [0] {
  }

  - Static methods [0] {
  }

  - Properties [0] {
  }

  - Methods [0] {
  }
}

Function Calls

None

Variables

None

Stats

MD5 122f61117f9f4b68160cbc4b4a2801ff
Eval Count 0
Decode Time 102 ms