DataArt Interview Question

PHP 7.0 - best improvements