3v4l.org

run code in 300+ PHP versions simultaneously
<?ph' preg_match('/hello/','i says hello to you',$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.60.0070.00718.31
8.3.50.0070.01521.92
8.3.40.0100.00718.63
8.3.30.0110.01118.36
8.3.20.0060.00318.52
8.3.10.0040.00419.21
8.3.00.0070.00023.50
8.2.180.0140.00716.50
8.2.170.0120.00622.96
8.2.160.0070.00720.57
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00419.46
8.2.110.0060.00320.22
8.2.100.0070.00417.72
8.2.90.0040.00418.95
8.2.80.0040.00417.97
8.2.70.0040.00417.38
8.2.60.0000.00817.79
8.2.50.0030.00518.07
8.2.40.0040.00418.03
8.2.30.0030.00621.13
8.2.20.0040.00417.50
8.2.10.0050.00217.45
8.2.00.0110.00017.60
8.1.280.0070.00725.92
8.1.270.0000.00723.99
8.1.260.0110.00326.35
8.1.250.0090.00028.09
8.1.240.0090.00022.52
8.1.230.0080.00320.97
8.1.220.0000.00818.77
8.1.210.0030.00518.82
8.1.200.0060.00617.23
8.1.190.0000.00817.40
8.1.180.0080.00018.10
8.1.170.0030.00518.59
8.1.160.0030.00518.74
8.1.150.0000.00718.49
8.1.140.0070.00017.30
8.1.130.0000.00817.18
8.1.120.0070.00317.22
8.1.110.0080.00017.36
8.1.100.0050.00217.29
8.1.90.0000.00717.20
8.1.80.0030.00317.22
8.1.70.0030.00317.20
8.1.60.0000.00817.43
8.1.50.0000.00717.24
8.1.40.0040.00717.39
8.1.30.0040.00417.54
8.1.20.0040.00417.34
8.1.10.0000.00717.40
8.1.00.0080.00017.21
8.0.300.0040.00419.83
8.0.290.0000.00717.05
8.0.280.0030.00318.28
8.0.270.0000.00716.75
8.0.260.0030.00316.78
8.0.250.0070.00016.71
8.0.240.0030.00516.73
8.0.230.0050.00316.85
8.0.220.0000.00716.75
8.0.210.0000.00616.77
8.0.200.0000.00616.68
8.0.190.0050.00316.85
8.0.180.0000.00716.79
8.0.170.0040.00416.79
8.0.160.0000.00716.71
8.0.150.0000.00716.65
8.0.140.0030.00416.70
8.0.130.0000.00513.44
8.0.120.0050.00216.62
8.0.110.0050.00216.63
8.0.100.0000.00716.81
8.0.90.0040.00416.78
8.0.80.0000.01516.75
8.0.70.0030.00316.79
8.0.60.0000.00816.74
8.0.50.0030.00316.71
8.0.30.0110.01017.02
8.0.20.0060.01617.40
8.0.10.0040.00416.72
8.0.00.0070.01116.78
7.4.330.0020.00214.84
7.4.320.0000.00616.38
7.4.300.0030.00316.46
7.4.290.0070.00016.51
7.4.280.0040.00416.47
7.4.270.0070.00016.42
7.4.260.0000.00513.29
7.4.250.0000.00716.35
7.4.240.0000.00716.48
7.4.230.0000.00616.34
7.4.220.0140.00316.21
7.4.210.0100.00516.43
7.4.200.0030.00316.53
7.4.190.0040.00416.41
7.4.160.0110.01116.16
7.4.150.0040.01317.40
7.4.140.0140.00417.86
7.4.130.0100.00616.50
7.4.120.0140.00816.31
7.4.110.0100.00716.53
7.4.100.0070.01316.34
7.4.90.0090.00916.39
7.4.80.0040.01419.39
7.4.70.0100.00616.41
7.4.60.0110.00416.40
7.4.50.0030.00616.09
7.4.40.0040.01122.52
7.4.30.0030.01616.22
7.3.330.0000.00513.21
7.3.320.0020.00213.18
7.3.310.0070.00016.06
7.3.300.0060.00016.11
7.3.290.0090.00916.23
7.3.280.0100.00816.10
7.3.270.0040.02017.40
7.3.260.0070.00918.24
7.3.250.0110.00616.29
7.3.240.0080.00816.10
7.3.230.0130.00316.39
7.3.210.0060.01016.35
7.3.200.0100.00719.39
7.3.190.0090.00616.48
7.3.180.0100.00616.34
7.3.170.0070.01116.27
7.3.160.0100.00616.34
7.2.330.0070.01016.66
7.2.320.0100.00716.32
7.2.310.0170.00016.60
7.2.300.0090.00916.64
7.2.290.0090.00916.41
5.4.320.0040.04012.45
5.4.310.0080.04912.45
5.4.300.0070.04512.45
5.4.290.0070.04512.45
5.4.280.0080.04312.35
5.4.270.0090.03812.34
5.4.260.0090.03812.35
5.4.250.0070.04312.35
5.4.240.0090.03812.35
5.4.230.0070.03812.34
5.4.220.0050.03812.33
5.4.210.0040.03812.34
5.4.200.0040.04512.34
5.4.190.0070.03612.34
5.4.180.0070.03612.33
5.4.170.0100.04112.34
5.4.160.0120.05912.34
5.4.150.0100.03912.33
5.4.140.0090.04212.01
5.4.130.0080.04112.00
5.4.120.0100.04211.96
5.4.110.0100.04411.96
5.4.100.0070.04711.96
5.4.90.0110.04211.96
5.4.80.0080.04211.96
5.4.70.0080.04011.95
5.4.60.0110.04011.95
5.4.50.0160.05711.95
5.4.40.0110.04211.94
5.4.30.0120.04211.94
5.4.20.0090.04511.94
5.4.10.0100.04611.94
5.4.00.0070.04911.43
5.3.290.0100.04312.80
5.3.280.0070.04612.71
5.3.270.0120.05712.73
5.3.260.0100.04512.72
5.3.250.0110.04112.72
5.3.240.0090.04112.72
5.3.230.0100.04312.71
5.3.220.0080.04512.68
5.3.210.0090.04612.68
5.3.200.0120.04012.68
5.3.190.0110.04512.68
5.3.180.0090.04412.67
5.3.170.0110.04212.67
5.3.160.0140.05512.68
5.3.150.0100.04412.67
5.3.140.0130.04112.66
5.3.130.0110.04012.66
5.3.120.0100.04412.66
5.3.110.0140.05012.66
5.3.100.0120.03812.12
5.3.90.0110.04312.08
5.3.80.0150.03712.08
5.3.70.0160.04512.07
5.3.60.0120.03912.06
5.3.50.0110.03912.00
5.3.40.0130.03912.00
5.3.30.0100.03811.94
5.3.20.0100.04611.72
5.3.10.0150.05211.69
5.3.00.0120.04311.67

preferences:
52.86 ms | 401 KiB | 5 Q