Der Splat Operator, das Hilfsmittel für eine neue Syntax für Variadic Functions, die große Freiheit in PHP. Und keine Sorge, uns geht es gut – das hat alles Hand und Fuß, wie uns Lorna Jane Mitchell in ihrem Blogpost zu diesem Thema erklärt. Am besten beginnen wir ganz am Anfang.
Variadic Functions
Variadic Functions sind eine spannende Angelegenheit, auch wenn wir Lorna Jane beipflichten müssen – es klingt deutlich langweiliger, als es ist:
We have a couple of new features coming in to PHP 5.6 with names that sound much less exciting than the features they actually represent: "variadic…
↧