<?php $time=6; switch (true){ case $time > 7: echo "time is true"; break; case $time < 7: echo "time is false"; break; } ?>
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter