Re: 回复: [RFC][DISCUSSION] Add preg_r eplace_callback_array function

From: Date: Sat, 21 Mar 2015 21:44:34 +0000
Subject: Re: 回复: [RFC][DISCUSSION] Add preg_r eplace_callback_array function
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-85387@lists.php.net to get a copy of this message
Hi, 2015-03-21 19:30 GMT+01:00 Marc Bennewitz <dev@mabe.berlin>: > I also had a question! Didn't you noticed it? > > Am 20.03.2015 um 16:49 schrieb Marc Bennewitz: >> >> Why not simply allow the callback to be an array, too? Because arrays are valid callbacks. [$object, 'cb'] would call the the 'cb' method on the $object.

« previous php.internals (#85387) next »