Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.
<?php

// autoload.php @generated by Composer

if (PHP_VERSION_ID < 50600) {
< echo 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL; < exit(1);
> if (!headers_sent()) { > header('HTTP/1.1 500 Internal Server Error'); > } > $err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL; > if (!ini_get('display_errors')) { > if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { > fwrite(STDERR, $err); > } elseif (!headers_sent()) { > echo $err; > } > } > trigger_error( > $err, > E_USER_ERROR > );
} require_once __DIR__ . '/composer/autoload_real.php';
< return ComposerAutoloaderInite0d802f9161d0d84fba97a5520240273::getLoader();
> return ComposerAutoloaderInitdb9a9022baf20d73f1edf8437bc648d7::getLoader();