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 PhabricatorSinChartFunction extends PhabricatorPureChartFunction { ..

Decoded Output download

<?php

final class PhabricatorSinChartFunction
  extends PhabricatorPureChartFunction {

  const FUNCTIONKEY = 'sin';

  protected function newArguments() {
    return array();
  }

  public function evaluateFunction(array $xv) {
    $yv = array();

    foreach ($xv as $x) {
      $yv[] = sin(deg2rad($x));
    }

    return $yv;
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorSinChartFunction
  extends PhabricatorPureChartFunction {

  const FUNCTIONKEY = 'sin';

  protected function newArguments() {
    return array();
  }

  public function evaluateFunction(array $xv) {
    $yv = array();

    foreach ($xv as $x) {
      $yv[] = sin(deg2rad($x));
    }

    return $yv;
  }

}

Function Calls

None

Variables

None

Stats

MD5 f21df97080811261228bb58828235ce9
Eval Count 0
Decode Time 95 ms