3v4l.org

run code in 300+ PHP versions simultaneously
<?php $matches = array(); $t = preg_match_all('/{(.*?)\}/s', '{Hello} {my} {name} {is} {Bob}', $matches); echo implode(',',$matches[1]);

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.5.00.0090.01120.02
8.4.150.0020.00014.05
8.4.140.0110.01117.94
8.4.130.0140.00717.69
8.4.120.0120.00722.30
8.4.110.0060.00418.83
8.4.100.0070.00417.96
8.4.90.0120.00917.96
8.4.80.0140.00618.08
8.4.70.0060.00219.70
8.4.60.0130.01018.86
8.4.50.0130.00418.73
8.4.40.0060.00319.86
8.4.30.0130.00720.50
8.4.20.0040.01519.70
8.4.10.0100.00623.73
8.3.280.0020.00014.05
8.3.270.0100.00916.55
8.3.260.0140.00616.38
8.3.250.0040.00518.81
8.3.240.0120.00818.60
8.3.230.0140.00716.72
8.3.220.0070.00216.98
8.3.210.0120.00716.75
8.3.200.0100.00916.72
8.3.190.0110.00916.39
8.3.180.0030.00619.06
8.3.170.0070.01118.81
8.3.160.0060.01320.22
8.3.150.0070.01316.48
8.3.140.0110.00717.02
8.3.130.0040.00418.43
8.3.120.0080.00018.97
8.3.110.0130.00620.94
8.3.100.0100.00018.38
8.3.90.0120.00626.77
8.3.80.0080.00416.63
8.3.70.0100.01016.63
8.3.60.0070.01418.43
8.3.50.0140.00318.43
8.3.40.0110.00320.15
8.3.30.0060.00918.98
8.3.20.0040.00424.18
8.3.10.0080.00024.66
8.3.00.0000.00826.16
8.2.290.0030.00620.57
8.2.280.0110.00818.50
8.2.270.0050.01417.53
8.2.260.0060.01318.51
8.2.250.0080.00017.04
8.2.240.0130.00318.95
8.2.230.0090.00022.58
8.2.220.0070.01324.06
8.2.210.0060.00926.77
8.2.200.0060.00318.54
8.2.190.0140.00716.75
8.2.180.0110.00425.92
8.2.170.0040.01119.08
8.2.160.0100.00322.96
8.2.150.0040.00425.66
8.2.140.0030.00524.66
8.2.130.0000.00826.16
8.2.120.0100.00326.16
8.2.110.0060.00321.30
8.2.100.0070.00417.97
8.2.90.0050.00318.15
8.2.80.0040.00417.97
8.2.70.0050.00317.88
8.2.60.0030.00617.88
8.2.50.0050.00317.88
8.2.40.0030.00619.82
8.2.30.0070.00018.22
8.2.20.0050.00220.69
8.2.10.0000.00718.13
8.2.00.0000.00719.17
8.1.330.0090.01016.57
8.1.320.0100.00916.25
8.1.310.0000.00718.46
8.1.300.0030.00618.51
8.1.290.0090.00030.84
8.1.280.0070.01025.92
8.1.270.0070.00024.66
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0100.00022.67
8.1.230.0070.00320.92
8.1.220.0000.00817.79
8.1.210.0080.00018.77
8.1.200.0030.00617.38
8.1.190.0060.00317.35
8.1.180.0030.00518.10
8.1.170.0060.00317.62
8.1.160.0040.00418.91
8.1.150.0000.00818.57
8.1.140.0040.00417.54
8.1.130.0030.00318.84
8.1.120.0040.00717.52
8.1.110.0040.00817.45
8.1.100.0080.00417.57
8.1.90.0110.00017.43
8.1.80.0040.01117.39
8.1.70.0120.00417.42
8.1.60.0160.00317.59
8.1.50.0120.00517.41
8.1.40.0180.00017.46
8.1.30.0140.00417.64
8.1.20.0110.00717.70
8.1.10.0170.00017.73
8.1.00.0060.01117.55
8.0.300.0090.00019.98
8.0.290.0060.00316.88
8.0.280.0000.00718.45
8.0.270.0030.00317.27
8.0.260.0030.00318.56
8.0.250.0130.00216.96
8.0.240.0030.01017.04
8.0.230.0100.00516.96
8.0.220.0100.00516.79
8.0.210.0060.00916.95
8.0.200.0110.00316.80
8.0.190.0060.00816.77
8.0.180.0160.00016.80
8.0.170.0100.00616.93
8.0.160.0100.00516.78
8.0.150.0110.00416.92
8.0.140.0140.00016.93
8.0.130.0120.00316.86
8.0.120.0100.00516.80
8.0.110.0100.00316.91
8.0.100.0090.00516.89
8.0.90.0110.00416.91
8.0.80.0130.00216.87
8.0.70.0110.00416.79
8.0.60.0090.00616.91
8.0.50.0000.01416.74
8.0.30.0110.00216.85
8.0.20.0140.00017.01
8.0.10.0110.00417.07
7.4.330.0040.00015.55
7.4.320.0070.00716.67
7.4.300.0130.00316.61
7.4.290.0110.00416.52
7.4.280.0110.00616.76
7.4.270.0160.00016.68
7.4.260.0130.00316.67
7.4.250.0160.00016.69
7.4.240.0120.00416.70
7.4.230.0110.00516.69
7.4.220.0070.00716.69
7.4.210.0100.00416.68
7.4.200.0130.00016.67
7.4.190.0140.00016.78
7.4.180.0070.00716.58
7.4.160.0150.00016.58
7.4.150.0150.00016.56
7.4.140.0110.00316.63
7.4.130.0080.00316.64
7.4.120.0050.00416.75
7.4.110.0020.00516.68
7.4.100.0000.00716.66
7.4.90.0060.00016.67
7.4.80.0070.00016.68
7.4.70.0000.00716.61
7.4.60.0020.00516.62
7.4.50.0020.00516.42
7.4.40.0030.00416.49
7.4.30.0060.00016.53
7.4.20.0040.00416.62
7.4.10.0030.00316.60
7.4.00.0030.00316.39

preferences:
42.22 ms | 403 KiB | 5 Q