3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'FFFFRRFFFFFFFPPRRRRRRLLRLLRLLLPPFPPLPPLPPLFPPFFPFLRPFFRRLLRPFPRFFFFFFFLFDRRFRRFFFFFFFFRQEE'; $res = preg_split('/([PDQE])(?:.*\1)?/', $str); print_r($res);

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.130.0040.00418.51
8.3.120.0000.00920.74
8.3.110.0100.01016.59
8.3.100.0080.00016.75
8.3.90.0040.00419.94
8.3.80.0060.00318.68
8.3.70.0150.00318.18
8.3.60.0110.00418.18
8.3.50.0140.00317.29
8.3.40.0100.00719.02
8.3.30.0060.00918.84
8.3.20.0000.00721.77
8.3.10.0050.00321.76
8.3.00.0070.00023.48
8.2.250.0120.00916.69
8.2.240.0090.00018.84
8.2.230.0100.01020.94
8.2.220.0090.00037.54
8.2.210.0000.00826.77
8.2.200.0060.00316.75
8.2.190.0090.00618.41
8.2.180.0070.00716.75
8.2.170.0090.00622.96
8.2.160.0040.01120.52
8.2.150.0000.00824.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0000.00726.16
8.2.110.0030.00720.52
8.2.100.0040.00717.84
8.2.90.0000.00817.84
8.2.80.0060.00317.97
8.2.70.0030.00517.75
8.2.60.0030.00517.75
8.2.50.0060.00317.75
8.2.40.0080.00022.27
8.2.30.0000.00819.29
8.2.20.0050.00218.06
8.2.10.0040.00419.37
8.2.00.0000.00719.11
8.1.300.0080.00018.24
8.1.290.0030.00618.88
8.1.280.0100.00725.92
8.1.270.0030.00622.00
8.1.260.0050.00226.35
8.1.250.0000.00828.09
8.1.240.0060.00322.52
8.1.230.0070.00420.89
8.1.220.0080.00017.74
8.1.210.0030.00718.82
8.1.200.0060.00317.36
8.1.190.0040.00417.13
8.1.180.0030.00618.10
8.1.170.0040.00418.73
8.1.160.0050.00318.88
8.1.150.0080.00018.72
8.1.140.0070.00018.84
8.1.130.0070.00017.56
8.1.120.0040.00417.58
8.1.110.0020.00517.45
8.1.100.0050.00217.54
8.1.90.0020.00517.53
8.1.80.0000.00717.40
8.1.70.0040.00417.38
8.1.60.0050.00217.65
8.1.50.0000.00817.61
8.1.40.0040.00417.61
8.1.30.0040.00417.73
8.1.20.0000.00817.72
8.1.10.0000.00817.52
8.1.00.0040.00417.54
8.0.300.0000.00719.87
8.0.290.0070.00016.63
8.0.280.0000.00718.39
8.0.270.0030.00317.12
8.0.260.0070.00016.93
8.0.250.0030.00316.90
8.0.240.0040.00417.04
8.0.230.0040.00416.99
8.0.220.0000.00716.88
8.0.210.0040.00416.86
8.0.200.0040.00417.01
8.0.190.0000.00717.09
8.0.180.0030.00316.89
8.0.170.0030.00616.89
8.0.160.0000.01116.95
8.0.150.0040.00417.00
8.0.140.0040.00416.82
8.0.130.0000.00513.35
8.0.120.0000.00816.78
8.0.110.0040.00416.81
8.0.100.0050.00217.01
8.0.90.0000.00716.82
8.0.80.0080.01316.98
8.0.70.0070.00016.99
8.0.60.0000.00716.90
8.0.50.0080.00016.86
8.0.30.0070.01017.06
8.0.20.0070.01117.06
8.0.10.0050.00217.18
8.0.00.0110.01116.85
7.4.330.0000.00615.55
7.4.320.0030.00616.66
7.4.300.0030.00316.73
7.4.290.0040.00416.73
7.4.280.0080.00016.63
7.4.270.0030.00316.79
7.4.260.0030.00316.62
7.4.250.0000.00816.71
7.4.240.0020.00516.70
7.4.230.0050.00316.83
7.4.220.0050.00216.63
7.4.210.0070.00816.67
7.4.200.0070.00016.55
7.4.160.0080.00916.59
7.4.140.0130.00317.86
7.4.130.0120.00616.63
7.4.120.0000.01916.63
7.4.110.0080.00916.66
7.4.100.0100.00716.43
7.4.90.0130.00416.52
7.4.80.0110.00819.39
7.4.70.0110.00716.65
7.4.60.0100.00616.52
7.4.50.0070.01016.41
7.4.40.0110.00716.48
7.4.00.0030.01015.07
7.3.330.0030.00313.11
7.3.320.0000.00513.02
7.3.310.0080.00016.43
7.3.300.0000.00716.30
7.3.290.0030.00316.28
7.3.280.0090.00616.27
7.3.260.0080.00916.42
7.3.240.0080.00916.41
7.3.230.0110.00516.58
7.3.210.0140.00316.38
7.3.200.0070.01016.46
7.3.190.0110.00516.75
7.3.180.0030.01316.34
7.3.170.0150.00816.32
7.3.160.0060.00916.80
7.3.60.0060.00914.85
7.3.50.0080.00914.70
7.3.40.0060.00714.54
7.3.30.0070.00714.56
7.3.20.0000.01416.47
7.3.10.0090.00616.54
7.3.00.0110.00316.78
7.2.330.0100.00716.70
7.2.320.0100.01016.65
7.2.310.0120.00416.41
7.2.300.0110.00616.52
7.2.290.0110.00816.75
7.2.190.0040.01115.02
7.2.180.0120.00814.77
7.2.170.0180.00614.99
7.2.160.0090.00414.90
7.2.150.0150.00616.61
7.2.140.0080.00616.73
7.2.130.0000.01416.82
7.2.120.0090.00616.89
7.2.110.0030.01217.00
7.2.100.0040.01116.71
7.2.90.0090.00617.11
7.2.80.0060.00916.80
7.2.70.0040.01116.94
7.2.60.0120.00616.88
7.2.50.0120.00316.99
7.2.40.0150.00716.96
7.2.30.0070.00716.83
7.2.20.0100.00316.66
7.2.10.0090.00616.63
7.2.00.0060.00916.79
7.1.300.0210.00015.84
7.1.290.0100.00315.84
7.1.280.0100.00315.53
7.1.270.0120.00015.82
7.1.260.0070.01215.95
7.1.250.0040.00915.65

preferences:
26.49 ms | 403 KiB | 5 Q