3v4l.org

run code in 300+ PHP versions simultaneously
<?php $n = 25; $x = ((($n - 0) * (1000 - 100)) / (100 - 0)) + 100; print $x;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iIn0m
function name:  (null)
number of ops:  8
compiled vars:  !0 = $n, !1 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 25
    5     1        SUB                                              ~3      !0, 0
          2        MUL                                              ~4      ~3, 900
          3        DIV                                              ~5      ~4, 100
          4        ADD                                              ~6      ~5, 100
          5        ASSIGN                                                   !1, ~6
    6     6        ECHO                                                     !1
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.2 ms | 1384 KiB | 13 Q