3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (is_numeric($_GET['id'])) { $id = $_GET['id']; $sql = "INSERT INTO `votes` SET id = {$id}"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 12
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/CV8Pe
function name:  (null)
number of ops:  13
compiled vars:  !0 = $id, !1 = $sql
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'is_numeric'
          1        FETCH_R                      global              ~2      '_GET'
          2        FETCH_DIM_R                                      ~3      ~2, 'id'
          3        SEND_VAL                                                 ~3
          4        DO_ICALL                                         $4      
          5      > JMPZ                                                     $4, ->12
    3     6    >   FETCH_R                      global              ~5      '_GET'
          7        FETCH_DIM_R                                      ~6      ~5, 'id'
          8        ASSIGN                                                   !0, ~6
    4     9        NOP                                                      
         10        FAST_CONCAT                                      ~8      'INSERT+INTO+%60votes%60+SET+id+%3D+', !0
         11        ASSIGN                                                   !1, ~8
    5    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.12 ms | 1394 KiB | 15 Q