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 echo pht('Adding %s to events.', 'mailkeys')."\n"; $table = new PhabricatorCalenda..
Decoded Output download
<?php
echo pht('Adding %s to events.', 'mailkeys')."
";
$table = new PhabricatorCalendarEvent();
$conn_w = $table->establishConnection('w');
$iterator = new LiskMigrationIterator($table);
foreach ($iterator as $event) {
$id = $event->getID();
echo pht('Populating event %d...', $id)."
";
queryfx(
$conn_w,
'UPDATE %T SET mailKey = %s WHERE id = %d',
$table->getTableName(),
Filesystem::readRandomCharacters(20),
$id);
}
echo pht('Done.')."
";
?>
Did this file decode correctly?
Original Code
<?php
echo pht('Adding %s to events.', 'mailkeys')."\n";
$table = new PhabricatorCalendarEvent();
$conn_w = $table->establishConnection('w');
$iterator = new LiskMigrationIterator($table);
foreach ($iterator as $event) {
$id = $event->getID();
echo pht('Populating event %d...', $id)."\n";
queryfx(
$conn_w,
'UPDATE %T SET mailKey = %s WHERE id = %d',
$table->getTableName(),
Filesystem::readRandomCharacters(20),
$id);
}
echo pht('Done.')."\n";
Function Calls
pht | 1 |
Stats
MD5 | eb203fe140382eb1a6f759b683703295 |
Eval Count | 0 |
Decode Time | 132 ms |