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["YYMMDD"] = date("YYMMDD"); echo $now["Ymd"];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uZ8nH
function name:  (null)
number of ops:  15
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                                                 'YYMMDD'
          9        DO_ICALL                                         $11     
         10        ASSIGN_DIM                                               !3, 'YYMMDD'
         11        OP_DATA                                                  $11
   14    12        FETCH_DIM_R                                      ~12     !3, 'Ymd'
         13        ECHO                                                     ~12
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.48 ms | 1394 KiB | 15 Q