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('pass', function () { e..

Decoded Output download

<?php

use PHPUnit\Framework\ExpectationFailedException;

test('pass', function () {
    expect('lowercase')->toBeLowercase();
    expect('UPPERCASE')->not->toBeLowercase();
});

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

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

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

Did this file decode correctly?

Original Code

<?php

use PHPUnit\Framework\ExpectationFailedException;

test('pass', function () {
    expect('lowercase')->toBeLowercase();
    expect('UPPERCASE')->not->toBeLowercase();
});

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

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

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

Function Calls

None

Variables

None

Stats

MD5 3059ac23b26217cc8454c49aacd284d8
Eval Count 0
Decode Time 87 ms