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 and Traits --FILE-- <?php abstract class foo { } trait bar { }..
Decoded Output download
--TEST--
ReflectionClass and Traits
--FILE--
<?php
abstract class foo {
}
trait bar {
}
echo new ReflectionClass('foo'), "
";
echo new ReflectionClass('bar'), "
";
?>
--EXPECTF--
Class [ <user> abstract class foo ] {
@@ %s 3-4
- Constants [0] {
}
- Static properties [0] {
}
- Static methods [0] {
}
- Properties [0] {
}
- Methods [0] {
}
}
Trait [ <user> trait bar ] {
@@ %s 6-8
- Constants [0] {
}
- Static properties [0] {
}
- Static methods [0] {
}
- Properties [0] {
}
- Methods [0] {
}
}
Did this file decode correctly?
Original Code
--TEST--
ReflectionClass and Traits
--FILE--
<?php
abstract class foo {
}
trait bar {
}
echo new ReflectionClass('foo'), "\n";
echo new ReflectionClass('bar'), "\n";
?>
--EXPECTF--
Class [ <user> abstract class foo ] {
@@ %s 3-4
- Constants [0] {
}
- Static properties [0] {
}
- Static methods [0] {
}
- Properties [0] {
}
- Methods [0] {
}
}
Trait [ <user> trait bar ] {
@@ %s 6-8
- Constants [0] {
}
- Static properties [0] {
}
- Static methods [0] {
}
- Properties [0] {
}
- Methods [0] {
}
}
Function Calls
None |
Stats
MD5 | e41d6115f39ba7947ea0939f8cb69610 |
Eval Count | 0 |
Decode Time | 65 ms |