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-- Testing ReflectionClass::isCloneable() with non instantiable objects --FILE-- <?p..

Decoded Output download

--TEST--
Testing ReflectionClass::isCloneable() with non instantiable objects
--FILE--
<?php

trait foo {
}
$obj = new ReflectionClass('foo');
var_dump($obj->isCloneable());

abstract class bar {
}
$obj = new ReflectionClass('bar');
var_dump($obj->isCloneable());

interface baz {
}
$obj = new ReflectionClass('baz');
var_dump($obj->isCloneable());

?>
--EXPECT--
bool(false)
bool(false)
bool(false)

Did this file decode correctly?

Original Code

--TEST--
Testing ReflectionClass::isCloneable() with non instantiable objects
--FILE--
<?php

trait foo {
}
$obj = new ReflectionClass('foo');
var_dump($obj->isCloneable());

abstract class bar {
}
$obj = new ReflectionClass('bar');
var_dump($obj->isCloneable());

interface baz {
}
$obj = new ReflectionClass('baz');
var_dump($obj->isCloneable());

?>
--EXPECT--
bool(false)
bool(false)
bool(false)

Function Calls

None

Variables

None

Stats

MD5 bb725968cd8bd2b879154532c6c88aad
Eval Count 0
Decode Time 67 ms