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 TestTagOnMethodIgnoredInTestNamespace { us..

Decoded Output download

<?php

declare(strict_types=1);

namespace TestTagOnMethodIgnoredInTestNamespace {

    use DaveLiddament\PhpLanguageExtensions\TestTag;

    class Person
    {
        #[TestTag]
        public function updateName(): void
        {
        }

    }
}

namespace TestTagOnMethodIgnoredInTestNamespace\Test {

    use TestTagOnMethodIgnoredInTestNamespace\Person;

    class PersonUpdater
    {
        public function updater(Person $person): void
        {
            $person->updateName(); // OK - Called from Test namespace
        }
    }
}

 ?>

Did this file decode correctly?

Original Code

<?php

declare(strict_types=1);

namespace TestTagOnMethodIgnoredInTestNamespace {

    use DaveLiddament\PhpLanguageExtensions\TestTag;

    class Person
    {
        #[TestTag]
        public function updateName(): void
        {
        }

    }
}

namespace TestTagOnMethodIgnoredInTestNamespace\Test {

    use TestTagOnMethodIgnoredInTestNamespace\Person;

    class PersonUpdater
    {
        public function updater(Person $person): void
        {
            $person->updateName(); // OK - Called from Test namespace
        }
    }
}

Function Calls

None

Variables

None

Stats

MD5 61ad62ff05c331170d25d2e08f27feaf
Eval Count 0
Decode Time 93 ms