From 62bc72870e922148b4d979f402f13b0fb20e55ba Mon Sep 17 00:00:00 2001 From: Lico San Date: Mon, 12 Aug 2019 22:20:29 +0200 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bba3010..5051aed 100644 --- a/README.md +++ b/README.md @@ -53,20 +53,20 @@ if($f1->parse_error=='') echo($f1->compute()); else echo($f1->parse_error."
\n"); // Too many closing parenthesis ! ``` -**Use of a indexed array** +**Using an indexed array** ```PHP $f1 = new Formula1('toto*primes[6]',['toto'=>10,'primes'=>[2,3,5,7,11,13,17,19,23,29,31]]); echo($f1->compute()."
\n"); //170 ``` -**Use of a key-value array** +**Using a key-value array** ```PHP $f1 = new Formula1('toto*myar["zorglub_99"]',['toto'=>10,'myar'=>['aaa'=>2.5,'zorglub_99'=>5.5]]); echo($f1->compute()."
\n"); //55 ``` -**Use offunctions** +**Using math functions** ```PHP $f1 = new Formula1('2*5+sin(pi()/4)'); echo($f1->compute()."
\n"); //7.071...