File "json-to-php.php"

Full Path: /home/siazco/grocery.siazco.se/wp-content/plugins/better-wp-security/core/packages/webpack/src/manifest/json-to-php.php
File size: 259 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

if ( 'cli' !== php_sapi_name() ) {
	die( 1 );
}

if ( ! isset( $argv[1] ) ) {
	die( 1 );
}

$json = $argv[1];

if ( ! $decoded = json_decode( $json, true ) ) {
	die( 1 );
}

ksort( $decoded );

fwrite( STDOUT, var_export( $decoded, true ) );
die( 0 );