3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 42 / 0; var_dump($x); $y = 4.5% 1.7; var_dump($y); $m = 1337 % 0;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uk8pV
function name:  (null)
number of ops:  12
compiled vars:  !0 = $x, !1 = $y, !2 = $m
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DIV                                              ~3      42, 0
          1        ASSIGN                                                   !0, ~3
    5     2        INIT_FCALL                                               'var_dump'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                                 
    7     5        ASSIGN                                                   !1, 0
    9     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
   11     9        MOD                                              ~8      1337, 0
         10        ASSIGN                                                   !2, ~8
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.92 ms | 1394 KiB | 15 Q