Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

Differences Between: [Versions 310 and 403] [Versions 311 and 403] [Versions 400 and 403] [Versions 401 and 403]

   1  <?php
   2  
   3  declare(strict_types=1);
   4  
   5  namespace ZipStream\Option;
   6  
   7  use MyCLabs\Enum\Enum;
   8  
   9  /**
  10   * Class Version
  11   * @package ZipStream\Option
  12   *
  13   * @method static STORE(): Version
  14   * @method static DEFLATE(): Version
  15   * @method static ZIP64(): Version
  16   * @psalm-immutable
  17   * @psalm-template int
  18   * @extends Enum<int>
  19   */
  20  class Version extends Enum
  21  {
  22      public const STORE = 0x000A; // 1.00
  23  
  24      public const DEFLATE = 0x0014; // 2.00
  25  
  26      public const ZIP64 = 0x002D; // 4.50
  27  }