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 NamespaceVisibilityRulesIgnoredForTestClass { ..
Decoded Output download
<?php
declare(strict_types=1);
namespace NamespaceVisibilityRulesIgnoredForTestClass {
use DaveLiddament\PhpLanguageExtensions\NamespaceVisibility;
#[NamespaceVisibility]
class Person
{
public function updateName(): void
{
}
}
}
namespace NamespaceVisibilityRulesIgnoredForTestClass\Person {
use NamespaceVisibilityRulesIgnoredForTestClass\Person;
class PersonTest
{
public function updater(Person $person): void
{
$person->updateName(); // OK: calling from a class with a name ending Test
}
}
}
?>
Did this file decode correctly?
Original Code
<?php
declare(strict_types=1);
namespace NamespaceVisibilityRulesIgnoredForTestClass {
use DaveLiddament\PhpLanguageExtensions\NamespaceVisibility;
#[NamespaceVisibility]
class Person
{
public function updateName(): void
{
}
}
}
namespace NamespaceVisibilityRulesIgnoredForTestClass\Person {
use NamespaceVisibilityRulesIgnoredForTestClass\Person;
class PersonTest
{
public function updater(Person $person): void
{
$person->updateName(); // OK: calling from a class with a name ending Test
}
}
}
Function Calls
None |
Stats
MD5 | 98a325afb4b2b8d545dd345e9f9d6fb8 |
Eval Count | 0 |
Decode Time | 92 ms |