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 /** * @see https://github.com/zendframework/ZendSkeletonApplication for the c..

Decoded Output download

<?php
/**
 * @see       https://github.com/zendframework/ZendSkeletonApplication for the canonical source repository
 * @copyright Copyright (c) 2019 Zend Technologies USA Inc. (https://www.zend.com)
 * @license   https://github.com/zendframework/ZendSkeletonApplication/blob/master/LICENSE.md New BSD License
 */

$gitIgnore = sprintf('%s/.gitignore', realpath(dirname(__DIR__)));
$rules     = file_get_contents($gitIgnore);
$rules     = preg_replace("#[
]+composer.lock#s", '', $rules);
file_put_contents($gitIgnore, $rules);
unlink(__FILE__);
 ?>

Did this file decode correctly?

Original Code

<?php
/**
 * @see       https://github.com/zendframework/ZendSkeletonApplication for the canonical source repository
 * @copyright Copyright (c) 2019 Zend Technologies USA Inc. (https://www.zend.com)
 * @license   https://github.com/zendframework/ZendSkeletonApplication/blob/master/LICENSE.md New BSD License
 */

$gitIgnore = sprintf('%s/.gitignore', realpath(dirname(__DIR__)));
$rules     = file_get_contents($gitIgnore);
$rules     = preg_replace("#[\r\n]+composer.lock#s", '', $rules);
file_put_contents($gitIgnore, $rules);
unlink(__FILE__);

Function Calls

None

Variables

None

Stats

MD5 c8f1d213a2f657971bb4f9d04bba3bad
Eval Count 0
Decode Time 81 ms