Lambda expressions

<?php

$powOfTwo = function ($power) {
    return pow(2, $power);
};

$pow8 = $powOfTwo(8);
//pow8 is 256

echo $pow8;