[PHP-DEV] [RFC][DISCUSSION] Add preg_replace_callback_array function

2015-03-15 Thread David Dai
Hi internals,

The RFC to add a user-land function for an easy-to-use and reliable
preg_replace_callback_array() in PHP is up for discussion:
https://wiki.php.net/rfc/preg_replace_callback_array


This proposes adding one function: `preg_replace_callback_array()` that
is the better way to Implement when there are multiple patterns need to
replace.

Any objections?
I would love to hear your feedback! :)

—
Best,
Wei Dai

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



[PHP-DEV] Re: [PHP-DEV] RFC: Move phpng to master

2014-07-27 Thread David Dai
 
 
 On 27 07 2014, at 11:44, Kris Craig kris.cr...@gmail.com 
 (mailto:kris.cr...@gmail.com) wrote:
 
 [a lot]
 
 Maybe because you see those as competitors, but I see HHVM and friends as 
 current competitors, being evaluated to replace stock PHP, which is 
 definitely not covered by any nice statistics you can currently view.
 
I can confirm that,  wikimedia is migrating from PHP to HHVM, see:  
http://lists.wikimedia.org/pipermail/wikitech-l/2014-July/077690.html
and I also have saw many friends talking about migrating from PHP to HHVM only 
for performance gain. 
 
 Cheers,
 Mike
 
 
 -- 
 PHP Internals - PHP Runtime Development Mailing List
 To unsubscribe, visit: http://www.php.net/unsub.php



Cheers,
David Dai