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-- ReflectionObject::getFileName(), ReflectionObject::getStartLine(), ReflectionObje..
Decoded Output download
--TEST--
ReflectionObject::getFileName(), ReflectionObject::getStartLine(), ReflectionObject::getEndLine() - basic function
--FILE--
<?php
$rc = new ReflectionObject(new C);
var_dump($rc->getFileName());
var_dump($rc->getStartLine());
var_dump($rc->getEndLine());
$rc = new ReflectionObject(new stdclass);
var_dump($rc->getFileName());
var_dump($rc->getStartLine());
var_dump($rc->getEndLine());
Class C {
}
?>
--EXPECTF--
string(%d) "%sReflectionObject_FileInfo_basic.php"
int(12)
int(14)
bool(false)
bool(false)
bool(false)
Did this file decode correctly?
Original Code
--TEST--
ReflectionObject::getFileName(), ReflectionObject::getStartLine(), ReflectionObject::getEndLine() - basic function
--FILE--
<?php
$rc = new ReflectionObject(new C);
var_dump($rc->getFileName());
var_dump($rc->getStartLine());
var_dump($rc->getEndLine());
$rc = new ReflectionObject(new stdclass);
var_dump($rc->getFileName());
var_dump($rc->getStartLine());
var_dump($rc->getEndLine());
Class C {
}
?>
--EXPECTF--
string(%d) "%sReflectionObject_FileInfo_basic.php"
int(12)
int(14)
bool(false)
bool(false)
bool(false)
Function Calls
None |
Stats
MD5 | 21554fb0a54423390584e855a256bd59 |
Eval Count | 0 |
Decode Time | 68 ms |