3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i1 = str_split("abc"); $i1 = str_split("adcd"); print_r( array_dif($i1,$i2)); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/I35a0
function name:  (null)
number of ops:  16
compiled vars:  !0 = $i1, !1 = $i2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'str_split'
          1        SEND_VAL                                                 'abc'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    4     4        INIT_FCALL                                               'str_split'
          5        SEND_VAL                                                 'adcd'
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !0, $4
    5     8        INIT_FCALL                                               'print_r'
          9        INIT_FCALL_BY_NAME                                       'array_dif'
         10        SEND_VAR_EX                                              !0
         11        SEND_VAR_EX                                              !1
         12        DO_FCALL                                      0  $6      
         13        SEND_VAR                                                 $6
         14        DO_ICALL                                                 
   11    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.26 ms | 1394 KiB | 17 Q