3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php const LOOKUP_TABLE = ["536576656e","612e6d2e2c","77616b696e67","7570","696e","746865","6d6f726e696e670a476f747461","6265","66726573682c","676f747461","676f","646f776e7374616972730a476f747461","68617665","6d79","626f776c2c","63657265616c0a536565696e27","65766572797468696e672c","74696d65","6973","676f696e270a5469636b696e27","6f6e","616e64","6f6e2c","6576657279626f64792773","72757368696e270a476f747461","676574","646f776e","746f","627573","73746f700a476f747461","6361746368","6275732c","49","736565","667269656e6473","284d79","667269656e6473290a0a4b69636b696e27","66726f6e74","736561740a53697474696e27","6261636b","736561740a476f747461","6d616b65","6d696e64","75700a5768696368","73656174","63616e","74616b653f0a0a49742773","4672696461792c","4672696461790a476f747461","4672696461790a4576657279626f64792773","6c6f6f6b696e27","666f7277617264","7765656b656e642c","7765656b656e640a4672696461792c","4672696461790a47657474696e27","7765656b656e640a0a5061727479696e272c","7061727479696e27","2859656168290a5061727479696e272c","2859656168290a46756e2c","66756e2c","66756e0a4c6f6f6b696e27","7765656b656e640a0a373a34352c","7765277265","64726976696e27","686967687761790a4372756973696e27","736f","666173742c","77616e74","666c790a46756e2c","7468696e6b","61626f7574","66756e0a596f75","6b6e6f77","77686174","6974","69730a49","676f74","746869732c","796f75","746869730a4d79","667269656e64","6279","72696768742c","61790a49","746869730a4e6f77","69740a0a4b69636b696e27","7765656b656e640a0a596573746572646179","776173","54687572736461792c","54687572736461790a546f646179","692d6973","467269646179","285061727479696e27290a57652d77652d7765","657863697465640a5765","676f6e6e61","61","62616c6c","746f6461790a0a546f6d6f72726f77","53617475726461790a416e64","53756e646179","636f6d6573","6166746572","2e2e2e","77617264730a49","646f6e2774","74686973","7765656b656e64","656e640a0a522d422c","52656265636361","426c61636b0a536f","6368696c6c696e27","28496e","73656174290a496e","73656174290a49276d","64726976696e272c","6372756973696e27","28596561682c","79656168290a46617374","6c616e65732c","737769746368696e27","6c616e65730a57697427","636172","73696465","28576f6f21290a2843276d6f6e29","50617373696e27","7363686f6f6c","6f66","6d650a4d616b6573","7469636b","746f636b2c","77616e6e61","73637265616d0a436865636b","74696d652c","69742773","7765656b656e640a5765","63276d6f6e2c","7927616c6c0a0a49742773","7765656b656e640a0a49742773","7765656b656e64212121210a"]; const LOOKUP_2 = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,9,12,15,16,5,17,18,19,20,21,22,23,24,25,26,27,5,28,29,30,13,31,32,33,13,34,35,36,4,5,37,38,4,5,39,40,41,13,42,43,44,45,32,46,47,48,25,26,20,49,50,51,27,5,52,53,54,26,20,49,50,51,27,5,55,56,57,56,58,59,59,60,51,27,5,61,62,63,20,5,64,65,66,32,67,17,27,68,59,69,70,71,72,73,74,75,76,77,78,76,79,80,18,81,13,82,83,76,77,78,76,84,78,72,85,4,5,37,38,4,5,39,40,41,13,42,43,44,45,32,46,47,48,25,26,20,49,50,51,27,5,52,53,54,26,20,49,50,51,27,5,55,56,57,56,58,59,59,60,51,27,5,86,87,88,89,90,47,91,92,65,93,65,93,94,12,95,96,97,18,98,99,100,101,102,103,104,67,105,106,27,107,108,109,110,4,5,37,44,111,5,37,112,5,39,44,111,5,39,113,114,115,116,117,118,119,120,95,121,3,20,13,122,123,124,81,18,95,125,28,4,37,126,127,128,129,128,129,130,131,13,132,133,47,133,95,134,94,12,59,135,135,136,47,48,25,26,20,49,50,51,27,5,52,53,54,26,20,49,50,51,27,5,55,56,57,56,58,59,59,60,51,27,5,137,47,48,25,26,20,49,50,51,27,5,52,53,54,26,20,49,50,51,27,5,55,56,57,56,58,59,59,60,51,27,5,138]; var_export(array_combine(LOOKUP_TABLE, LOOKUP_2));
based on O2sH4
Output for 5.6.7 - 7.2.0
Warning: array_combine(): Both parameters should have an equal number of elements in /in/k1pvV on line 6 false
Output for 5.4.0 - 5.5.35
Fatal error: Arrays are not allowed as constants in /in/k1pvV on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/k1pvV on line 3
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.2.17
Parse error: syntax error, unexpected T_CONST in /in/k1pvV on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_CONST in /in/k1pvV on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/k1pvV on line 3
Process exited with code 255.