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 PhortuneAdHocCart extends PhortuneCartImplementation { public functi..

Decoded Output download

<?php

final class PhortuneAdHocCart extends PhortuneCartImplementation {

  public function loadImplementationsForCarts(
    PhabricatorUser $viewer,
    array $carts) {

    $results = array();
    foreach ($carts as $key => $cart) {
      $results[$key] = new PhortuneAdHocCart();
    }

    return $results;
  }

  public function getName(PhortuneCart $cart) {
    return $cart->getMetadataValue('adhoc.title');
  }

  public function getDescription(PhortuneCart $cart) {
    return $cart->getMetadataValue('adhoc.description');
  }

  public function getCancelURI(PhortuneCart $cart) {
    return null;
  }

  public function getDoneURI(PhortuneCart $cart) {
    return null;
  }

  public function willCreateCart(
    PhabricatorUser $viewer,
    PhortuneCart $cart) {
    return;
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhortuneAdHocCart extends PhortuneCartImplementation {

  public function loadImplementationsForCarts(
    PhabricatorUser $viewer,
    array $carts) {

    $results = array();
    foreach ($carts as $key => $cart) {
      $results[$key] = new PhortuneAdHocCart();
    }

    return $results;
  }

  public function getName(PhortuneCart $cart) {
    return $cart->getMetadataValue('adhoc.title');
  }

  public function getDescription(PhortuneCart $cart) {
    return $cart->getMetadataValue('adhoc.description');
  }

  public function getCancelURI(PhortuneCart $cart) {
    return null;
  }

  public function getDoneURI(PhortuneCart $cart) {
    return null;
  }

  public function willCreateCart(
    PhabricatorUser $viewer,
    PhortuneCart $cart) {
    return;
  }

}

Function Calls

None

Variables

None

Stats

MD5 c06d9e588866edfbbfdcadcebfa81df9
Eval Count 0
Decode Time 96 ms