3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match('/[\w-.]+/', '');

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.90.0070.00726.77
8.3.80.0030.00817.97
8.3.70.0220.01418.06
8.3.60.0240.00918.14
8.3.50.0070.00917.48
8.3.40.0130.00819.61
8.3.30.0170.00918.41
8.3.20.0150.00618.60
8.3.10.0150.00420.70
8.3.00.0100.01020.21
8.2.210.0050.00326.77
8.2.200.0060.00316.38
8.2.190.0160.01318.07
8.2.180.0180.01021.95
8.2.170.0170.00918.39
8.2.160.0260.00220.47
8.2.150.0170.00421.82
8.2.140.0160.00521.32
8.2.130.0170.01022.06
8.2.120.0200.00718.57
8.2.110.0230.00519.43
8.2.100.0170.00717.81
8.2.90.0210.00417.94
8.2.80.0220.00418.59
8.2.70.0210.00918.81
8.2.60.0260.00217.97
8.2.50.0140.00717.76
8.2.40.0110.00318.57
8.2.30.0100.00617.90
8.2.20.0120.00417.98
8.2.10.0140.00317.91
8.2.00.0130.00418.25
8.1.290.0000.00830.84
8.1.280.0120.01121.95
8.1.270.0160.00420.98
8.1.260.0170.00222.16
8.1.250.0150.00323.03
8.1.240.0110.00518.55
8.1.230.0120.00518.49
8.1.220.0150.00317.85
8.1.210.0130.00918.47
8.1.200.0150.00317.60
8.1.190.0110.00517.48
8.1.180.0130.00418.57
8.1.170.0080.00918.26
8.1.160.0120.00318.36
8.1.150.0070.00718.30
8.1.140.0050.01018.08
8.1.130.0120.00217.53
8.1.120.0090.00617.58
8.1.110.0110.00417.54
8.1.100.0110.00517.56
8.1.90.0080.00617.45
8.1.80.0110.00617.47
8.1.70.0120.00517.50
8.1.60.0130.00617.59
8.1.50.0170.00517.52
8.1.40.0180.00217.55
8.1.30.0110.00617.58
8.1.20.0130.00417.59
8.1.10.0130.00617.48
8.1.00.0130.00517.46
8.0.300.0120.00318.94
8.0.290.0120.00417.30
8.0.280.0090.00718.17
8.0.270.0140.00617.32
8.0.260.0150.00117.13
8.0.250.0100.00617.17
8.0.240.0090.00517.17
8.0.230.0100.00517.21
8.0.220.0100.00617.08
8.0.210.0110.00417.02
8.0.200.0100.00617.13
8.0.190.0100.00517.08
8.0.180.0110.00517.05
8.0.170.0130.00317.04
8.0.160.0120.00517.09
8.0.150.0110.00417.04
8.0.140.0090.00717.02
8.0.130.0120.00316.18
8.0.120.0090.00617.00
8.0.110.0100.00417.07
8.0.100.0130.00316.99
8.0.90.0100.00316.90
8.0.80.0100.00717.03
8.0.70.0100.00517.02
8.0.60.0110.00517.02
8.0.50.0100.00416.96
8.0.30.0120.00616.90
8.0.20.0110.00617.07
8.0.10.0120.00617.03
8.0.00.0140.00516.96
7.4.330.0140.00416.49
7.4.320.0120.00716.94
7.4.300.0110.00616.78
7.4.290.0150.00416.80
7.4.280.0100.00516.77
7.4.270.0120.00416.82
7.4.260.0110.00516.78
7.4.250.0120.00516.78
7.4.240.0150.00416.70
7.4.230.0100.00616.70
7.4.220.0080.00516.68
7.4.210.0120.00416.70
7.4.200.0090.00416.72
7.4.190.0090.00616.86
7.4.180.0130.00216.87
7.4.160.0120.00416.68
7.4.150.0100.00716.80
7.4.140.0100.00817.13
7.4.130.0110.00616.57
7.4.120.0120.00716.46
7.4.110.0090.00916.54
7.4.100.0100.00716.57
7.4.90.0120.00616.52
7.4.80.0130.00516.76
7.4.70.0110.00716.47
7.4.60.0120.00816.45
7.4.50.0110.00916.40
7.4.40.0120.00716.38
7.4.30.0110.00916.37
7.4.20.0110.00816.38
7.4.10.0110.00816.34
7.4.00.0090.00816.33
7.3.330.0140.00415.86
7.3.320.0120.00515.94
7.3.310.0130.00516.57
7.3.300.0100.00516.54
7.3.290.0100.00616.57
7.3.280.0110.00616.55
7.3.270.0090.00916.52
7.3.260.0100.00716.42
7.3.250.0100.00616.46
7.3.240.0130.00516.42
7.3.230.0130.00516.45
7.3.220.0130.00516.43
7.3.210.0090.00816.33
7.3.200.0120.00616.29
7.3.190.0120.00716.33
7.3.180.0120.00816.31
7.3.170.0110.00816.36
7.3.160.0080.01016.30
7.3.150.0110.00816.31
7.3.140.0090.00916.33
7.3.130.0100.00916.27
7.3.120.0100.00916.33
7.3.110.0100.00816.18
7.3.100.0110.00716.11
7.3.90.0090.00916.07
7.3.80.0100.00716.06
7.3.70.0090.00815.96
7.3.60.0090.00815.96
7.3.50.0110.00615.99
7.3.40.0100.00815.75
7.3.30.0100.00815.76
7.3.20.0110.00816.19
7.3.10.0130.00716.15
7.3.00.0110.00716.13
7.2.340.0150.00516.57
7.2.330.0120.00716.59
7.2.320.0130.00716.56
7.2.310.0130.00816.58
7.2.300.0130.00816.57
7.2.290.0100.01116.50
7.2.280.0110.00916.54
7.2.270.0120.00816.47
7.2.260.0110.00916.50
7.2.250.0110.00916.51
7.2.240.0110.00916.46
7.2.230.0120.00816.42
7.2.220.0120.00816.30
7.2.210.0110.00816.29
7.2.200.0100.00916.21
7.2.190.0100.01016.15
7.2.180.0130.00716.24
7.2.170.0110.00915.99
7.2.160.0110.00916.00
7.2.150.0160.00916.49
7.2.140.0110.00816.47
7.2.130.0120.00716.43
7.2.120.0140.00816.41
7.2.110.0150.00816.48
7.2.100.0180.00816.42
7.2.90.0150.00916.41
7.2.80.0160.00816.43
7.2.70.0220.00816.44
7.2.60.0250.00916.47
7.2.50.0240.01016.41
7.2.40.0240.00816.51
7.2.30.0220.00916.48
7.2.20.0260.00816.45
7.2.10.0270.00816.44
7.2.00.0240.00816.42
7.1.330.0150.00715.76
7.1.320.0140.00815.67
7.1.310.0140.00915.61
7.1.300.0140.00815.58
7.1.290.0160.00715.65
7.1.280.0150.00815.50
7.1.270.0140.00715.55
7.1.260.0110.00815.52
7.1.250.0120.00815.45
7.1.240.0190.00715.44
7.1.230.0150.00715.49
7.1.220.0270.00615.43
7.1.210.0200.00815.41
7.1.200.0190.00915.38
7.1.190.0230.00715.45
7.1.180.0260.00815.40
7.1.170.0260.00815.40
7.1.160.0270.00915.42
7.1.150.0270.00915.42
7.1.140.0310.00815.41
7.1.130.0250.00715.45
7.1.120.0280.00715.32
7.1.110.0290.00715.38
7.1.100.0260.00715.31
7.1.90.0230.00815.40
7.1.80.0220.00715.42
7.1.70.0210.00815.36
7.1.60.0210.00715.95
7.1.50.0210.00815.94
7.1.40.0210.00715.96
7.1.30.0230.00816.01
7.1.20.0240.00716.01
7.1.10.0260.00815.37
7.1.00.0230.00715.38
7.0.330.0150.00715.08
7.0.320.0150.00915.66
7.0.310.0150.00715.75
7.0.300.0190.00815.69
7.0.290.0170.00915.73
7.0.280.0150.01015.74
7.0.270.0150.00915.60
7.0.260.0140.01015.53
7.0.250.0170.00915.56
7.0.240.0170.00715.65
7.0.230.0180.00615.68
7.0.220.0160.00715.66
7.0.210.0150.00815.71
7.0.200.0160.00815.62
7.0.190.0140.01015.64
7.0.180.0140.01015.66
7.0.170.0140.00815.75
7.0.160.0160.00815.76
7.0.150.0190.00715.63
7.0.140.0140.00815.65
7.0.130.0140.00715.63
7.0.120.0140.00815.67
7.0.110.0160.00815.65
7.0.100.0150.00715.63
7.0.90.0170.00815.65
7.0.80.0170.00715.61
7.0.70.0160.00815.63
7.0.60.0150.00615.64
7.0.50.0140.00815.61
7.0.40.0150.00715.63
7.0.30.0170.00615.62
7.0.20.0170.00815.68
7.0.10.0160.00715.69
7.0.00.0180.00615.66
5.6.400.0120.00915.31
5.6.390.0120.01015.25
5.6.380.0130.00915.16
5.6.370.0160.00815.79
5.6.360.0150.00915.83
5.6.350.0150.01015.78
5.6.340.0170.00915.85
5.6.330.0140.01015.80
5.6.320.0140.01015.83
5.6.310.0130.01115.78
5.6.300.0140.00915.85
5.6.290.0140.00915.86
5.6.280.0140.00915.77
5.6.270.0150.00915.83
5.6.260.0140.00915.81
5.6.250.0150.01015.81
5.6.240.0140.01015.80
5.6.230.0130.01015.79
5.6.220.0120.01115.81
5.6.210.0110.01015.81
5.6.200.0130.00915.79
5.6.190.0130.01015.84
5.6.180.0160.00815.86
5.6.170.0170.00815.85
5.6.160.0140.01015.84
5.6.150.0150.00915.86
5.6.140.0140.01015.83
5.6.130.0150.00815.82
5.6.120.0130.01115.86
5.6.110.0130.01015.85
5.6.100.0140.00915.78
5.6.90.0160.01015.80
5.6.80.0150.00815.76
5.6.70.0130.01015.79
5.6.60.0160.00915.75
5.6.50.0150.00915.77
5.6.40.0120.01115.77
5.6.30.0130.00915.74
5.6.20.0130.01015.79
5.6.10.0140.00915.74
5.6.00.0130.00915.76

preferences:
29.37 ms | 401 KiB | 5 Q