3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_replace(array_fill(0, 10, '/()/'),str_repeat("&", 10),NULL);

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.0830.56561.36
8.3.50.0900.60160.57
8.3.40.0370.17933.13
8.3.30.0370.18333.08
8.3.20.0160.10933.09
8.3.10.0230.08336.75
8.3.00.0100.09333.94
8.2.180.1100.55360.42
8.2.170.0300.18233.09
8.2.160.0230.18435.21
8.2.150.0070.10533.20
8.2.140.0130.09835.43
8.2.130.0170.08932.83
8.2.120.0170.09632.09
8.2.110.0000.15135.95
8.2.100.0240.18232.09
8.2.90.0070.18931.88
8.2.80.0100.18331.80
8.2.70.0070.16431.86
8.2.60.0170.16532.08
8.2.50.0100.17731.82
8.2.40.0100.17733.49
8.2.30.0100.19233.35
8.2.20.0200.20332.14
8.2.10.0170.18132.13
8.2.00.0070.18732.36
8.1.280.1130.54660.30
8.1.270.0200.10236.78
8.1.260.0030.09932.75
8.1.250.0070.10436.27
8.1.240.0100.14237.04
8.1.230.0200.15633.33
8.1.220.0170.14731.82
8.1.210.0170.19131.57
8.1.200.0200.17531.33
8.1.190.0030.16031.42
8.1.180.0200.18831.37
8.1.170.0070.18232.72
8.1.160.0070.18133.02
8.1.150.0160.15932.97
8.1.140.0130.16936.23
8.1.130.0200.14634.23
8.1.120.0100.19331.66
8.1.110.0100.18531.63
8.1.100.0100.17331.57
8.1.90.0200.15431.64
8.1.80.0200.15231.58
8.1.70.0230.17131.57
8.1.60.0100.17731.68
8.1.50.0100.17431.71
8.1.40.0130.19231.62
8.1.30.0320.26331.80
8.1.20.0070.18931.87
8.1.10.0400.58761.29
8.1.00.0400.58261.09
8.0.300.0590.57760.66
8.0.290.0330.53160.31
8.0.280.0500.50361.98
8.0.270.0400.46060.79
8.0.260.0300.47561.91
8.0.250.0270.56260.66
8.0.240.0430.54860.61
8.0.230.0370.52860.52
8.0.220.0300.54160.63
8.0.210.0370.52560.67
8.0.200.0330.47460.59
8.0.190.0300.56260.58
8.0.180.0270.56760.65
8.0.170.0270.56460.66
8.0.160.0530.61760.51
8.0.150.0300.56560.57
8.0.140.0400.55960.54
8.0.130.0330.90279.16
8.0.120.0570.56960.54
8.0.110.0330.55360.48
8.0.100.0230.55860.61
8.0.90.0070.60660.53
8.0.80.0720.71148.88
8.0.70.0200.47848.73
8.0.60.0230.44848.74
8.0.50.0230.43048.89
8.0.30.0580.57248.97
8.0.20.0900.74248.94
8.0.10.0170.45548.98
8.0.00.0890.76448.60
7.4.330.0200.59357.61
7.4.320.0300.59260.15
7.4.300.0560.56460.17
7.4.290.0330.58960.08
7.4.280.0430.61060.16
7.4.270.0370.60060.16
7.4.260.0200.58160.14
7.4.250.0270.63660.20
7.4.240.0270.58660.10
7.4.230.0330.61460.26
7.4.220.0430.59960.29
7.4.210.0400.81848.50
7.4.200.0200.42648.67
7.4.160.0570.65848.46
7.4.140.0520.74348.49
7.4.130.0750.68948.62
7.4.120.0720.85348.48
7.4.110.0530.73248.29
7.4.100.0850.78048.42
7.4.90.0720.64248.55
7.4.80.0461.00848.65
7.4.70.0570.79548.75
7.4.60.0560.66048.40
7.4.50.0270.71648.55
7.4.40.0530.62948.53
7.3.330.0370.67767.63
7.3.320.0500.66567.45
7.3.310.0200.43648.13
7.3.300.0130.42648.36
7.3.290.0170.38848.21
7.3.280.0460.63248.29
7.3.260.0660.77448.33
7.3.240.0540.76848.23
7.3.230.0590.68148.40
7.3.210.0730.67148.20
7.3.200.0780.71248.13
7.3.190.0490.70248.47
7.3.180.0910.66748.29
7.3.170.0630.62548.15
7.3.160.1020.83748.30
7.2.330.0460.68248.30
7.2.320.0490.62748.65
7.2.310.0600.61048.32
7.2.300.0390.62448.38
7.2.290.0660.62348.32
7.2.122.1850.33540.91
7.2.112.0570.37042.63
7.2.100.1580.57849.54
7.2.90.1190.49049.59
7.2.80.1040.54949.64
7.2.70.0940.61149.75
7.2.60.1350.60449.95
7.2.50.0860.59349.84
7.2.40.0830.48449.66
7.2.30.1410.50249.91
7.2.20.0900.51049.67
7.2.10.2250.49849.86
7.2.00.1700.52349.84
7.1.242.0160.51044.97
7.1.232.2250.39741.97
7.1.220.2520.65848.77
7.1.210.1870.74948.91
7.1.200.0980.66048.74
7.1.190.0810.63348.63
7.1.180.1100.59648.66
7.1.170.0890.59148.69
7.1.160.0820.73748.55
7.1.150.0720.65448.53
7.1.140.2100.60048.95
7.1.130.1930.72648.85
7.1.120.1560.62048.71
7.1.110.1810.69248.84
7.1.100.1540.66948.93
7.1.90.1550.60648.79
7.1.80.1660.60348.91
7.1.70.1690.64648.79
7.1.60.1450.60248.72
7.1.50.1650.67348.59
7.1.40.1260.63648.43
7.1.30.3120.83548.62
7.1.20.2900.79448.94
7.1.10.1860.56948.89
7.1.00.2440.74848.59
5.6.380.0460.54435.69

preferences:
55.5 ms | 401 KiB | 5 Q