Re: [RFC] Syntax for variadic functions

From: Date: Thu, 29 Aug 2013 12:51:38 +0000
Subject: Re: [RFC] Syntax for variadic functions
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Nikita Popov wrote:
I'd like to propose an RFC, which adds dedicated syntax for variadic functions:
     https://wiki.php.net/rfc/variadics
I can remember in PHP4 days, passing parameters to the database as a string of variables was the norm. Then arrays came along and it was preferable to pass the query followed by an array of values. We could take the array and validate the data in a function, adding any missing values needed before processing the SQL. Going back to the cumbersum method of working just seems wrong? Surely we should be promoting a tidier method of working? -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

Thread (24 messages)

« previous php.internals (#68682) next »