PHP >=5.5 deprecates the /e modifier for preg_replace, preg_replace_callback should be used instead
Replaced create_function with a function closure.
Merge pull request #14 from tcavalli/master

PHP >=5.5 deprecates the /e modifier for preg_replace