View Single Post
fakuivan
Senior Member
Join Date: Nov 2015
Old 12-06-2015 , 11:16   Re: [SP]| somevar != someconst ? return -7 : null | and got invalid expresion
Reply With Quote #6

Quote:
Originally Posted by KissLick View Post
PHP Code:
return (somevar != someconst) ? -0
I don't want to return 0, I want to do nothing if the condition evaluates to false
fakuivan is offline