3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sql = "SELECT fc.forum_id,count(fc.forum_id)as total_comments ". "FROM ForumComments as fc ". "WHERE DATE_SUB( CURDATE( ) , INTERVAL 1 DAY ) <= fc.updated_at ". "GROUP BY fc.forum_id ". "ORDER BY total_comments DESC "; echo($sql); }
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.30
Parse error: syntax error, unexpected '}' in /in/Ju2Ac on line 12
Process exited with code 255.

preferences:
187.68 ms | 1395 KiB | 67 Q