3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array( array("string 1"), array("string 2"), array("string 3") ); // string 3 echo $arr[2][0]; // Notice: Array to string conversion // Var dump: string(8) "Array[0]" echo <<<EOT {$arr[2][0]} EOT;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/n7KT3
function name:  (null)
number of ops:  9
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   10     1        FETCH_DIM_R                                      ~2      !0, 2
          2        FETCH_DIM_R                                      ~3      ~2, 0
          3        ECHO                                                     ~3
   15     4        FETCH_DIM_R                                      ~4      !0, 2
          5        FETCH_DIM_R                                      ~5      ~4, 0
          6        CAST                                          6  ~6      ~5
          7        ECHO                                                     ~6
   17     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.61 ms | 1392 KiB | 13 Q