3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(101, 102, 103); $b = array(102, 100); $res = array_unique(array_merge($a, $b)); var_dump($res); var_dump(array_explode(",", $res));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LsbXQ
function name:  (null)
number of ops:  21
compiled vars:  !0 = $a, !1 = $b, !2 = $res
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    6     2        INIT_FCALL                                               'array_unique'
          3        INIT_FCALL                                               'array_merge'
          4        SEND_VAR                                                 !0
          5        SEND_VAR                                                 !1
          6        DO_ICALL                                         $5      
          7        SEND_VAR                                                 $5
          8        DO_ICALL                                         $6      
          9        ASSIGN                                                   !2, $6
    7    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !2
         12        DO_ICALL                                                 
    8    13        INIT_FCALL                                               'var_dump'
         14        INIT_FCALL_BY_NAME                                       'array_explode'
         15        SEND_VAL_EX                                              '%2C'
         16        SEND_VAR_EX                                              !2
         17        DO_FCALL                                      0  $9      
         18        SEND_VAR                                                 $9
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.64 ms | 1395 KiB | 19 Q