fputcsv() function with SplFileObject

The SplFileObject is a replacement object oriented approach for php filesystem functions. Not all of the functions are part of the SPL classes. fputcsv() is only available from PHP 5.4 onwards. However, it is not too hard to replicate the function if you are not using PHP 5.4. Here is how I implemented it, short…

Argument unpacking in PHP5.6

PHP 5.6 comes with some new features. This post is to preview the Argument unpacking.

Variadic functions in PHP5.6

PHP 5.6 comes with some new features. This post is to preview the Variadic functions This new feature looks as follows: