public function checkEnvironmentVariables()
    {
        $settingsValues = array();
        $iniSettings = array(
            'memory_limit', 'max_execution_time', 'upload_max_filesize'
        );

        foreach($iniSettings as $setting) {
            $settingsValues[$setting] = ini_get($setting);
        }

        return $settingsValues;
    }
public function checkEnvironmentVariables()
    {
        $settingsValues = array();
        $iniSettings = array(
            'memory_limit', 'max_execution_time', 'upload_max_filesize'
        );

        foreach($iniSettings as $setting) {
            $settingsValues[$setting] = ini_get($setting);
        }

        return $settingsValues;
    }
public function checkEnvironmentVariables ( ) { $ settingsValues = array ( ) ; $ iniSettings = array ( 'memory_limit' , 'max_execution_time' , 'upload_max_filesize' ) ; foreach ( $ iniSettings as $ setting ) { $ settingsValues [ $ setting ] = ini_get ( $ setting ) ; } return $ settingsValues ; }
REturns memory limit, execution time, and maximum upload size variables
@return array
REturns memory limit execution time and maximum upload size variables