3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
136.58 ms | 1400 KiB | 15 Q