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 functions” sound positively academic, and “argument unpacking” isn’t exactly catchy. However they both use a new operator in PHP which looks like an elipsis (three dots …) and is referred to as either the splat operator or the scatter operator. I included them in a recent version of my “Upgrading PHP” talk so I thought I’d share the examples here too in case anyone is interested. Continue reading
17 Mar
2014