On Tue, May 17, 2016 at 5:47 AM, Ryan Pallas <derokor...@gmail.com> wrote:
> Can the place holder be used twice?
>
In the current PR version, no.  It adds complexity to the
implementation when dealing with temp vars.  In the interest of
keeping the implementation simple, I opted for making the repeated use
of $$ an error.  If that's a serious problem, I can take another crack
at resolving that short-coming.

> If its numeric, can I make it negative or perform other math?
>
You can do anything with it that you can do with any other expression.
So yeah, unary minus, basic math, concat, etc...  If you can use a
variable there, you can use the placeholder.

-Sara

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to