Added missing parameter to the compile function

This commit is contained in:
Peter Rehm 2013-11-08 16:59:08 +01:00
parent 8890627798
commit 03a76f5da1

View File

@ -11,7 +11,7 @@ evaluate expressions:
echo $language->evaluate('1 + foo', array('foo' => 2));
// would output 3
echo $language->compile('1 + foo');
echo $language->compile('1 + foo', array('foo'));
// would output (1 + $foo)
By default, the engine implements simple math and logic functions, method