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::isFinal() method --CREDITS-- Felix De Vliegher <felix.devliegher..
Decoded Output download
--TEST--
ReflectionClass::isFinal() method
--CREDITS--
Felix De Vliegher <[email protected]>
#testfest roosendaal on 2008-05-10
--FILE--
<?php
class TestClass {}
final class TestFinalClass {}
$normalClass = new ReflectionClass('TestClass');
$finalClass = new ReflectionClass('TestFinalClass');
var_dump($normalClass->isFinal());
var_dump($finalClass->isFinal());
?>
--EXPECT--
bool(false)
bool(true)
Did this file decode correctly?
Original Code
--TEST--
ReflectionClass::isFinal() method
--CREDITS--
Felix De Vliegher <[email protected]>
#testfest roosendaal on 2008-05-10
--FILE--
<?php
class TestClass {}
final class TestFinalClass {}
$normalClass = new ReflectionClass('TestClass');
$finalClass = new ReflectionClass('TestFinalClass');
var_dump($normalClass->isFinal());
var_dump($finalClass->isFinal());
?>
--EXPECT--
bool(false)
bool(true)
Function Calls
None |
Stats
MD5 | 5f70dad4c1790ae0e8d8e262bf814a09 |
Eval Count | 0 |
Decode Time | 101 ms |