Closed kminek closed 9 years ago
Can you provide sample code that shows the problem?
sample code: https://github.com/slimphp/Slim/tree/develop#usage it's fatal error
my composer.json:
"slim/slim": "dev-develop"
i am using PHP 5.4.25
after googling around:
limitation of empty() in PHP versions below 5.5: empty() only checks variables as anything else will result in a parse error. In other words, the following will not work: empty(trim($name))
aha! We'll have to get that captured in a unit test and get Travis up and running
Seems it is already catched. 5.4 build failed with the above error message.
That's interesting!
@kminek I think I've fixed this via PR #1245 - are you able test?
Appears to work: https://travis-ci.org/slimphp/Slim/jobs/64138247
works for me too :)
This has now been merged into develop.
after latest changes