3v4l.org

run code in 300+ PHP versions simultaneously
<?php phpversion() >= "7.0.0beta1" or die(); echo INF / 0; echo intdiv(INF,0);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kevO8
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'phpversion'
          1        DO_ICALL                                         $0      
          2        IS_SMALLER_OR_EQUAL                              ~1      '7.0.0beta1', $0
          3      > JMPNZ_EX                                         ~1      ~1, ->6
          4    > > EXIT                                                     
          5*       BOOL                                             ~1      <true>
    4     6    >   DIV                                              ~2      INF, 0
          7        ECHO                                                     ~2
    5     8        INIT_FCALL                                               'intdiv'
          9        SEND_VAL                                                 INF
         10        SEND_VAL                                                 0
         11        DO_ICALL                                         $3      
         12        ECHO                                                     $3
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.69 ms | 1394 KiB | 17 Q