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 /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@..

Decoded Output download

<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\RemoteEvent\Tests\Event\Sms;

use PHPUnit\Framework\TestCase;
use Symfony\Component\RemoteEvent\Event\Sms\SmsEvent;

class SmsEventTest extends TestCase
{
    public function testPhone()
    {
        $event = new SmsEvent('name', 'id', []);
        $event->setRecipientPhone($phone = '0102030405');
        $this->assertSame($phone, $event->getRecipientPhone());
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\RemoteEvent\Tests\Event\Sms;

use PHPUnit\Framework\TestCase;
use Symfony\Component\RemoteEvent\Event\Sms\SmsEvent;

class SmsEventTest extends TestCase
{
    public function testPhone()
    {
        $event = new SmsEvent('name', 'id', []);
        $event->setRecipientPhone($phone = '0102030405');
        $this->assertSame($phone, $event->getRecipientPhone());
    }
}

Function Calls

None

Variables

None

Stats

MD5 e7f16786ced8cf5b10d7f1842f286969
Eval Count 0
Decode Time 133 ms