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 final class PhabricatorPDFResourcesObject extends PhabricatorPDFObject { priva..
Decoded Output download
<?php
final class PhabricatorPDFResourcesObject
extends PhabricatorPDFObject {
private $fontObjects = array();
public function addFontObject(PhabricatorPDFFontObject $font) {
$this->fontObjects[] = $this->newChildObject($font);
return $this;
}
public function getFontObjects() {
return $this->fontObjects;
}
protected function writeObject() {
$this->writeLine('/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]');
$fonts = $this->getFontObjects();
foreach ($fonts as $font) {
$this->writeLine('/Font <<');
$this->writeLine('/F%d %d 0 R', 1, $font->getObjectIndex());
$this->writeLine('>>');
}
}
}
?>
Did this file decode correctly?
Original Code
<?php
final class PhabricatorPDFResourcesObject
extends PhabricatorPDFObject {
private $fontObjects = array();
public function addFontObject(PhabricatorPDFFontObject $font) {
$this->fontObjects[] = $this->newChildObject($font);
return $this;
}
public function getFontObjects() {
return $this->fontObjects;
}
protected function writeObject() {
$this->writeLine('/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]');
$fonts = $this->getFontObjects();
foreach ($fonts as $font) {
$this->writeLine('/Font <<');
$this->writeLine('/F%d %d 0 R', 1, $font->getObjectIndex());
$this->writeLine('>>');
}
}
}
Function Calls
None |
Stats
MD5 | c61e1746f84b7fd866e8493c1bef4437 |
Eval Count | 0 |
Decode Time | 88 ms |