Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-7174

The ** can be used for exponentiation with PHP versions from 5.6

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • 3.4.1
    • 3.4.1
    • None
    • 4.4
    • MOODLE_34_STABLE
    • MOODLE_34_STABLE

      This issue is mostly for history and so that if somebody search informations about the problem, he can find them here.

      Since pHP 5.6

      a**b;
      

      is equivalent to pow(a, b);

      As a consequence, without any modification done to the code, it is now possible to use this operator in writing Formulas questions or during attempt for numerical and algebraic answers.

      But this also require a very recent browser as the same change was only done in the browers javascript engines in 2017. So I suggest not to advertise this possibility too much to your students, and instruct them to use the a^b writing to enter answers to formulas questions.

            jmvedrine Jean-Michel Vedrine
            jmvedrine Jean-Michel Vedrine
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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