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-- Bug #66509 (copy() showing $context parameter as required) --FILE-- <?php $r = n..

Decoded Output download

--TEST--
Bug #66509 (copy() showing $context parameter as required)
--FILE--
<?php

$r = new \ReflectionFunction('copy');

foreach($r->getParameters() as $p) {
    var_dump($p->isOptional());
}
?>
--EXPECT--
bool(false)
bool(false)
bool(true)

Did this file decode correctly?

Original Code

--TEST--
Bug #66509 (copy() showing $context parameter as required)
--FILE--
<?php

$r = new \ReflectionFunction('copy');

foreach($r->getParameters() as $p) {
    var_dump($p->isOptional());
}
?>
--EXPECT--
bool(false)
bool(false)
bool(true)

Function Calls

None

Variables

None

Stats

MD5 ff6fc9b63aa011aaf9ec751aca8c6e14
Eval Count 0
Decode Time 93 ms