PHP 7 – Closure

Another cool new future in PHP 7 allows to bind a closure to a specific object on run-time with the addition of Closure->call() function. This method takes the object as it’s first argument, followed by any arguments […]

php7 <=> spaceship operator

Spaceship operator() also know as Combined Comparison Operator. Basically this operator will offer combined comparison means, it will do greater-than, less-than and equal comparisons between two operands.Below are the […]