3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.17 ms | 1398 KiB | 19 Q