3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array("name1, name2, name3"); $parts = explode(", ", $array[0]); var_dump(in_array("name1", $parts));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/G0QEN
function name:  (null)
number of ops:  15
compiled vars:  !0 = $array, !1 = $parts
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%2C+'
          3        FETCH_DIM_R                                      ~3      !0, 0
          4        SEND_VAL                                                 ~3
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !1, $4
    5     7        INIT_FCALL                                               'var_dump'
          8        INIT_FCALL                                               'in_array'
          9        SEND_VAL                                                 'name1'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $6      
         12        SEND_VAR                                                 $6
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.82 ms | 939 KiB | 20 Q