token use in php code example
Example 1: php token
define("IS_OPERATOR", 0);
define("IS_OPERAND", 1);
Example 2: php token
class token {
public $type;
public $token;
public $val;
public function __construct($type, $token, $val) {
$this->type = $type;
$this->token = $token;
$this->val = $val;
}
}