3v4l.org

run code in 300+ PHP versions simultaneously
<?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 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
Fatal error: Uncaught TypeError: Unsupported operand types: string + string in /in/osCDF:4 Stack trace: #0 {main} thrown in /in/osCDF on line 4
Process exited with code 255.
Output for 7.1.0 - 7.1.20, 7.2.6 - 7.2.33, 7.3.12 - 7.3.33, 7.4.0 - 7.4.33
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.3.29, 5.4.0 - 5.4.45, 5.5.24 - 5.5.35, 5.6.7 - 5.6.28, 7.0.0 - 7.0.20
0

preferences:
209.69 ms | 402 KiB | 260 Q