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 DiffusionServiceRef extends Phobject { private $uri; private $pr..

Decoded Output download

<?php

final class DiffusionServiceRef
  extends Phobject {

  private $uri;
  private $protocol;
  private $isWritable;
  private $devicePHID;
  private $deviceName;

  private function __construct() {
    return;
  }

  public static function newFromDictionary(array $map) {
    $ref = new self();

    $ref->uri = $map['uri'];
    $ref->isWritable = $map['writable'];
    $ref->devicePHID = $map['devicePHID'];
    $ref->protocol = $map['protocol'];
    $ref->deviceName = $map['device'];

    return $ref;
  }

  public function isWritable() {
    return $this->isWritable;
  }

  public function getDevicePHID() {
    return $this->devicePHID;
  }

  public function getURI() {
    return $this->uri;
  }

  public function getProtocol() {
    return $this->protocol;
  }

  public function getDeviceName() {
    return $this->deviceName;
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class DiffusionServiceRef
  extends Phobject {

  private $uri;
  private $protocol;
  private $isWritable;
  private $devicePHID;
  private $deviceName;

  private function __construct() {
    return;
  }

  public static function newFromDictionary(array $map) {
    $ref = new self();

    $ref->uri = $map['uri'];
    $ref->isWritable = $map['writable'];
    $ref->devicePHID = $map['devicePHID'];
    $ref->protocol = $map['protocol'];
    $ref->deviceName = $map['device'];

    return $ref;
  }

  public function isWritable() {
    return $this->isWritable;
  }

  public function getDevicePHID() {
    return $this->devicePHID;
  }

  public function getURI() {
    return $this->uri;
  }

  public function getProtocol() {
    return $this->protocol;
  }

  public function getDeviceName() {
    return $this->deviceName;
  }

}

Function Calls

None

Variables

None

Stats

MD5 3e36d20d23600d2445a44506e8fb0c26
Eval Count 0
Decode Time 82 ms