3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.47 ms | 1395 KiB | 17 Q