3v4l.org

run code in 300+ PHP versions simultaneously
<?php phpversion() == "7.0.0beta1" or die(); echo 2 / 0, "\n"; echo 2 % 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/5dgL1
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'phpversion'
          1        DO_ICALL                                         $0      
          2        IS_EQUAL                                         ~1      $0, '7.0.0beta1'
          3      > JMPNZ_EX                                         ~1      ~1, ->6
          4    > > EXIT                                                     
          5*       BOOL                                             ~1      <true>
    4     6    >   DIV                                              ~2      2, 0
          7        ECHO                                                     ~2
          8        ECHO                                                     '%0A'
    5     9        MOD                                              ~3      2, 0
         10        ECHO                                                     ~3
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.3 ms | 1394 KiB | 15 Q