3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.55 ms | 1395 KiB | 19 Q