webCOMAND

expression::get_array()

Return the expression as an array expression.

Prototype

array get_array()

Example

use comand\repository\expression;

require_once('comand.php');

$exp = new expression(['+',1,2]);
$exp_array = $exp->get_array();
echo(explode(',', $exp_array))