3v4l.org

run code in 300+ PHP versions simultaneously
<?php //Start session session_start(); @include('config.php'); $login= $_POST['username']; $password= $_POST['password']; mysql_query("UPDATE registo SET username='' AND password='' WHERE username='$login' AND password='$password'"); { echo "Deleted Successfully"; }?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ImVfd
function name:  (null)
number of ops:  21
compiled vars:  !0 = $login, !1 = $password
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'session_start'
          1        DO_ICALL                                                 
    5     2        BEGIN_SILENCE                                    ~3      
          3        INCLUDE_OR_EVAL                                          'config.php', INCLUDE
          4        END_SILENCE                                              ~3
    7     5        FETCH_R                      global              ~5      '_POST'
          6        FETCH_DIM_R                                      ~6      ~5, 'username'
          7        ASSIGN                                                   !0, ~6
    8     8        FETCH_R                      global              ~8      '_POST'
          9        FETCH_DIM_R                                      ~9      ~8, 'password'
         10        ASSIGN                                                   !1, ~9
   10    11        INIT_FCALL_BY_NAME                                       'mysql_query'
         12        ROPE_INIT                                     5  ~12     'UPDATE+registo+SET+username%3D%27%27+AND+password%3D%27%27+WHERE+username%3D%27'
         13        ROPE_ADD                                      1  ~12     ~12, !0
         14        ROPE_ADD                                      2  ~12     ~12, '%27+AND+password%3D%27'
         15        ROPE_ADD                                      3  ~12     ~12, !1
         16        ROPE_END                                      4  ~11     ~12, '%27'
         17        SEND_VAL_EX                                              ~11
         18        DO_FCALL                                      0          
   12    19        ECHO                                                     'Deleted+Successfully'
   13    20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.91 ms | 1395 KiB | 15 Q