3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pg = 0; $vg = 0; $ad = 0; //начальная концентрация никотина $ng_start = 100; //конечная концентрация никотина в готовой жиже $ng_end = 6; // желаемая ёмкость готовой жижи $capacity = 10; $ng_total = $ng_end * $capacity / $ng_start; echo $ng_total;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ImHsd
function name:  (null)
number of ops:  11
compiled vars:  !0 = $pg, !1 = $vg, !2 = $ad, !3 = $ng_start, !4 = $ng_end, !5 = $capacity, !6 = $ng_total
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
    4     1        ASSIGN                                                   !1, 0
    5     2        ASSIGN                                                   !2, 0
    8     3        ASSIGN                                                   !3, 100
   11     4        ASSIGN                                                   !4, 6
   14     5        ASSIGN                                                   !5, 10
   16     6        MUL                                              ~13     !4, !5
          7        DIV                                              ~14     ~13, !3
          8        ASSIGN                                                   !6, ~14
   18     9        ECHO                                                     !6
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.83 ms | 1392 KiB | 13 Q