3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = explode('-','1'); $min = $d[0]; $max = $d[1] || -1; print_r($min); print_r($max);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 9, Position 2 = 10
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/famp8
function name:  (null)
number of ops:  18
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      > JMPNZ_EX                                         ~7      ~7, ->10
          9    >   BOOL                                             ~7      -1
         10    >   ASSIGN                                                   !2, ~7
    8    11        INIT_FCALL                                               'print_r'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                                 
    9    14        INIT_FCALL                                               'print_r'
         15        SEND_VAR                                                 !2
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.04 ms | 1394 KiB | 17 Q