3v4l.org

run code in 500+ PHP versions simultaneously
<?php $a = 1; $b = 2; if ($a != 0 && $b != 0) { $c = 4 * ($a + $b); $d = Math.round($c * 1.1 / $a); $e = Math.round($c / $b); } $sql1 = "UPDATE login SET Punteggio = Punteggio + $d WHERE Risultato = $score"; echo $sql1;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 25
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 25
Branch analysis from position: 6
filename:       /in/DeM62
function name:  (null)
number of ops:  32
compiled vars:  !0 = $a, !1 = $b, !2 = $c, !3 = $d, !4 = $e, !5 = $sql1, !6 = $score
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, 1
    3     1        ASSIGN                                                       !1, 2
    4     2        IS_NOT_EQUAL                                         ~9      !0, 0
          3      > JMPZ_EX                                              ~9      ~9, ->6
          4    >   IS_NOT_EQUAL                                         ~10     !1, 0
          5        BOOL                                                 ~9      ~10
          6    > > JMPZ                                                         ~9, ->25
    5     7    >   ADD                                                  ~11     !0, !1
          8        MUL                                                  ~12     ~11, 4
          9        ASSIGN                                                       !2, ~12
    6    10        FETCH_CONSTANT                                       ~14     'Math'
         11        INIT_FCALL                                                   'round'
         12        MUL                                                  ~15     !2, 1.1
         13        DIV                                                  ~16     ~15, !0
         14        SEND_VAL                                                     ~16
         15        DO_ICALL                                             $17     
         16        CONCAT                                               ~18     ~14, $17
         17        ASSIGN                                                       !3, ~18
    7    18        FETCH_CONSTANT                                       ~20     'Math'
         19        INIT_FCALL                                                   'round'
         20        DIV                                                  ~21     !2, !1
         21        SEND_VAL                                                     ~21
         22        DO_ICALL                                             $22     
         23        CONCAT                                               ~23     ~20, $22
         24        ASSIGN                                                       !4, ~23
    9    25    >   ROPE_INIT                                         4  ~26     'UPDATE+login+SET+Punteggio+%3D+Punteggio+%2B+'
         26        ROPE_ADD                                          1  ~26     ~26, !3
         27        ROPE_ADD                                          2  ~26     ~26, '+WHERE+Risultato+%3D+'
         28        ROPE_END                                          3  ~25     ~26, !6
         29        ASSIGN                                                       !5, ~25
   10    30        ECHO                                                         !5
   11    31      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
228.45 ms | 2246 KiB | 14 Q