Skip to content
#

evaluator

Here are 133 public repositories matching this topic...

tomotom
tomotom commented Aug 10, 2018

This is only a suggestion, but I needed time to understand examples. I suggest you to remove the object requirement. For function example :

function sum() {
$arguments = func_get_args();
$result = 0;
foreach ($arguments as $argument)
$result += $argument;
return $result;
}
$evaluator = new \Matex\Evaluator();
$evaluator->functions = [
'sum' => ['ref' => 'sum', 'arc' => null]
];

Improve this page

Add a description, image, and links to the evaluator topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the evaluator topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.