Performs a syntax and error check of a given PHP script.
- Full name:
check_syntax - Defined in:
cms/core/Shared/Helpers/core.php
Parameters
| Parameter | Type | Description |
|---|---|---|
$filename |
string | PHP script/file to check. |
$checkIncludes |
bool | If set to true, will check if other files have been included. |
Return Value
\Qubus\Error\Error