3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "Hello! 123 How Are You? 456"; preg_match_all('!\d\r!', $string, $matches); echo (int)implode('',$matches[0]);

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.0150.00418.31
8.3.50.0110.00817.41
8.3.40.0120.00618.89
8.3.30.0090.00618.96
8.3.20.0080.00019.35
8.3.10.0070.00021.90
8.3.00.0040.00419.80
8.2.180.0070.01016.88
8.2.170.0070.00722.96
8.2.160.0080.00619.11
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0070.00020.51
8.2.120.0080.00026.35
8.2.110.0030.00722.29
8.2.100.0040.00718.03
8.2.90.0040.00418.09
8.2.80.0080.00017.97
8.2.70.0000.00817.75
8.2.60.0040.00417.89
8.2.50.0080.00018.10
8.2.40.0070.00020.65
8.2.30.0000.00719.40
8.2.20.0040.00418.16
8.2.10.0050.00218.02
8.2.00.0030.00318.11
8.1.280.0110.00725.92
8.1.270.0040.00422.19
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0090.00022.05
8.1.230.0080.00320.86
8.1.220.0040.00417.74
8.1.210.0000.00919.00
8.1.200.0070.00317.48
8.1.190.0030.00517.23
8.1.180.0000.00818.10
8.1.170.0060.00318.68
8.1.160.0040.00418.76
8.1.150.0070.00020.03
8.1.140.0040.00419.45
8.1.130.0000.00718.84
8.1.120.0040.00417.51
8.1.110.0030.00517.39
8.1.100.0030.00517.46
8.1.90.0000.00717.62
8.1.80.0000.00717.50
8.1.70.0000.00717.50
8.1.60.0000.00817.65
8.1.50.0040.00417.70
8.1.40.0070.00317.46
8.1.30.0030.00617.65
8.1.20.0050.00317.63
8.1.10.0030.00517.73
8.1.00.0000.00717.61
8.0.300.0000.00719.98
8.0.290.0000.00716.88
8.0.280.0000.00818.45
8.0.270.0000.00717.18
8.0.260.0060.00318.98
8.0.250.0070.00017.00
8.0.240.0040.00417.07
8.0.230.0030.00317.03
8.0.220.0000.00816.80
8.0.210.0000.00716.98
8.0.200.0070.00017.04
8.0.190.0000.00916.91
8.0.180.0040.00416.91
8.0.170.0070.00016.98
8.0.160.0000.00716.94
8.0.150.0000.00716.98
8.0.140.0050.00216.94
8.0.130.0060.00313.40
8.0.120.0030.00616.90
8.0.110.0000.00716.95
8.0.100.0000.00816.82
8.0.90.0040.00417.00
8.0.80.0080.00816.96
8.0.70.0000.00716.91
8.0.60.0040.00416.84
8.0.50.0000.00716.75
8.0.30.0060.01217.30
8.0.20.0100.00917.40
8.0.10.0000.00717.12
8.0.00.0090.00917.14
7.4.330.0000.00415.55
7.4.320.0000.00616.78
7.4.300.0000.00616.72
7.4.290.0030.00316.69
7.4.280.0060.00316.80
7.4.270.0030.00316.81
7.4.260.0000.00916.78
7.4.250.0040.00416.70
7.4.240.0030.00516.82
7.4.230.0030.00316.73
7.4.220.0190.00616.65
7.4.210.0110.00316.91
7.4.200.0040.00416.69
7.4.160.0060.01116.55
7.4.150.0100.00717.40
7.4.140.0130.00717.86
7.4.130.0140.00616.66
7.4.120.0080.01616.83
7.4.110.0070.01016.65
7.4.100.0050.01716.73
7.4.90.0030.01316.57
7.4.80.0190.00319.39
7.4.70.0170.00016.81
7.4.60.0070.01316.67
7.4.50.0030.00716.57
7.4.40.0130.00316.68
7.4.30.0080.01116.52
7.4.00.0110.00315.20
7.3.330.0030.00313.31
7.3.320.0000.00613.29
7.3.310.0030.00316.48
7.3.300.0040.00416.39
7.3.290.0080.00616.31
7.3.280.0110.00716.31
7.3.270.0100.00717.40
7.3.260.0120.00816.56
7.3.250.0100.01016.46
7.3.240.0120.00816.72
7.3.230.0120.00416.86
7.3.210.0040.01216.42
7.3.200.0090.00716.47
7.3.190.0130.01016.81
7.3.180.0130.00316.57
7.3.170.0080.01216.42
7.3.160.0090.00616.58
7.2.330.0100.00616.67
7.2.320.0030.01516.57
7.2.310.0060.01016.72
7.2.300.0030.01416.68
7.2.290.0080.01516.64
7.2.60.0030.00916.61
7.2.00.0090.00619.44
7.1.200.0040.01116.00
7.1.100.0040.00718.15
7.1.70.0000.01017.31
7.1.60.0040.00717.45
7.1.50.0470.01332.89
7.1.40.0500.00732.76
7.1.30.0530.01332.72
7.1.20.0570.02333.07
7.1.10.0270.01014.66
7.1.00.0430.00015.09
7.0.200.0000.01516.84
7.0.190.0470.00015.02
7.0.180.0470.01014.43
7.0.170.0500.01314.38
7.0.160.0430.00714.47
7.0.150.0370.01014.31
7.0.140.0330.01014.36
7.0.130.0370.00714.84
7.0.120.0370.00314.82
7.0.110.0300.01014.63
7.0.100.0330.00714.54
7.0.90.0370.00314.53
7.0.80.0300.01014.75
7.0.70.0330.00714.57
7.0.60.0300.01014.55
7.0.50.0330.00714.61
7.0.40.0300.00714.78
7.0.30.0270.01314.77
7.0.20.0300.00714.68
7.0.10.0400.01314.71
7.0.00.0300.00714.46

preferences:
68.69 ms | 401 KiB | 5 Q