Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php declare (strict_types=1); namespace Rector\Symfony\NodeAnalyzer; use PhpParser\Nod..
Decoded Output download
<?php
declare (strict_types=1);
namespace Rector\Symfony\NodeAnalyzer;
use PhpParser\Node\Expr\Array_;
use PhpParser\Node\Expr\MethodCall;
final class FormOptionsArrayMatcher
{
public function match(MethodCall $methodCall) : ?Array_
{
if (!isset($methodCall->getArgs()[2])) {
return null;
}
$optionsArray = $methodCall->getArgs()[2]->value;
if (!$optionsArray instanceof Array_) {
return null;
}
return $optionsArray;
}
}
?>
Did this file decode correctly?
Original Code
<?php
declare (strict_types=1);
namespace Rector\Symfony\NodeAnalyzer;
use PhpParser\Node\Expr\Array_;
use PhpParser\Node\Expr\MethodCall;
final class FormOptionsArrayMatcher
{
public function match(MethodCall $methodCall) : ?Array_
{
if (!isset($methodCall->getArgs()[2])) {
return null;
}
$optionsArray = $methodCall->getArgs()[2]->value;
if (!$optionsArray instanceof Array_) {
return null;
}
return $optionsArray;
}
}
Function Calls
None |
Stats
MD5 | b9e4e0a7b62dd5f85749e82ea394b18d |
Eval Count | 0 |
Decode Time | 79 ms |