PHP empty() instead of zephir empty
Validation improvement
Merge pull request #1732 from mruz/2.0.0

Validation improvement