3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = getDate(); $testName = $test[year] + $test[hour]; echo($testName);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7e4Lv
function name:  (null)
number of ops:  11
compiled vars:  !0 = $test, !1 = $testName
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'getdate'
          1        DO_ICALL                                         $2      
          2        ASSIGN                                                   !0, $2
    5     3        FETCH_CONSTANT                                   ~4      'year'
          4        FETCH_DIM_R                                      ~5      !0, ~4
          5        FETCH_CONSTANT                                   ~6      'hour'
          6        FETCH_DIM_R                                      ~7      !0, ~6
          7        ADD                                              ~8      ~5, ~7
          8        ASSIGN                                                   !1, ~8
    6     9        ECHO                                                     !1
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.02 ms | 1394 KiB | 15 Q