3v4l.org

run code in 300+ PHP versions simultaneously
<?php $need = range(0,40); $nice = range(41,100); $arr = array_merge($need, $nice); var_dump(count($arr));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WUiRc
function name:  (null)
number of ops:  20
compiled vars:  !0 = $need, !1 = $nice, !2 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'range'
          1        SEND_VAL                                                 0
          2        SEND_VAL                                                 40
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !0, $3
    3     5        INIT_FCALL                                               'range'
          6        SEND_VAL                                                 41
          7        SEND_VAL                                                 100
          8        DO_ICALL                                         $5      
          9        ASSIGN                                                   !1, $5
    5    10        INIT_FCALL                                               'array_merge'
         11        SEND_VAR                                                 !0
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                         $7      
         14        ASSIGN                                                   !2, $7
    7    15        INIT_FCALL                                               'var_dump'
         16        COUNT                                            ~9      !2
         17        SEND_VAL                                                 ~9
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.2 ms | 1394 KiB | 19 Q