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 namespace BeyondCode\LaravelWebSockets\Test; class PingTest extends TestCase { ..

Decoded Output download

<?php

namespace BeyondCode\LaravelWebSockets\Test;

class PingTest extends TestCase
{
    public function test_ping_returns_pong()
    {
        $connection = $this->newActiveConnection(['public-channel']);

        $message = new Mocks\Message(['event' => 'pusher:ping']);

        $this->pusherServer->onMessage($connection, $message);

        $connection->assertSentEvent('pusher:pong');
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace BeyondCode\LaravelWebSockets\Test;

class PingTest extends TestCase
{
    public function test_ping_returns_pong()
    {
        $connection = $this->newActiveConnection(['public-channel']);

        $message = new Mocks\Message(['event' => 'pusher:ping']);

        $this->pusherServer->onMessage($connection, $message);

        $connection->assertSentEvent('pusher:pong');
    }
}

Function Calls

None

Variables

None

Stats

MD5 6bfeeedbc9f561e7f262b90a06c0ffc0
Eval Count 0
Decode Time 92 ms