3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "id[hi]=2&action=save&title=Corporate+Identity&short=identity&colour=%23ff751a&categoryID=1&bookURL=%2Ffiles%2Fbooks%2Fart_of_corporate_identity.pdf&bookImage=%2Ffiles%2Fimages%2Farticle-thumbs%2Fidentity.png&intro=%3Cp%3E%3Cbr+data-mce-bogus%3D%221%22%3E%3C%2Fp%3E&section%5B%5D%5Btitle%5D=Your+current+identity&section%5B%5D%5Bquestion%5D%5B%5D%5Btype%5D=5&section%5B%5D%5Bquestion%5D%5B%5D%5Btext%5D=What's+going+on+here%3F&section%5B%5D%5Bquestion%5D%5B%5D%5Boption%5D%5B%5D=This+is+option+1&section%5B%5D%5Bquestion%5D%5B%5D%5Boption%5D%5B%5D=Option+2!&section%5B%5D%5Bquestion%5D%5B%5D%5Boption%5D%5B%5D=And+number+3!&section%5B%5D%5Bquestion%5D%5B%5D%5Btype%5D=1&section%5B%5D%5Bquestion%5D%5B%5D%5Btext%5D=Hi&section%5B%5D%5Bquestion%5D%5B%5D%5Btype%5D=1&section%5B%5D%5Bquestion%5D%5B%5D%5Btext%5D=Hello&section%5B%5D%5Btitle%5D=Identity+management&section%5B%5D%5Btitle%5D=Brand+building&section%5B%5D%5Btitle%5D=Recognition&section%5B%5D%5Btitle%5D=Your+views+on+change&section%5B%5D%5Btitle%5D=Developing+a+new+identity"; $p = array_chunk(preg_split('/[&=]/', $s), 2); preg_match('/(\A[\[\]]*([^\[\]]+)\]*(.*))/', "id[]test[]q[][title]", $matches); echo var_dump($matches);

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.0150.00318.97
8.3.30.0070.00718.83
8.3.20.0040.00418.86
8.3.10.0060.00321.09
8.3.00.0050.00221.76
8.2.170.0140.00022.96
8.2.160.0100.00320.39
8.2.150.0070.00724.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0080.00020.95
8.2.110.0070.00320.86
8.2.100.0080.00417.91
8.2.90.0040.00419.35
8.2.80.0060.00317.97
8.2.70.0090.00317.75
8.2.60.0000.00818.04
8.2.50.0040.00418.10
8.2.40.0000.00818.16
8.2.30.0020.00519.45
8.2.20.0050.00217.79
8.2.10.0030.00617.86
8.2.00.0030.00617.82
8.1.270.0040.00423.99
8.1.260.0060.00326.35
8.1.250.0000.00828.09
8.1.240.0060.00319.50
8.1.230.0070.00417.70
8.1.220.0030.00517.80
8.1.210.0040.00618.77
8.1.200.0050.00517.48
8.1.190.0030.00617.36
8.1.180.0030.00518.10
8.1.170.0090.00018.62
8.1.160.0000.00718.84
8.1.150.0040.00418.82
8.1.140.0040.00417.60
8.1.130.0070.00017.91
8.1.120.0040.00417.46
8.1.110.0000.00817.58
8.1.100.0000.00717.43
8.1.90.0000.00717.45
8.1.80.0000.00717.44
8.1.70.0030.00317.58
8.1.60.0000.00817.68
8.1.50.0040.00417.57
8.1.40.0050.00317.59
8.1.30.0040.00417.73
8.1.20.0000.00817.57
8.1.10.0030.00517.65
8.1.00.0130.00017.61
8.0.300.0040.00418.77
8.0.290.0000.00817.00
8.0.280.0040.00418.50
8.0.270.0030.00717.34
8.0.260.0030.00616.81
8.0.250.0070.00017.11
8.0.240.0030.00616.95
8.0.230.0030.00317.05
8.0.220.0070.00017.00
8.0.210.0000.00816.90
8.0.200.0030.00316.96
8.0.190.0040.00417.03
8.0.180.0050.00316.98
8.0.170.0000.00717.01
8.0.160.0070.00017.08
8.0.150.0000.00716.80
8.0.140.0000.00716.97
8.0.130.0060.00013.42
8.0.120.0040.00416.84
8.0.110.0030.00516.92
8.0.100.0040.00416.85
8.0.90.0030.00517.04
8.0.80.0090.00617.03
8.0.70.0020.00517.06
8.0.60.0040.00416.88
8.0.50.0040.00416.97
8.0.30.0090.00917.25
8.0.20.0050.01717.40
8.0.10.0050.00217.02
8.0.00.0120.00816.99
7.4.330.0030.00316.80
7.4.320.0000.00716.81
7.4.300.0050.00216.60
7.4.290.0030.00316.64
7.4.280.0040.00416.71
7.4.270.0070.00016.62
7.4.260.0000.00513.45
7.4.250.0040.00416.79
7.4.240.0000.00716.70
7.4.230.0070.00016.63
7.4.220.0090.01216.78
7.4.210.0070.00816.77
7.4.200.0050.00316.92
7.4.190.0030.00416.77
7.4.160.0120.00616.66
7.4.150.0090.00917.40
7.4.140.0120.01117.86
7.4.130.0100.00916.68
7.4.120.0100.00716.73
7.4.110.0080.00816.45
7.4.100.0110.00816.66
7.4.90.0030.01616.65
7.4.80.0100.00719.39
7.4.70.0070.01416.70
7.4.60.0090.01216.66
7.4.50.0030.00516.73
7.4.40.0050.00522.77
7.4.30.0070.01016.76
7.4.00.0060.00815.21
7.3.330.0030.00313.08
7.3.320.0060.00013.02
7.3.310.0000.00716.14
7.3.300.0040.00416.30
7.3.290.0050.01516.27
7.3.280.0050.01316.27
7.3.270.0030.01417.40
7.3.260.0100.01318.24
7.3.250.0120.00616.47
7.3.240.0090.01516.50
7.3.230.0110.00716.39
7.3.210.0000.01616.48
7.3.200.0120.01219.39
7.3.190.0060.01616.66
7.3.180.0070.01016.55
7.3.170.0080.00816.45
7.3.160.0030.01416.74
7.3.120.0040.00714.90
7.2.330.0100.01016.81
7.2.320.0090.00916.49
7.2.310.0040.01816.47
7.2.300.0090.01216.61
7.2.290.0080.01116.53
7.2.00.0030.01419.57
7.1.100.0000.00818.35
7.1.70.0000.01017.38
7.1.60.0030.02019.17
7.1.50.0000.01017.08
7.1.00.0030.04722.59
7.0.200.0030.00617.05
7.0.140.0070.06722.11
7.0.60.0000.04720.06
7.0.50.0130.08017.92
7.0.40.0030.05720.06
7.0.30.0530.07320.20
7.0.20.0270.05020.20
7.0.10.0230.08320.09
7.0.00.0070.06020.02
5.6.280.0030.07320.88
5.6.210.0070.07720.49
5.6.200.0100.05018.19
5.6.190.0030.07320.39
5.6.180.0230.03720.61
5.6.170.0100.05320.71
5.6.160.0100.08320.54
5.6.150.0100.03318.15
5.6.140.0130.06018.21
5.6.130.0070.07718.15
5.6.120.0130.07721.04
5.6.110.0070.08721.00
5.6.100.0170.06721.08
5.6.90.0070.06720.98
5.6.80.0000.05020.50
5.6.70.0300.07320.42
5.5.350.0300.08020.42
5.5.340.0070.06718.01
5.5.330.0070.04020.36
5.5.320.0300.05020.21
5.5.310.0300.07720.21
5.5.300.0030.04318.02
5.5.290.0070.04717.98
5.5.280.0030.06020.87
5.5.270.0100.07020.85
5.5.260.0030.04720.74
5.5.250.0070.04020.69
5.5.240.0000.04720.11
5.4.450.0300.06719.12
5.4.440.0270.04019.41
5.4.430.0230.07719.57
5.4.420.0270.06319.40
5.4.410.0230.07319.08
5.4.400.0270.04718.93
5.4.390.0230.04019.16
5.4.380.0270.06719.08
5.4.370.0170.04318.92
5.4.360.0270.03319.08
5.4.350.0270.07019.13
5.4.340.0230.03719.08
5.4.320.0270.03719.06
5.4.310.0300.06018.93
5.4.300.0200.04718.91
5.4.290.0200.04018.79
5.4.280.0170.04719.07
5.4.270.0230.03718.89
5.4.260.0270.04718.88
5.4.250.0270.07319.23
5.4.240.0370.06319.23
5.4.230.0270.04319.23
5.4.220.0230.03718.77
5.4.210.0200.04019.07
5.4.200.0230.05719.23
5.4.190.0270.06019.16
5.4.180.0330.06319.07
5.4.170.0300.03718.80
5.4.160.0130.05719.08
5.4.150.0200.04318.89
5.4.140.0200.03316.52
5.4.130.0100.04316.50
5.4.120.0130.04016.36
5.4.110.0270.03016.36
5.4.100.0300.02716.27
5.4.90.0130.04016.55
5.4.80.0300.05016.51
5.4.70.0300.04016.47
5.4.60.0230.06716.41
5.4.50.0200.03716.47
5.4.40.0200.06016.31
5.4.30.0200.03716.36
5.4.20.0230.03016.17
5.4.10.0170.03716.47
5.4.00.0270.04315.74
5.3.290.0230.03314.72
5.3.280.0200.06014.44
5.3.270.0170.04014.49
5.3.260.0200.04714.47
5.3.250.0170.03714.48
5.3.240.0170.03714.46
5.3.230.0200.03314.56
5.3.220.0200.05714.46
5.3.210.0100.04314.54
5.3.200.0200.04314.42
5.3.190.0170.03714.53
5.3.180.0170.03714.56
5.3.170.0200.03314.42
5.3.160.0200.03314.43
5.3.150.0200.03314.67
5.3.140.0130.03714.44
5.3.130.0200.04014.44
5.3.120.0300.03714.46
5.3.110.0100.05014.39
5.3.100.0330.03013.84
5.3.90.0070.04314.05
5.3.80.0200.03013.81
5.3.70.0170.03313.98
5.3.60.0130.03714.11
5.3.50.0170.03713.74
5.3.40.0200.03013.92
5.3.30.0170.03313.97
5.3.20.0100.04013.56
5.3.10.0130.03713.50
5.3.00.0200.03013.51
5.2.170.0100.03011.01
5.2.160.0100.03011.34
5.2.150.0170.03311.00
5.2.140.0170.03711.00
5.2.130.0170.03710.92
5.2.120.0170.03310.98
5.2.110.0170.02711.05
5.2.100.0070.03311.27
5.2.90.0130.02711.17
5.2.80.0100.03011.17
5.2.70.0270.02311.12
5.2.60.0170.02310.90
5.2.50.0130.03710.87
5.2.40.0100.03011.19
5.2.30.0130.03010.83
5.2.20.0070.03011.03
5.2.10.0130.02310.77
5.2.00.0100.03010.70
5.1.60.0100.0279.93
5.1.50.0230.0209.94
5.1.40.0170.0279.92
5.1.30.0100.02710.37
5.1.20.0130.02010.41
5.1.10.0130.0239.95
5.1.00.0130.0209.96
5.0.50.0030.0238.65
5.0.40.0030.0238.32
5.0.30.0030.0438.14
5.0.20.0030.0278.29
5.0.10.0000.0238.34
5.0.00.0100.0578.23
4.4.90.0030.0206.05
4.4.80.0070.0136.05
4.4.70.0030.0306.05
4.4.60.0030.0236.05
4.4.50.0070.0306.05
4.4.40.0100.0206.05
4.4.30.0070.0206.05
4.4.20.0030.0206.05
4.4.10.0070.0176.05
4.4.00.0070.0236.05
4.3.110.0030.0206.05
4.3.100.0100.0336.05
4.3.90.0070.0176.05
4.3.80.0070.0476.05
4.3.70.0070.0336.05
4.3.60.0100.0206.05
4.3.50.0030.0376.05
4.3.40.0030.0276.05
4.3.30.0130.0236.05
4.3.20.0070.0236.05
4.3.10.0030.0176.05
4.3.00.0030.0136.05

preferences:
44.78 ms | 400 KiB | 5 Q