function CacheSavingCase::testArray

Test the saving and restoring of an array.

File

modules/simpletest/tests/cache.test, line 136

Class

CacheSavingCase

Code

function testArray() {
    $this->checkVariable(array(
        'drupal1',
        'drupal2' => 'drupal3',
        'drupal4' => array(
            'drupal5',
            'drupal6',
        ),
    ));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.