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 namespace Widget\Metas\Category; use Typecho\Db\Exception; /** * Trait InitTreeR..

Decoded Output download

<?php

namespace Widget\Metas\Category;

use Typecho\Db\Exception;

/**
 * Trait InitTreeRowsTrait
 */
trait InitTreeRowsTrait
{
    /**
     * @return array
     * @throws Exception
     */
    protected function initTreeRows(): array
    {
        return $this->db->fetchAll($this->select()
            ->where('type = ?', 'category'));
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Widget\Metas\Category;

use Typecho\Db\Exception;

/**
 * Trait InitTreeRowsTrait
 */
trait InitTreeRowsTrait
{
    /**
     * @return array
     * @throws Exception
     */
    protected function initTreeRows(): array
    {
        return $this->db->fetchAll($this->select()
            ->where('type = ?', 'category'));
    }
}

Function Calls

None

Variables

None

Stats

MD5 4f012b926dcd91c3f536c126f3f8beec
Eval Count 0
Decode Time 103 ms