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 Magento\Framework\DB\Adapter; use Magento\Framework\DB\Ddl\Table; interfa..

Decoded Output download

<?php
 namespace Magento\Framework\DB\Adapter; use Magento\Framework\DB\Ddl\Table; interface AdapterInterface { const INDEX_TYPE_PRIMARY = "primary"; const INDEX_TYPE_UNIQUE = "unique"; const INDEX_TYPE_INDEX = "index"; const INDEX_TYPE_FULLTEXT = "fulltext"; const FK_ACTION_CASCADE = "CASCADE"; const FK_ACTION_SET_NULL = "SET NULL"; const FK_ACTION_NO_ACTION = "NO ACTION"; const FK_ACTION_RESTRICT = "RESTRICT"; const FK_ACTION_SET_DEFAULT = "SET DEFAULT"; const INSERT_ON_DUPLICATE = 1; const INSERT_IGNORE = 2; const REPLACE = 4; const ISO_DATE_FORMAT = "yyyy-MM-dd"; const ISO_DATETIME_FORMAT = "yyyy-MM-dd HH-mm-ss"; const INTERVAL_SECOND = "SECOND"; const INTERVAL_MINUTE = "MINUTES"; const INTERVAL_HOUR = "HOURS"; const INTERVAL_DAY = "DAYS"; const INTERVAL_MONTH = "MONTHS"; const INTERVAL_YEAR = "YEARS"; const ERROR_DDL_MESSAGE = "DDL statements are not allowed in transactions"; const ERROR_ROLLBACK_INCOMPLETE_MESSAGE = "Rolled back transaction has not been completed correctly."; const ERROR_ASYMMETRIC_ROLLBACK_MESSAGE = "Asymmetric transaction rollback."; const ERROR_ASYMMETRIC_COMMIT_MESSAGE = "Asymmetric transaction commit."; public function beginTransaction(); public function commit(); public function rollBack(); public function newTable($tableName = null, $schemaName = null); public function createTable(Table $table); public function dropTable($tableName, $schemaName = null); public function createTemporaryTable(Table $table); public function createTemporaryTableLike($temporaryTableName, $originTableName, $ifNotExists = false); public function dropTemporaryTable($tableName, $schemaName = null); public function renameTablesBatch(array $tablePairs); public function truncateTable($tableName, $schemaName = null); public function isTableExists($tableName, $schemaName = null); public function showTableStatus($tableName, $schemaName = null); public function describeTable($tableName, $schemaName = null); public function createTableByDdl($tableName, $newTableName); public function modifyColumnByDdl($tableName, $columnName, $definition, $flushData = false, $schemaName = null); public function renameTable($oldTableName, $newTableName, $schemaName = null); public function addColumn($tableName, $columnName, $definition, $schemaName = null); public function changeColumn($tableName, $oldColumnName, $newColumnName, $definition, $flushData = false, $schemaName = null); public function modifyColumn($tableName, $columnName, $definition, $flushData = false, $schemaName = null); public function dropColumn($tableName, $columnName, $schemaName = null); public function tableColumnExists($tableName, $columnName, $schemaName = null); public function addIndex($tableName, $indexName, $fields, $indexType = self::INDEX_TYPE_INDEX, $schemaName = null); public function dropIndex($tableName, $keyName, $schemaName = null); public function getIndexList($tableName, $schemaName = null); public function addForeignKey($fkName, $tableName, $columnName, $refTableName, $refColumnName, $onDelete = self::FK_ACTION_CASCADE, $purge = false, $schemaName = null, $refSchemaName = null); public function dropForeignKey($tableName, $fkName, $schemaName = null); public function getForeignKeys($tableName, $schemaName = null); public function select(); public function insertOnDuplicate($table, array $data, array $fields = array()); public function insertMultiple($table, array $data); public function insertArray($table, array $columns, array $data); public function insert($table, array $bind); public function insertForce($table, array $bind); public function update($table, array $bind, $where = ''); public function delete($table, $where = ''); public function query($sql, $bind = array()); public function fetchAll($sql, $bind = array(), $fetchMode = null); public function fetchRow($sql, $bind = array(), $fetchMode = null); public function fetchAssoc($sql, $bind = array()); public function fetchCol($sql, $bind = array()); public function fetchPairs($sql, $bind = array()); public function fetchOne($sql, $bind = array()); public function quote($value, $type = null); public function quoteInto($text, $value, $type = null, $count = null); public function quoteIdentifier($ident, $auto = false); public function quoteColumnAs($ident, $alias, $auto = false); public function quoteTableAs($ident, $alias = null, $auto = false); public function formatDate($date, $includeTime = true); public function startSetup(); public function endSetup(); public function setCacheAdapter(\Magento\Framework\Cache\FrontendInterface $cacheAdapter); public function allowDdlCache(); public function disallowDdlCache(); public function resetDdlCache($tableName = null, $schemaName = null); public function saveDdlCache($tableCacheKey, $ddlType, $data); public function loadDdlCache($tableCacheKey, $ddlType); public function prepareSqlCondition($fieldName, $condition); public function prepareColumnValue(array $column, $value); public function getCheckSql($condition, $true, $false); public function getIfNullSql($expression, $value = 0); public function getConcatSql(array $data, $separator = null); public function getLengthSql($string); public function getLeastSql(array $data); public function getGreatestSql(array $data); public function getDateAddSql($date, $interval, $unit); public function getDateSubSql($date, $interval, $unit); public function getDateFormatSql($date, $format); public function getDatePartSql($date); public function getSubstringSql($stringExpression, $pos, $len = null); public function getStandardDeviationSql($expressionField); public function getDateExtractSql($date, $unit); public function getTableName($tableName); public function getTriggerName($tableName, $time, $event); public function getIndexName($tableName, $fields, $indexType = ''); public function getForeignKeyName($priTableName, $priColumnName, $refTableName, $refColumnName); public function disableTableKeys($tableName, $schemaName = null); public function enableTableKeys($tableName, $schemaName = null); public function insertFromSelect(\Magento\Framework\DB\Select $select, $table, array $fields = array(), $mode = false); public function selectsByRange($rangeField, \Magento\Framework\DB\Select $select, $stepCount = 100); public function updateFromSelect(\Magento\Framework\DB\Select $select, $table); public function deleteFromSelect(\Magento\Framework\DB\Select $select, $table); public function getTablesChecksum($tableNames, $schemaName = null); public function supportStraightJoin(); public function orderRand(\Magento\Framework\DB\Select $select, $field = null); public function forUpdate($sql); public function getPrimaryKeyName($tableName, $schemaName = null); public function decodeVarbinary($value); public function getTransactionLevel(); public function createTrigger(\Magento\Framework\DB\Ddl\Trigger $trigger); public function dropTrigger($triggerName, $schemaName = null); public function getTables($likeCondition = null); public function getCaseSql($valueName, $casesResults, $defaultValue = null); public function getAutoIncrementField($tableName, $schemaName = null); } ?>

