403Webshell
Server IP : 172.67.158.161  /  Your IP : 3.12.155.249
Web Server : LiteSpeed
System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : giankuin ( 1871)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/giankuin/sieuthiweb.com.vn/wp-content/plugins/wp-all-import-pro/libraries/ast/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/giankuin/sieuthiweb.com.vn/wp-content/plugins/wp-all-import-pro/libraries/ast/XmlImportAstMath.php
<?php
/**
 * @author Olexandr Zanichkovsky <[email protected]>
 * @package AST
 */

require_once dirname(__FILE__) . '/XmlImportAstExpression.php';

/**
 * Represents a function
 */
class XmlImportAstMath extends XmlImportAstExpression
{
  /**
   * Function arguments
   *
   * @var array
   */
  private $arguments = array();

  /**
   * Creates new instance
   *
   * @param string $name
   */
  public function  __construct($name)
  {
    $this->name = $name;
  }

  /**
   * Adds argument to a function
   *
   * @param XmlImportAstExpression $argument
   */
  public function addArgument(XmlImportAstExpression $argument)
  {
    $this->arguments[] = $argument;
  }

  /**
   * Gets function arguments
   *
   * @return array
   */
  public function getArguments()
  {
    return $this->arguments;
  }

  /**
   * String representation of a function
   *
   * @return string
   */
  public function __toString()
  {
    $result = "--> begin " . get_class($this) . "\n";
    foreach ($this->getArguments() as $argument)
    {
      $array = explode("\n", $argument);
      for ($i = 0; $i < count($array); $i++)
      {
        $array[$i] = '  ' . $array[$i];
      }
      $result .= implode("\n", $array) . "\n";
    }

    $result .= "--> end " . get_class($this);

    return $result;
  }
}

Youez - 2016 - github.com/yon3zu
LinuXploit