PHP command-line options

The following table describes the PHP-specific command-line options.

PHP option Description

-php-source-root <path>

Specifies an absolute path to the project root directory. The relative path name first expands from the current directory. If the file is not found, then the path expands from the specified PHP source root directory.

Equivalent property name:
com.fortify.sca.PHPSourceRoot

-php-version <version>

Specifies the PHP version. The default version is 8.2. For a list of valid versions, see Supported languages the OpenText™ Application Security Software System Requirements document.

Equivalent property name:
com.fortify.sca.PHPVersion

PHP Properties