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

Environment:

  • Strangebuzz Snippet VM: 6.4.2
  • PHP: 8.3

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