3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dogs = [ ['breed' => 'Cocker Spaniel', 'name' => ' Jypsy', 'size' => [ 'width'=> 5, 'height'=> 10]], ['breed' => 'german ', 'name' => ' Jypsy', 'size' => [ 'width'=>5, 'height'=> 10]], ['breed' => 'Shiba Inu', 'name' => ' Kotetsu', 'size' => [ 'width'=> 5, 'height'=> 10]], ['breed' => 'Unknown', 'name' => ' Sheru ', 'size' => [ 'width'=>5, 'height'=> 10]], ]; echo '<div>' . $dogs[0]['name'] . '</div>'; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/asPps
function name:  (null)
number of ops:  7
compiled vars:  !0 = $dogs
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   16     1        FETCH_DIM_R                                      ~2      !0, 0
          2        FETCH_DIM_R                                      ~3      ~2, 'name'
          3        CONCAT                                           ~4      '%3Cdiv%3E', ~3
          4        CONCAT                                           ~5      ~4, '%3C%2Fdiv%3E'
          5        ECHO                                                     ~5
   17     6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.97 ms | 1392 KiB | 13 Q