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 Spatie\MediaLibrary\Tests\TestSupport\TestFileNamer; beforeEach(function () { ..

Decoded Output download

<?php

use Spatie\MediaLibrary\Tests\TestSupport\TestFileNamer;

beforeEach(function () {
    config()->set('media-library.file_namer', TestFileNamer::class);

    $this->fileName = 'prefix_test_suffix';
    $this->fileNameWithUnderscore = 'prefix_test__suffix';
});
 ?>

Did this file decode correctly?

Original Code

<?php

use Spatie\MediaLibrary\Tests\TestSupport\TestFileNamer;

beforeEach(function () {
    config()->set('media-library.file_namer', TestFileNamer::class);

    $this->fileName = 'prefix_test_suffix';
    $this->fileNameWithUnderscore = 'prefix_test__suffix';
});

Function Calls

None

Variables

None

Stats

MD5 ef7f1ba6954abe9d6cd70b75c22c6a17
Eval Count 0
Decode Time 117 ms