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" ); $newarray=array(); $k = explode($ck[0],"."); print_r($k);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/e2BqU
function name:  (null)
number of ops:  13
compiled vars:  !0 = $arr, !1 = $ck, !2 = $newarray, !3 = $k
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   33     1        ASSIGN                                                   !1, <array>
   41     2        ASSIGN                                                   !2, <array>
   44     3        INIT_FCALL                                               'explode'
          4        FETCH_DIM_R                                      ~7      !1, 0
          5        SEND_VAL                                                 ~7
          6        SEND_VAL                                                 '.'
          7        DO_ICALL                                         $8      
          8        ASSIGN                                                   !3, $8
   45     9        INIT_FCALL                                               'print_r'
         10        SEND_VAR                                                 !3
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.03 ms | 1394 KiB | 17 Q