backport fdfbaf4e95: make startup performance warnings a little more coherent

This commit is contained in:
Dylan K. Taylor
2019-08-25 16:34:26 +01:00
parent 1815fe5b46
commit d6b9950901
2 changed files with 16 additions and 14 deletions

View File

@ -1565,10 +1565,6 @@ class Server{
return;
}
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.");
}
ini_set('assert.exception', '1');
if($this->logger instanceof MainLogger){