3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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; ?>
based on le4Ng
Output for 4.3.0 - 7.2.0
SELECT * FROM new_members WHERE member_name='Admin' AND passwd='\xf0\xc0\xc0\xa7 or 1=1 -- ' LIMIT 1