3v4l.org

run code in 300+ PHP versions simultaneously
<?php $presets[1] = array( 'filename' => array( 'main' => 'kn{$film_id}.mp4', 'trailer' => 'kn{$film_id}_preview.mp4', 'meta' => '1355871_Kinonation_{$now["YYMMDD"]}_NEW.xlsx', ) ); $main_tpl = $presets[1]['filename']['main']; $film_id = 99; $now["Ymd"] = date("Ymd"); echo $main_tpl;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gcIr7
function name:  (null)
number of ops:  14
compiled vars:  !0 = $presets, !1 = $main_tpl, !2 = $film_id, !3 = $now
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0, 1
    5     1        OP_DATA                                                  <array>
   11     2        FETCH_DIM_R                                      ~5      !0, 1
          3        FETCH_DIM_R                                      ~6      ~5, 'filename'
          4        FETCH_DIM_R                                      ~7      ~6, 'main'
          5        ASSIGN                                                   !1, ~7
   12     6        ASSIGN                                                   !2, 99
   13     7        INIT_FCALL                                               'date'
          8        SEND_VAL                                                 'Ymd'
          9        DO_ICALL                                         $11     
         10        ASSIGN_DIM                                               !3, 'Ymd'
         11        OP_DATA                                                  $11
   15    12        ECHO                                                     !1
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.74 ms | 1394 KiB | 15 Q