! Closures caused syntax errors for php < 5.3.8

Use create_function instead, so installer can let user know that php version is too low.

Signed-off-by: Angelina Belle <angelinabelle1@hotmail.com>