3v4l.org

run code in 300+ PHP versions simultaneously
<?php $referenz_Zahl = 5; $aktuelle_Zahl = 1.5; $Abstand = 1; $ergebnis = 0; #&& is_int($ergebnis) && $ergebnis % $Abstand && is_int($ergebnis) if($aktuelle_Zahl < $referenz_Zahl) { do { $ergebnis = $ergebnis + $aktuelle_Zahl + $Abstand ; }while($ergebnis < $aktuelle_Zahl); echo '<br />IN der Schleife: '.$ergebnis; echo '<br />ERGEBNIS: '.$ergebnis; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 15
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 6
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
Branch analysis from position: 15
filename:       /in/UtZ4J
function name:  (null)
number of ops:  16
compiled vars:  !0 = $referenz_Zahl, !1 = $aktuelle_Zahl, !2 = $Abstand, !3 = $ergebnis
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 5
    4     1        ASSIGN                                                   !1, 1.5
    5     2        ASSIGN                                                   !2, 1
    6     3        ASSIGN                                                   !3, 0
   10     4        IS_SMALLER                                               !1, !0
          5      > JMPZ                                                     ~8, ->15
   15     6    >   ADD                                              ~9      !3, !1
          7        ADD                                              ~10     ~9, !2
          8        ASSIGN                                                   !3, ~10
   17     9        IS_SMALLER                                               !3, !1
         10      > JMPNZ                                                    ~12, ->6
   20    11    >   CONCAT                                           ~13     '%3Cbr+%2F%3EIN+der+Schleife%3A+', !3
         12        ECHO                                                     ~13
   23    13        CONCAT                                           ~14     '%3Cbr+%2F%3EERGEBNIS%3A+', !3
         14        ECHO                                                     ~14
   40    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.53 ms | 1393 KiB | 13 Q