3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ 'text', 5.4, new DateTime(), 7, ]; var_dump($array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eYSSj
function name:  (null)
number of ops:  11
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_ARRAY                                       ~1      'text'
    5     1        ADD_ARRAY_ELEMENT                                ~1      5.4
    6     2        NEW                                              $2      'DateTime'
          3        DO_FCALL                                      0          
          4        ADD_ARRAY_ELEMENT                                ~1      $2
    7     5        ADD_ARRAY_ELEMENT                                ~1      7
    3     6        ASSIGN                                                   !0, ~1
   10     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.49 ms | 1398 KiB | 15 Q