Loading docs/parser.rst +2 −2 Original line number Diff line number Diff line Loading @@ -26,9 +26,9 @@ Example:: $parser = new Parser(); $rpn = $parser->parse('x + 3 * y')->operations; // rpn is x 3 y * + $rpn = $parser->parse('x + 3 * y'); // rpn is x 3 y * + $rpn == [ $rpn->operations == [ new Variable('x'), new Number(3), new Variable('y'), Loading Loading
docs/parser.rst +2 −2 Original line number Diff line number Diff line Loading @@ -26,9 +26,9 @@ Example:: $parser = new Parser(); $rpn = $parser->parse('x + 3 * y')->operations; // rpn is x 3 y * + $rpn = $parser->parse('x + 3 * y'); // rpn is x 3 y * + $rpn == [ $rpn->operations == [ new Variable('x'), new Number(3), new Variable('y'), Loading