3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr=Array ( 0 => Array ( "Title" => "La science des rĂªves", "Year" => "2006", "Director" => Array ( "Name" => "Michel Gondry", "BirthYear" => "1963", "BirthPlace" => "Versailles, Yvelines, France" ) ), 1 => Array ( "Title" => "Arizona Dream", "Year" => "1992", "Director" => Array ( "Name" => "Emir Kusturica", "BirthYear" => "1954", "BirthPlace" => "Sarajevo, Bosnia and Herzegovina, Yugoslavia" ) ) ); $ck=Array ( 0 => Title, 1 => Director.Name, 2 => Director.BirthYear ); print_r($arr);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/X08BO
function name:  (null)
number of ops:  16
compiled vars:  !0 = $arr, !1 = $ck
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   35     1        FETCH_CONSTANT                                   ~3      'Title'
          2        INIT_ARRAY                                       ~4      ~3, 0
   36     3        FETCH_CONSTANT                                   ~5      'Director'
          4        FETCH_CONSTANT                                   ~6      'Name'
          5        CONCAT                                           ~7      ~5, ~6
          6        ADD_ARRAY_ELEMENT                                ~4      ~7, 1
   37     7        FETCH_CONSTANT                                   ~8      'Director'
          8        FETCH_CONSTANT                                   ~9      'BirthYear'
          9        CONCAT                                           ~10     ~8, ~9
         10        ADD_ARRAY_ELEMENT                                ~4      ~10, 2
   33    11        ASSIGN                                                   !1, ~4
   39    12        INIT_FCALL                                               'print_r'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.86 ms | 1394 KiB | 15 Q