3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $sql1=$sql2 = "SELECT assignment_activities.* FROM (assignment_activities) WHERE `iAssignmentId` = '1' ORDER BY assignment_activities.iAssignmentActivityId DESC LIMIT 10"; echo substr($sql1, 0, strrpos($sql2, "limit"));
Output for 4.3.0 - 7.1.0