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

Decoded Output download

<?php

final class DiffusionGitWireProtocolRef
  extends Phobject {

  private $name;
  private $hash;
  private $isShallow;

  public function setName($name) {
    $this->name = $name;
    return $this;
  }

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

  public function setHash($hash) {
    $this->hash = $hash;
    return $this;
  }

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

  public function setIsShallow($is_shallow) {
    $this->isShallow = $is_shallow;
    return $this;
  }

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

  public function newSortVector() {
    return id(new PhutilSortVector())
      ->addInt((int)$this->getIsShallow())
      ->addString((string)$this->getName());
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class DiffusionGitWireProtocolRef
  extends Phobject {

  private $name;
  private $hash;
  private $isShallow;

  public function setName($name) {
    $this->name = $name;
    return $this;
  }

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

  public function setHash($hash) {
    $this->hash = $hash;
    return $this;
  }

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

  public function setIsShallow($is_shallow) {
    $this->isShallow = $is_shallow;
    return $this;
  }

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

  public function newSortVector() {
    return id(new PhutilSortVector())
      ->addInt((int)$this->getIsShallow())
      ->addString((string)$this->getName());
  }

}

Function Calls

None

Variables

None

Stats

MD5 e795ce8078e307fe5aa3c2f9f2d7203c
Eval Count 0
Decode Time 80 ms