3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo 'SELECT COUNT(*) FROM `#__vip_prices` WHERE `date` <='. date('Y-m-d H:i:s', time()) .' AND `client_type` = corp ORDER BY `date` DESC';
based on O7HTr
Output for 4.3.0 - 7.2.0
SELECT COUNT(*) FROM `#__vip_prices` WHERE `date` <=2014-12-21 10:52:34 AND `client_type` = corp ORDER BY `date` DESC