Officially support PHP 7.2.0.

SVN:trunk[5888]
This commit is contained in:
Denis Flaven
2018-06-15 16:37:11 +00:00
parent f132d751f5
commit 8943a67f85
5 changed files with 19 additions and 3 deletions

View File

@@ -46,7 +46,7 @@ function TestConfig($sContents, $oP)
catch (Error $e)
{
// ParseError only thrown in PHP7
throw new Exception('Error in configuration: '.$e->getMessage());
throw new Exception('Error in configuration: '.$e->getMessage().' at line '.$e->getLine());
}
if (strlen($sNoise) > 0)
{