Output of the "Creating a "n" dimensions matrix with PHP" PHP snippet

Environment:

  • Strangebuzz Snippet VM: 3.0.1
  • PHP: 8.1

Code execution output:

array(2) {
  [1]=>
  array(2) {
    [1]=>
    string(0) ""
    [2]=>
    string(0) ""
  }
  [2]=>
  array(2) {
    [1]=>
    string(0) ""
    [2]=>
    string(0) ""
  }
}
array(3) {
  [1]=>
  array(3) {
    [1]=>
    array(3) {
      [1]=>
      NULL
      [2]=>
      NULL
      [3]=>
      NULL
    }
    [2]=>
    array(3) {
      [1]=>
      NULL
      [2]=>
      NULL
      [3]=>
      NULL
    }
    [3]=>
    array(3) {
      [1]=>
      NULL
      [2]=>
      NULL
      [3]=>
      NULL
    }
  }
  [2]=>
  array(3) {
    [1]=>
    array(3) {
      [1]=>
      NULL
      [2]=>
      NULL
      [3]=>
      NULL
    }
    [2]=>
    array(3) {
      [1]=>
      NULL
      [2]=>
      NULL
      [3]=>
      NULL
    }
    [3]=>
    array(3) {
      [1]=>
      NULL
      [2]=>
      NULL
      [3]=>
      NULL
    }
  }
  [3]=>
  array(3) {
    [1]=>
    array(3) {
      [1]=>
      NULL
      [2]=>
      NULL
      [3]=>
      NULL
    }
    [2]=>
    array(3) {
      [1]=>
      NULL
      [2]=>
      NULL
      [3]=>
      NULL
    }
    [3]=>
    array(3) {
      [1]=>
      NULL
      [2]=>
      NULL
      [3]=>
      NULL
    }
  }
}
OK