Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-79899

PHP 8.3: Random extension: New \Random\Randomizer::getFloat() and nextFloat() methods

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • 4.3.1, 4.4
    • General

      https://php.watch/versions/8.3/Randomizer-getFloat-nextFloat

      The Random extension in PHP 8.3 adds \Random\Randomizer::getFloat() and \Random\Randomizer::nextFloat() methods that generate a random float value.

      There is also a new \Random\IntervalBoundary Enum that can be used as a parameter for the getFloat method to indicate whether the $min and $max boundaries should be inclusive or not.

      Required

      1. Confirm my assessment that no change is required

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Raquel Ortega Raquel Ortega
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 30 minutes
                30m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.