On Tue, 14 Oct 2003, David Sklar wrote:

> One thing that I suppose you get by using "case preg_match()" like George
> does below (as opposed to my preg_case operator or Hartmut's callback) is
> you can deal with arbitrary arguments to the preg_match() (or other)
> function -- storing captured subpatterns from the regex, for example.

Right, and as George's example already works I see no point in adding 
more 'magic' operators that look like Perl to me.

Derick

-- 
"Interpreting what the GPL actually means is a job best left to those
                    that read the future by examining animal entrails."
-------------------------------------------------------------------------
 Derick Rethans                                 http://derickrethans.nl/ 
 International PHP Magazine                          http://php-mag.net/
-------------------------------------------------------------------------

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

Reply via email to