Did this file decode correctly?

Original Code

<?php
 namespace Magento\Framework\DB\Adapter; use Magento\Framework\DB\Ddl\Table; interface AdapterInterface { const INDEX_TYPE_PRIMARY = "\x70\x72\151\x6d\141\x72\171"; const INDEX_TYPE_UNIQUE = "\x75\x6e\151\x71\x75\145"; const INDEX_TYPE_INDEX = "\x69\x6e\144\x65\170"; const INDEX_TYPE_FULLTEXT = "\146\165\x6c\154\x74\145\170\x74"; const FK_ACTION_CASCADE = "\x43\101\x53\x43\101\x44\x45"; const FK_ACTION_SET_NULL = "\x53\105\x54\40\116\x55\114\114"; const FK_ACTION_NO_ACTION = "\x4e\x4f\x20\x41\103\x54\111\117\x4e"; const FK_ACTION_RESTRICT = "\122\105\123\x54\x52\x49\103\124"; const FK_ACTION_SET_DEFAULT = "\x53\105\x54\40\x44\x45\x46\101\125\x4c\x54"; const INSERT_ON_DUPLICATE = 1; const INSERT_IGNORE = 2; const REPLACE = 4; const ISO_DATE_FORMAT = "\x79\171\171\171\55\x4d\115\55\144\x64"; const ISO_DATETIME_FORMAT = "\171\x79\x79\x79\55\115\115\x2d\x64\x64\40\x48\x48\55\x6d\155\55\163\x73"; const INTERVAL_SECOND = "\x53\105\x43\x4f\x4e\x44"; const INTERVAL_MINUTE = "\x4d\111\116\125\x54\x45\123"; const INTERVAL_HOUR = "\110\x4f\125\x52\123"; const INTERVAL_DAY = "\104\x41\x59\x53"; const INTERVAL_MONTH = "\115\117\x4e\124\x48\123"; const INTERVAL_YEAR = "\131\x45\x41\x52\x53"; const ERROR_DDL_MESSAGE = "\x44\x44\114\40\x73\164\141\164\145\x6d\x65\x6e\x74\163\x20\x61\162\145\x20\156\157\x74\40\141\154\x6c\x6f\167\x65\144\40\151\156\x20\x74\x72\x61\x6e\163\x61\143\164\x69\x6f\x6e\x73"; const ERROR_ROLLBACK_INCOMPLETE_MESSAGE = "\x52\x6f\154\x6c\x65\144\x20\x62\x61\x63\153\40\164\x72\141\156\x73\141\143\x74\151\x6f\156\40\150\x61\x73\40\156\157\164\x20\x62\145\x65\x6e\x20\143\x6f\x6d\160\154\x65\x74\x65\144\40\x63\x6f\162\x72\145\x63\x74\x6c\171\56"; const ERROR_ASYMMETRIC_ROLLBACK_MESSAGE = "\101\163\171\x6d\x6d\145\x74\x72\151\143\40\x74\x72\141\x6e\x73\x61\x63\164\151\x6f\156\x20\x72\x6f\154\x6c\142\x61\143\153\56"; const ERROR_ASYMMETRIC_COMMIT_MESSAGE = "\x41\163\171\x6d\x6d\145\164\x72\151\x63\40\x74\x72\x61\156\163\x61\x63\164\151\157\156\40\143\x6f\x6d\x6d\x69\164\56"; public function beginTransaction(); public function commit(); public function rollBack(); public function newTable($tableName = null, $schemaName = null); public function createTable(Table $table); public function dropTable($tableName, $schemaName = null); public function createTemporaryTable(Table $table); public function createTemporaryTableLike($temporaryTableName, $originTableName, $ifNotExists = false); public function dropTemporaryTable($tableName, $schemaName = null); public function renameTablesBatch(array $tablePairs); public function truncateTable($tableName, $schemaName = null); public function isTableExists($tableName, $schemaName = null); public function showTableStatus($tableName, $schemaName = null); public function describeTable($tableName, $schemaName = null); public function createTableByDdl($tableName, $newTableName); public function modifyColumnByDdl($tableName, $columnName, $definition, $flushData = false, $schemaName = null); public function renameTable($oldTableName, $newTableName, $schemaName = null); public function addColumn($tableName, $columnName, $definition, $schemaName = null); public function changeColumn($tableName, $oldColumnName, $newColumnName, $definition, $flushData = false, $schemaName = null); public function modifyColumn($tableName, $columnName, $definition, $flushData = false, $schemaName = null); public function dropColumn($tableName, $columnName, $schemaName = null); public function tableColumnExists($tableName, $columnName, $schemaName = null); public function addIndex($tableName, $indexName, $fields, $indexType = self::INDEX_TYPE_INDEX, $schemaName = null); public function dropIndex($tableName, $keyName, $schemaName = null); public function getIndexList($tableName, $schemaName = null); public function addForeignKey($fkName, $tableName, $columnName, $refTableName, $refColumnName, $onDelete = self::FK_ACTION_CASCADE, $purge = false, $schemaName = null, $refSchemaName = null); public function dropForeignKey($tableName, $fkName, $schemaName = null); public function getForeignKeys($tableName, $schemaName = null); public function select(); public function insertOnDuplicate($table, array $data, array $fields = array()); public function insertMultiple($table, array $data); public function insertArray($table, array $columns, array $data); public function insert($table, array $bind); public function insertForce($table, array $bind); public function update($table, array $bind, $where = ''); public function delete($table, $where = ''); public function query($sql, $bind = array()); public function fetchAll($sql, $bind = array(), $fetchMode = null); public function fetchRow($sql, $bind = array(), $fetchMode = null); public function fetchAssoc($sql, $bind = array()); public function fetchCol($sql, $bind = array()); public function fetchPairs($sql, $bind = array()); public function fetchOne($sql, $bind = array()); public function quote($value, $type = null); public function quoteInto($text, $value, $type = null, $count = null); public function quoteIdentifier($ident, $auto = false); public function quoteColumnAs($ident, $alias, $auto = false); public function quoteTableAs($ident, $alias = null, $auto = false); public function formatDate($date, $includeTime = true); public function startSetup(); public function endSetup(); public function setCacheAdapter(\Magento\Framework\Cache\FrontendInterface $cacheAdapter); public function allowDdlCache(); public function disallowDdlCache(); public function resetDdlCache($tableName = null, $schemaName = null); public function saveDdlCache($tableCacheKey, $ddlType, $data); public function loadDdlCache($tableCacheKey, $ddlType); public function prepareSqlCondition($fieldName, $condition); public function prepareColumnValue(array $column, $value); public function getCheckSql($condition, $true, $false); public function getIfNullSql($expression, $value = 0); public function getConcatSql(array $data, $separator = null); public function getLengthSql($string); public function getLeastSql(array $data); public function getGreatestSql(array $data); public function getDateAddSql($date, $interval, $unit); public function getDateSubSql($date, $interval, $unit); public function getDateFormatSql($date, $format); public function getDatePartSql($date); public function getSubstringSql($stringExpression, $pos, $len = null); public function getStandardDeviationSql($expressionField); public function getDateExtractSql($date, $unit); public function getTableName($tableName); public function getTriggerName($tableName, $time, $event); public function getIndexName($tableName, $fields, $indexType = ''); public function getForeignKeyName($priTableName, $priColumnName, $refTableName, $refColumnName); public function disableTableKeys($tableName, $schemaName = null); public function enableTableKeys($tableName, $schemaName = null); public function insertFromSelect(\Magento\Framework\DB\Select $select, $table, array $fields = array(), $mode = false); public function selectsByRange($rangeField, \Magento\Framework\DB\Select $select, $stepCount = 100); public function updateFromSelect(\Magento\Framework\DB\Select $select, $table); public function deleteFromSelect(\Magento\Framework\DB\Select $select, $table); public function getTablesChecksum($tableNames, $schemaName = null); public function supportStraightJoin(); public function orderRand(\Magento\Framework\DB\Select $select, $field = null); public function forUpdate($sql); public function getPrimaryKeyName($tableName, $schemaName = null); public function decodeVarbinary($value); public function getTransactionLevel(); public function createTrigger(\Magento\Framework\DB\Ddl\Trigger $trigger); public function dropTrigger($triggerName, $schemaName = null); public function getTables($likeCondition = null); public function getCaseSql($valueName, $casesResults, $defaultValue = null); public function getAutoIncrementField($tableName, $schemaName = null); }

Function Calls

None

Variables

None

Stats

MD5 997941e1b6f5ec6b4060c070971260ca
Eval Count 0
Decode Time 98 ms