php-peg
php-peg copied to clipboard
Predicates must not call attached functions
Currently matches within predicates execute attached functions. It's impossible to distinguish whether call came from a legit match or from a predicate.
One possible fix is to pass stack into the callback.