3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 1; $b = 2.5; $c = 0xFF; $d = $b + $c; $e = $d * $b; $f = ($d + $e) % $a; print ($f + $e);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/orhqN
function name:  (null)
number of ops:  13
compiled vars:  !0 = $a, !1 = $b, !2 = $c, !3 = $d, !4 = $e, !5 = $f
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1
    3     1        ASSIGN                                                   !1, 2.5
    4     2        ASSIGN                                                   !2, 255
    5     3        ADD                                              ~9      !1, !2
          4        ASSIGN                                                   !3, ~9
    6     5        MUL                                              ~11     !3, !1
          6        ASSIGN                                                   !4, ~11
    7     7        ADD                                              ~13     !3, !4
          8        MOD                                              ~14     ~13, !0
          9        ASSIGN                                                   !5, ~14
    8    10        ADD                                              ~16     !5, !4
         11        ECHO                                                     ~16
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.37 ms | 1384 KiB | 13 Q