3v4l.org

run code in 200+ PHP versions simultaneously
<?php $id_stud = '123456789'; echo "select * from student where student_id = '$id_stud'";
Output for 5.6.0 - 7.3.1
select * from student where student_id = '123456789'