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('Indexing username tokens for typeaheads...')."\n"; $table = new Phabrica..

Decoded Output download

<?php

echo pht('Indexing username tokens for typeaheads...')."
";

$table = new PhabricatorUser();
$table->openTransaction();
$table->beginReadLocking();

$users = $table->loadAll();
echo pht('%d users to index', count($users));
foreach ($users as $user) {
  $user->updateNameTokens();
  echo '.';
}

$table->endReadLocking();
$table->saveTransaction();
echo "
".pht('Done.')."
";
 ?>

Did this file decode correctly?

Original Code

<?php

echo pht('Indexing username tokens for typeaheads...')."\n";

$table = new PhabricatorUser();
$table->openTransaction();
$table->beginReadLocking();

$users = $table->loadAll();
echo pht('%d users to index', count($users));
foreach ($users as $user) {
  $user->updateNameTokens();
  echo '.';
}

$table->endReadLocking();
$table->saveTransaction();
echo "\n".pht('Done.')."\n";

Function Calls

pht 1

Variables

None

Stats

MD5 fef6a8591d0c8ca395722a254e7b2176
Eval Count 0
Decode Time 92 ms