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

PHP 8.3: Changes to highlight_file and highlight_string

XMLWordPrintable

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

      https://php.watch/versions/8.3/highlight_file-highlight_string-html-changes

      PHP's highlight_file and highlight_string functions provide syntax highlighting support for PHP. They accept a file or a string containing PHP code, and return an HTML snippet with PHP keywords, functions, and other tokens highlighted. The colors of the syntax highlighter are configured through PHP INI directives.

      PHP 8.3 makes some changes to the syntax highlighter, resulting in changes to the resulting HTML output.

      Required

      • Confirm whether we use these functions (I can't find any use of them in core)
      • If so, confirm if these changes impact us

            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.