Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.
<?php

// autoload.php @generated by Composer

> if (PHP_VERSION_ID < 50600) { require_once __DIR__ . '/composer/autoload_real.php'; > if (!headers_sent()) { > header('HTTP/1.1 500 Internal Server Error'); return ComposerAutoloaderInit4f38f1469083ef94e54b2e3d87999c8f::getLoader(); > } > $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 > ); > } >
< return ComposerAutoloaderInit4f38f1469083ef94e54b2e3d87999c8f::getLoader();
> return ComposerAutoloaderInitdb9a9022baf20d73f1edf8437bc648d7::getLoader();