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 $table = new PhrictionContent(); $conn = $table->establishConnection('w'); foreach..

Decoded Output download

<?php

$table = new PhrictionContent();
$conn = $table->establishConnection('w');

foreach (new LiskMigrationIterator($table) as $row) {
  if (strlen($row->getPHID())) {
    continue;
  }

  queryfx(
    $conn,
    'UPDATE %T SET phid = %s WHERE id = %d',
    $table->getTableName(),
    $table->generatePHID(),
    $row->getID());
}
 ?>

Did this file decode correctly?

Original Code

<?php

$table = new PhrictionContent();
$conn = $table->establishConnection('w');

foreach (new LiskMigrationIterator($table) as $row) {
  if (strlen($row->getPHID())) {
    continue;
  }

  queryfx(
    $conn,
    'UPDATE %T SET phid = %s WHERE id = %d',
    $table->getTableName(),
    $table->generatePHID(),
    $row->getID());
}

Function Calls

None

Variables

None

Stats

MD5 ed962e48e2a6f2c9943ada4da075e477
Eval Count 0
Decode Time 68 ms