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')"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/osCDF
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ADD                                              ~0      'select+count%280%29+from+LOP_ORDERQUEUEHISTORY+oqh1+WHERE+%0A', '%28VERSION_NUMBER%3D%28select+int_value+from+CUSTOMCOUNTER+where+NAME%3D%27versionToLoad%27%29+OR+%0A'
    5     1        ADD                                              ~1      ~0, 'VERSION_NUMBER%3D%28select+INT_PARAMETER_VALUE+from+SERVERPARAMETER+where+PARAMETER_NAME%3D%27loadBaseVersion%2Cint_parameter_value%27+and+%0A'
    6     2        ADD                                              ~2      ~1, '++++++++++++++++VERSION_NUMBER%3D%28select+int_value+from+CUSTOMCOUNTER+where+NAME%3D%27versionToLoad%27%29+%0A'
    7     3        ADD                                              ~3      ~2, 'and+ENGINE_ID+%26+dbo.GET_ENG_ID%28%27LOP%27%29+%3E+0%29+and+ORDER_ID+not+in+%28select+ORDER_ID+from+LOP_ORDERQUEUEHISTORY+oqh2+where+VERSION_NUMBER%3D%28select+int_value+from+CUSTOMCOUNTER+where+NAME%3D%27versionToLoad%27%29+and+oqh2.HISTORY_ID%3E%3Doqh1.HISTORY_ID%29%29+%0A'
    8     4        ADD                                              ~4      ~3, 'and+USER_PROCESSED_BY+is+null+and+QUEUE_ID+in+%28%27BAR%27%2C%27CONF%27%2C%27FIN%27%2C%27HL%27%2C%27TT%27%2C%27TUBE%27%2C%27WAIT%27%29'
          5        ECHO                                                     ~4
    9     6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.26 ms | 1393 KiB | 13 Q