I am working on some project using Apache Ant where I am also using PHP.exe to validate PHP syntax in PHP file.
I am validating the PHP file by using the command as below
php -l index-1.php
And it’s working fine, showing me error when there is some PHP syntax error but the problem is php.exe is not supporting multiple files, it accept only 1 file
I need to pass multiple files. Do you have any solutions for this problem?