Re: [RFC] Serialize filtering

From: Date: Tue, 28 Oct 2014 01:09:50 +0000
Subject: Re: [RFC] Serialize filtering
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-78412@lists.php.net to get a copy of this message
Hi! > Suggestion on improving the API: Why bother with three values? > > If there’s no parameter, use current behaviour. If there’s an array, > it’s allowed classes. If that array is empty, obviously there are no > allowed classes. You are right, empty array probably would do the same thing. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/

« previous php.internals (#78412) next »