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 App\Models\Currency; use Illuminate\Database\Migrations\Migration; return new ..
Decoded Output download
<?php
use App\Models\Currency;
use Illuminate\Database\Migrations\Migration;
return new class extends Migration {
/**
* Run the migrations.
*/
public function up(): void
{
$cur = Currency::find(119);
if(!$cur) {
$cur = new \App\Models\Currency();
$cur->id = 119;
$cur->code = 'MGA';
$cur->name = 'Malagasy ariary';
$cur->symbol = 'Ar';
$cur->thousand_separator = ',';
$cur->decimal_separator = '.';
$cur->precision = 0;
$cur->save();
}
}
/**
* Reverse the migrations.
*/
public function down(): void
{
//
}
};
?>
Did this file decode correctly?
Original Code
<?php
use App\Models\Currency;
use Illuminate\Database\Migrations\Migration;
return new class extends Migration {
/**
* Run the migrations.
*/
public function up(): void
{
$cur = Currency::find(119);
if(!$cur) {
$cur = new \App\Models\Currency();
$cur->id = 119;
$cur->code = 'MGA';
$cur->name = 'Malagasy ariary';
$cur->symbol = 'Ar';
$cur->thousand_separator = ',';
$cur->decimal_separator = '.';
$cur->precision = 0;
$cur->save();
}
}
/**
* Reverse the migrations.
*/
public function down(): void
{
//
}
};
Function Calls
None |
Stats
MD5 | 8e16d25027f9ee356625ba00274a8233 |
Eval Count | 0 |
Decode Time | 137 ms |