Merge branch '3.5'

This commit is contained in:
Dylan K. Taylor
2019-01-05 18:59:13 +00:00
4 changed files with 5 additions and 16 deletions

View File

@@ -1555,7 +1555,7 @@ class Server{
$this->logger->warning(str_repeat("-", 40));
}
if(((int) ini_get('zend.assertions')) > 0 and ((bool) $this->getProperty("debug.assertions.warn-if-enabled", true)) !== false){
if(((int) ini_get('zend.assertions')) !== -1){
$this->logger->warning("Debugging assertions are enabled, this may impact on performance. To disable them, set `zend.assertions = -1` in php.ini.");
}