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

Add json_encode and json_decode function definitions for PHP4

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.7.5, 1.8.6, 1.9.2
    • 1.8.7, 1.9.3
    • JavaScript
    • None
    • MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE

    Description

      The PHP5 functions json_encode and json_decode are very useful for writing PHP callback files to use with AJAX requests. The PEAR SERVICES_JSON package has been added to Moodle, but it would be useful to have function calls "faking" the PHP5 functions when a lower PHP version is on the server.

      Attachments

        Activity

          People

            nicolasconnault Nicolas Connault
            nicolasconnault Nicolas Connault
            Dongsheng Cai Dongsheng Cai
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              15/Oct/08