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/KRhob
function name:  (null)
number of ops:  9
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_DIM_R                                      ~4      !0, 'year'
          4        FETCH_DIM_R                                      ~5      !0, 'hour'
          5        ADD                                              ~6      ~4, ~5
          6        ASSIGN                                                   !1, ~6
    6     7        ECHO                                                     !1
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.46 ms | 1394 KiB | 15 Q