> There are some weird questions that come up with that. For example, if an > array item is an object that implements both __invoke() and __toString(), > which should be fired? Is it a string? Or a callback? What if I pass a > literal string "strlen", is that a callback, or a replacement?
You're right that was not fully thought trough - I shouldn't post in the middle of the night ;-) What about a new modifier (example "c") which then uses the replacement as a callback. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php