3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "wow"; $name="wow"; $pass="wow"; echo sprintf("select id, username from users where username='%s' and password'%s'", mysql_real_escape_string($name), mysql_real_escape_string($pass)); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jZe6d
function name:  (null)
number of ops:  16
compiled vars:  !0 = $name, !1 = $pass
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     'wow'
    3     1        ASSIGN                                                   !0, 'wow'
    4     2        ASSIGN                                                   !1, 'wow'
    5     3        INIT_FCALL                                               'sprintf'
          4        SEND_VAL                                                 'select+id%2C+username+from+users+where+username%3D%27%25s%27+and+password%27%25s%27'
          5        INIT_FCALL_BY_NAME                                       'mysql_real_escape_string'
          6        SEND_VAR_EX                                              !0
          7        DO_FCALL                                      0  $4      
          8        SEND_VAR                                                 $4
          9        INIT_FCALL_BY_NAME                                       'mysql_real_escape_string'
         10        SEND_VAR_EX                                              !1
         11        DO_FCALL                                      0  $5      
         12        SEND_VAR                                                 $5
         13        DO_ICALL                                         $6      
         14        ECHO                                                     $6
    6    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.41 ms | 1394 KiB | 15 Q