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/d3gQA
function name:  (null)
number of ops:  21
compiled vars:  !0 = $shippingType, !1 = $paymentMethod, !2 = $dropShipmentType
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   BEGIN_SILENCE                                    ~3      
          1        INIT_FCALL                                               'array_map'
          2        SEND_VAL                                                 'trim'
          3        INIT_FCALL                                               'explode'
          4        SEND_VAL                                                 '%2C'
          5        SEND_VAL                                                 '0%2C1'
          6        DO_ICALL                                         $4      
          7        SEND_VAR                                                 $4
          8        DO_ICALL                                         $5      
          9        FETCH_LIST_R                                     $6      $5, 0
         10        ASSIGN                                                   !0, $6
         11        FETCH_LIST_R                                     $8      $5, 1
         12        ASSIGN                                                   !1, $8
         13        FETCH_LIST_R                                     $10     $5, 2
         14        ASSIGN                                                   !2, $10
         15        END_SILENCE                                              ~3
         16        FREE                                                     $5
    5    17        INIT_FCALL                                               'var_dump'
         18        SEND_VAR                                                 !2
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.08 ms | 1399 KiB | 19 Q