3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 2; $b = 3; $c = 4; for ($i = 0; $i < 1000; $i++) { if ($b*$b - 4*$a*$c>=0) { echo 'x='.(-$b - sqrt($b*$b - 4*$a*$c))/(2*$a).' v x='.(-$b + sqrt($b*$b - 4*$a*$c))/(2*$a); } else { echo 'Funkcja nie posiada miejsc zerowych.'; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 40
Branch analysis from position: 40
2 jumps found. (Code = 44) Position 1 = 42, Position 2 = 5
Branch analysis from position: 42
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 38
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 39
Branch analysis from position: 39
2 jumps found. (Code = 44) Position 1 = 42, Position 2 = 5
Branch analysis from position: 42
Branch analysis from position: 5
Branch analysis from position: 38
2 jumps found. (Code = 44) Position 1 = 42, Position 2 = 5
Branch analysis from position: 42
Branch analysis from position: 5
filename:       /in/j7Vul
function name:  (null)
number of ops:  43
compiled vars:  !0 = $a, !1 = $b, !2 = $c, !3 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 2
    4     1        ASSIGN                                                   !1, 3
    5     2        ASSIGN                                                   !2, 4
    7     3        ASSIGN                                                   !3, 0
          4      > JMP                                                      ->40
    8     5    >   MUL                                              ~8      !1, !1
          6        MUL                                              ~9      !0, 4
          7        MUL                                              ~10     !2, ~9
          8        SUB                                              ~11     ~8, ~10
          9        IS_SMALLER_OR_EQUAL                                      0, ~11
         10      > JMPZ                                                     ~12, ->38
   10    11    >   MUL                                              ~13     !1, -1
         12        INIT_FCALL                                               'sqrt'
         13        MUL                                              ~14     !1, !1
         14        MUL                                              ~15     !0, 4
         15        MUL                                              ~16     !2, ~15
         16        SUB                                              ~17     ~14, ~16
         17        SEND_VAL                                                 ~17
         18        DO_ICALL                                         $18     
         19        SUB                                              ~19     ~13, $18
         20        MUL                                              ~20     !0, 2
         21        DIV                                              ~21     ~19, ~20
         22        CONCAT                                           ~22     'x%3D', ~21
         23        CONCAT                                           ~23     ~22, '+v+x%3D'
         24        MUL                                              ~24     !1, -1
         25        INIT_FCALL                                               'sqrt'
         26        MUL                                              ~25     !1, !1
         27        MUL                                              ~26     !0, 4
         28        MUL                                              ~27     !2, ~26
         29        SUB                                              ~28     ~25, ~27
         30        SEND_VAL                                                 ~28
         31        DO_ICALL                                         $29     
         32        ADD                                              ~30     ~24, $29
         33        MUL                                              ~31     !0, 2
         34        DIV                                              ~32     ~30, ~31
         35        CONCAT                                           ~33     ~23, ~32
         36        ECHO                                                     ~33
         37      > JMP                                                      ->39
   14    38    >   ECHO                                                     'Funkcja+nie+posiada+miejsc+zerowych.'
    7    39    >   PRE_INC                                                  !3
         40    >   IS_SMALLER                                               !3, 1000
         41      > JMPNZ                                                    ~35, ->5
   16    42    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.05 ms | 1392 KiB | 15 Q