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 declare(strict_types=1); use Migrations\AbstractMigration; class V3120DropActionLo..

Decoded Output download

<?php
declare(strict_types=1);

use Migrations\AbstractMigration;

class V3120DropActionLogsDuplicateIndexes extends AbstractMigration
{
    /**
     * Change Method.
     *
     * More information on this method is available here:
     * https://book.cakephp.org/phinx/0/en/migrations.html#the-change-method
     * @return void
     */
    public function change()
    {

        $this->table('action_logs')
            ->removeIndex([
                'user_id', 'action_id', 'status'
            ])
            ->removeIndex([
                'action_id',
            ])
            ->save();
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php
declare(strict_types=1);

use Migrations\AbstractMigration;

class V3120DropActionLogsDuplicateIndexes extends AbstractMigration
{
    /**
     * Change Method.
     *
     * More information on this method is available here:
     * https://book.cakephp.org/phinx/0/en/migrations.html#the-change-method
     * @return void
     */
    public function change()
    {

        $this->table('action_logs')
            ->removeIndex([
                'user_id', 'action_id', 'status'
            ])
            ->removeIndex([
                'action_id',
            ])
            ->save();
    }
}

Function Calls

None

Variables

None

Stats

MD5 5c70f0e1814505bc4b71f165a14cfd5e
Eval Count 0
Decode Time 99 ms