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

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

Reply via email to