php_syntax_checker
php_syntax_checker copied to clipboard
php 7 syntax not working
My code empty($salary) === false ?? false;
Error message wen i save the file. PHP Parse error: syntax error, unexpected '?'
Can you kindly fix this
This is the issue of your default command line PHP which would not be PHP 7. You need to use PHP 7 version for your command line