3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo "select count(0) from LOP_ORDERQUEUEHISTORY oqh1 WHERE \n" + "(VERSION_NUMBER=(select int_value from CUSTOMCOUNTER where NAME='versionToLoad') OR \n" + "VERSION_NUMBER=(select INT_PARAMETER_VALUE from SERVERPARAMETER where PARAMETER_NAME='loadBaseVersion,int_parameter_value' and \n" + " VERSION_NUMBER=(select int_value from CUSTOMCOUNTER where NAME='versionToLoad') \n" + "and ENGINE_ID & dbo.GET_ENG_ID('LOP') > 0) and ORDER_ID not in (select ORDER_ID from LOP_ORDERQUEUEHISTORY oqh2 where VERSION_NUMBER=(select int_value from CUSTOMCOUNTER where NAME='versionToLoad') and oqh2.HISTORY_ID>=oqh1.HISTORY_ID)) \n" + "and USER_PROCESSED_BY is null and QUEUE_ID in ('BAR','CONF','FIN','HL','TT','TUBE','WAIT')"; ?>
Output for 7.1.0
Warning: A non-numeric value encountered in /in/osCDF on line 4 Warning: A non-numeric value encountered in /in/osCDF on line 4 Warning: A non-numeric value encountered in /in/osCDF on line 5 Warning: A non-numeric value encountered in /in/osCDF on line 6 Warning: A non-numeric value encountered in /in/osCDF on line 7 Warning: A non-numeric value encountered in /in/osCDF on line 8 0
Output for 5.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.0.14
0