Re: [RFC] Syntax for variadic functions
Nikita Popov wrote:
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)