3v4l.org

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