3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = '2100'; $b = '1900'; $c = $a - ($b / (($a / 10000) + 1)); echo $c;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1e3Cp
function name:  (null)
number of ops:  9
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '2100'
    3     1        ASSIGN                                                   !1, '1900'
    4     2        DIV                                              ~5      !0, 10000
          3        ADD                                              ~6      ~5, 1
          4        DIV                                              ~7      !1, ~6
          5        SUB                                              ~8      !0, ~7
          6        ASSIGN                                                   !2, ~8
    5     7        ECHO                                                     !2
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.36 ms | 1392 KiB | 13 Q