3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.99 ms | 1394 KiB | 17 Q