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 use PHPUnit\Framework\ExpectationFailedException; test('strict comparisons', funct..

Decoded Output download

<?php

use PHPUnit\Framework\ExpectationFailedException;

test('strict comparisons', function () {
    expect(false)->toBeFalse();
});

test('failures', function () {
    expect('')->toBeFalse();
})->throws(ExpectationFailedException::class);

test('failures with custom message', function () {
    expect('')->toBeFalse('oh no!');
})->throws(ExpectationFailedException::class, 'oh no!');

test('not failures', function () {
    expect(false)->not->toBe(false);
})->throws(ExpectationFailedException::class);
 ?>

Did this file decode correctly?

Original Code

<?php

use PHPUnit\Framework\ExpectationFailedException;

test('strict comparisons', function () {
    expect(false)->toBeFalse();
});

test('failures', function () {
    expect('')->toBeFalse();
})->throws(ExpectationFailedException::class);

test('failures with custom message', function () {
    expect('')->toBeFalse('oh no!');
})->throws(ExpectationFailedException::class, 'oh no!');

test('not failures', function () {
    expect(false)->not->toBe(false);
})->throws(ExpectationFailedException::class);

Function Calls

None

Variables

None

Stats

MD5 c25a413dd7f91a5982c880b0d02f9fd1
Eval Count 0
Decode Time 89 ms