3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = "\xf0\xc0\xc0\xa7 or 1=1 -- '"; $q = "SELECT * FROM new_members WHERE member_name='Admin' AND passwd='" . utf8_decode($test) . "' LIMIT 1"; echo $q; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/aW662
function name:  (null)
number of ops:  9
compiled vars:  !0 = $test, !1 = $q
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%F0%C0%C0%A7+or+1%3D1+--+%27'
    4     1        INIT_FCALL                                               'utf8_decode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        CONCAT                                           ~4      'SELECT+%2A+FROM+new_members+WHERE+member_name%3D%27Admin%27+AND+passwd%3D%27', $3
          5        CONCAT                                           ~5      ~4, '%27+LIMIT+1'
          6        ASSIGN                                                   !1, ~5
    6     7        ECHO                                                     !1
    8     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.21 ms | 1394 KiB | 15 Q