Fixed : fatal error when using defined test on an invalid expression
merged branch jibriss/fix_defined (PR #1051)

This PR was merged into the master branch.

Discussion
----------

Fixed : fatal error when using defined test on an invalid expression

Commits
-------

e285228 Fixed : fatal error when using defined test on an invalid expression