src/Service/Config/Security.php
protected function evalMaxRuntime($value, $name, $group)
    {
        // Check for integer first.
        if ($this->evalInt($value, $name, $group) === false) {
            return false;
        }

        $maxTime = (int)ini_get('max_execution_time');
        // We need a maximum runtime in the first place
        // and then check, if we have a value smaller than it.
        if ($maxTime <= 0) {
            // We were unable to get the maximum runtime from the server.
            // No need to check any further.
            return true;
        }

        if ($maxTime < (int)$value) {
            $this->pool->messages->addMessage(
                static::KEY_CONFIG_ERROR . ucfirst($name) . 'Big',
                array($maxTime)
            );
            return false;
        }

        return true;
    }
protected function evalMaxRuntime($value, $name, $group)
    {
        // Check for integer first.
        if ($this->evalInt($value, $name, $group) === false) {
            return false;
        }

        $maxTime = (int)ini_get('max_execution_time');
        // We need a maximum runtime in the first place
        // and then check, if we have a value smaller than it.
        if ($maxTime <= 0) {
            // We were unable to get the maximum runtime from the server.
            // No need to check any further.
            return true;
        }

        if ($maxTime < (int)$value) {
            $this->pool->messages->addMessage(
                static::KEY_CONFIG_ERROR . ucfirst($name) . 'Big',
                array($maxTime)
            );
            return false;
        }

        return true;
    }
protected function evalMaxRuntime ( $ value , $ name , $ group ) { // Check for integer first. if ( $ this -> evalInt ( $ value , $ name , $ group ) === false ) { return false ; } $ maxTime = ( int ) ini_get ( 'max_execution_time' ) ; // We need a maximum runtime in the first place // and then check, if we have a value smaller than it. if ( $ maxTime <= 0 ) { // We were unable to get the maximum runtime from the server. // No need to check any further. return true ; } if ( $ maxTime < ( int ) $ value ) { $ this -> pool -> messages -> addMessage ( static :: KEY_CONFIG_ERROR . ucfirst ( $ name ) . 'Big' , array ( $ maxTime ) ) ; return false ; } return true ; }
Evaluation the maximum runtime, by looking at the server settings, as
well as checking for an integer value.

@param string $value
The value we want to evaluate
@param string $name
The name of the value we are checking, needed for the feedback text.
@param string $group
The name of the group that we are evaluating, needed for the feedback
text.

@return boolean
Whether it does evaluate or not.
Evaluation the maximum runtime by looking at the server settings as well as checking for an integer value .