3v4l.org

run code in 300+ PHP versions simultaneously
<?php list($shippingType, $paymentMethod, $dropShipmentType) = array_map('trim', explode(',', '0,1')); var_dump($dropShipmentType);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cCglB
function name:  (null)
number of ops:  19
compiled vars:  !0 = $shippingType, !1 = $paymentMethod, !2 = $dropShipmentType
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'array_map'
          1        SEND_VAL                                                 'trim'
          2        INIT_FCALL                                               'explode'
          3        SEND_VAL                                                 '%2C'
          4        SEND_VAL                                                 '0%2C1'
          5        DO_ICALL                                         $3      
          6        SEND_VAR                                                 $3
          7        DO_ICALL                                         $4      
          8        FETCH_LIST_R                                     $5      $4, 0
          9        ASSIGN                                                   !0, $5
         10        FETCH_LIST_R                                     $7      $4, 1
         11        ASSIGN                                                   !1, $7
         12        FETCH_LIST_R                                     $9      $4, 2
         13        ASSIGN                                                   !2, $9
         14        FREE                                                     $4
    5    15        INIT_FCALL                                               'var_dump'
         16        SEND_VAR                                                 !2
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.95 ms | 1394 KiB | 19 Q