3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string= "Went for an awesome bike ride today! #biking #awesome"; preg_match_all('/#(\w+)/',$string, $matches); foreach ($matches[1] as $tag) { echo $tag; }

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.0100.01018.43
8.3.50.0120.01121.99
8.3.40.0140.00718.92
8.3.30.0070.00718.92
8.3.20.0030.00518.85
8.3.10.0060.00321.23
8.3.00.0080.00021.77
8.2.180.0070.01418.34
8.2.170.0080.00822.96
8.2.160.0110.00319.24
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0070.00726.16
8.2.120.0080.00021.18
8.2.110.0100.00020.52
8.2.100.0070.00418.03
8.2.90.0030.00619.21
8.2.80.0040.00418.16
8.2.70.0040.00717.75
8.2.60.0030.00618.16
8.2.50.0040.00418.07
8.2.40.0050.00318.34
8.2.30.0030.00521.27
8.2.20.0000.00817.86
8.2.10.0040.00417.88
8.2.00.0000.01017.82
8.1.280.0080.00625.92
8.1.270.0000.00723.99
8.1.260.0110.00426.35
8.1.250.0000.00728.09
8.1.240.0140.00322.50
8.1.230.0070.00321.09
8.1.220.0080.00018.77
8.1.210.0000.00819.04
8.1.200.0030.00717.35
8.1.190.0040.00417.40
8.1.180.0030.00618.10
8.1.170.0000.00818.45
8.1.160.0000.00718.91
8.1.150.0080.00018.79
8.1.140.0040.00417.51
8.1.130.0000.00717.85
8.1.120.0030.00717.61
8.1.110.0040.00417.48
8.1.100.0040.00317.65
8.1.90.0040.00417.49
8.1.80.0040.00417.61
8.1.70.0000.00717.55
8.1.60.0090.00317.75
8.1.50.0000.00717.61
8.1.40.0090.00017.56
8.1.30.0040.00417.77
8.1.20.0050.00317.86
8.1.10.0030.00617.72
8.1.00.0100.00317.65
8.0.300.0070.00319.86
8.0.290.0070.00017.18
8.0.280.0070.00018.37
8.0.270.0050.00317.18
8.0.260.0060.00317.03
8.0.250.0050.00317.14
8.0.240.0030.00617.11
8.0.230.0080.00017.08
8.0.220.0060.00317.00
8.0.210.0030.00317.01
8.0.200.0000.00617.05
8.0.190.0030.00516.96
8.0.180.0000.00717.09
8.0.170.0050.00317.01
8.0.160.0000.00716.95
8.0.150.0030.00417.02
8.0.140.0080.00016.89
8.0.130.0000.00613.49
8.0.120.0040.00417.00
8.0.110.0030.00417.04
8.0.100.0080.00017.09
8.0.90.0040.00417.11
8.0.80.0030.01217.10
8.0.70.0020.00516.98
8.0.60.0070.00017.07
8.0.50.0050.00217.08
8.0.30.0140.00517.24
8.0.20.0110.00617.45
8.0.10.0040.00417.04
8.0.00.0060.01316.92
7.4.330.0050.00014.93
7.4.320.0030.00316.80
7.4.300.0000.00716.60
7.4.290.0070.00016.79
7.4.280.0050.00216.56
7.4.270.0040.00416.62
7.4.260.0000.00513.54
7.4.250.0030.00616.76
7.4.240.0000.00716.65
7.4.230.0070.00016.55
7.4.220.0100.00916.62
7.4.210.0090.00716.71
7.4.200.0000.00816.82
7.4.190.0030.00616.70
7.4.160.0090.00616.51
7.4.150.0120.01217.40
7.4.140.0060.01317.86
7.4.130.0140.00616.74
7.4.120.0120.00616.81
7.4.110.0090.00816.71
7.4.100.0090.00916.80
7.4.90.0120.00916.64
7.4.80.0130.00919.39
7.4.70.0120.01216.71
7.4.60.0060.01016.55
7.4.50.0040.00416.68
7.4.40.0030.01322.52
7.4.30.0070.01116.63
7.4.00.0090.00815.10
7.3.330.0020.00213.22
7.3.320.0020.00213.20
7.3.310.0030.00316.62
7.3.300.0000.00616.32
7.3.290.0030.01016.40
7.3.280.0090.00716.43
7.3.270.0110.00517.40
7.3.260.0110.00718.24
7.3.250.0080.01116.60
7.3.240.0140.00716.57
7.3.230.0110.00616.59
7.3.210.0120.00616.48
7.3.200.0080.01419.39
7.3.190.0090.01416.86
7.3.180.0100.00616.65
7.3.170.0110.00616.50
7.3.160.0100.00616.69
7.3.120.0080.01115.13
7.3.110.0070.00915.06
7.3.100.0070.01114.85
7.3.90.0020.01115.03
7.3.80.0030.00814.95
7.3.70.0080.00514.94
7.3.60.0080.00514.93
7.3.50.0050.00614.91
7.3.40.0070.00814.93
7.3.30.0030.00814.86
7.3.20.0060.00616.76
7.3.10.0080.00716.76
7.3.00.0060.00716.83
7.2.330.0120.00616.75
7.2.320.0030.01616.81
7.2.310.0110.00716.80
7.2.300.0100.00716.63
7.2.290.0130.00316.88
7.2.250.0070.01115.16
7.2.240.0080.01015.13
7.2.230.0060.01015.16
7.2.220.0050.00615.22
7.2.210.0030.01015.29
7.2.200.0030.01015.16
7.2.190.0040.01015.19
7.2.180.0040.00915.24
7.2.170.0060.00715.23
7.2.160.0120.00315.28
7.2.150.0150.00016.82
7.2.140.0080.00817.09
7.2.130.0100.00317.05
7.2.120.0040.01117.02
7.2.110.0000.00917.00
7.2.100.0060.01317.11
7.2.90.0040.01116.86
7.2.80.0100.00716.89
7.2.70.0000.01816.88
7.2.60.0120.00317.22
7.2.50.0040.00817.02
7.2.40.0050.00517.15
7.2.30.0030.00617.10
7.2.20.0090.00017.00
7.2.10.0070.00717.16
7.2.00.0070.00918.32
7.1.330.0040.00915.96
7.1.320.0090.00415.85
7.1.310.0090.00516.04
7.1.300.0070.00715.98
7.1.290.0060.00716.05
7.1.280.0060.00615.87
7.1.270.0060.00515.85
7.1.260.0040.01015.92
7.1.250.0070.00316.04
7.1.100.0040.01118.18
7.1.70.0080.00417.43
7.1.60.0110.00717.15
7.1.50.0090.00917.26
7.1.40.0060.00616.73
7.1.30.0000.01216.72
7.1.20.0080.00416.92
7.1.10.0040.00416.76
7.1.00.0000.00917.14
7.0.200.0050.01016.66
7.0.190.0040.00816.75
7.0.180.0000.00916.54
7.0.170.0040.00416.61
7.0.160.0030.00616.60
7.0.150.0030.00916.53
7.0.140.0000.00716.59
7.0.130.0000.00816.82
7.0.120.0060.00316.85
7.0.110.0000.00716.60
7.0.100.0000.00816.54
7.0.90.0070.00016.56
7.0.80.0000.00716.60
7.0.70.0040.00416.60
7.0.60.0000.00816.52
7.0.50.0000.00816.77
7.0.40.0000.00815.15
7.0.30.0040.00415.15
7.0.20.0000.00815.15
7.0.10.0030.00615.15
7.0.00.0000.01215.15
5.6.300.0070.03620.67
5.6.290.0030.04320.80
5.6.280.0000.04421.09
5.6.270.0100.03520.88
5.6.260.0070.03820.86
5.6.250.0030.04421.03
5.6.240.0030.05421.02
5.6.230.0030.04521.05
5.6.220.0000.04620.94
5.6.210.0070.03620.62
5.6.200.0030.04220.86
5.6.190.0070.04421.02
5.6.180.0130.04020.73
5.6.170.0030.04220.85
5.6.160.0100.06721.04
5.6.150.0060.04420.82
5.6.140.0030.04920.76
5.6.130.0030.05120.75
5.6.120.0100.03720.82
5.6.110.0030.06821.00
5.6.100.0100.04020.75
5.6.90.0070.04320.84
5.6.80.0000.04620.25
5.6.70.0100.06120.36
5.6.60.0070.06320.20
5.6.50.0090.03420.36
5.6.40.0070.03920.31
5.6.30.0090.03920.40
5.6.20.0070.06820.21
5.6.10.0000.04920.14
5.6.00.0040.05020.26
5.5.380.0030.03917.44
5.5.370.0000.04117.61
5.5.360.0100.06217.50
5.5.350.0060.03917.47
5.5.340.0230.02917.97
5.5.330.0100.04418.07
5.5.320.0000.04817.71
5.5.310.0070.04317.71
5.5.300.0130.04918.12
5.5.290.0000.05617.94
5.5.280.0070.04318.03
5.5.270.0070.04017.70
5.5.260.0030.04117.73
5.5.250.0070.04317.81
5.5.240.0030.03617.25
5.5.230.0030.07017.49
5.5.220.0070.04017.23
5.5.210.0030.03817.12
5.5.200.0100.03517.34
5.5.190.0000.06917.21
5.5.180.0000.04217.46
5.5.160.0100.03317.42
5.5.150.0030.03917.38
5.5.140.0170.03317.38
5.5.130.0000.04817.31
5.5.120.0030.04117.39
5.5.110.0030.04717.21
5.5.100.0030.08117.20
5.5.90.0100.06717.21
5.5.80.0030.06016.99
5.5.70.0000.04017.36
5.5.60.0070.03817.18
5.5.50.0030.04517.32
5.5.40.0030.03717.27
5.5.30.0070.04617.29
5.5.20.0000.04517.20
5.5.10.0000.04617.18
5.5.00.0340.03817.18
5.4.450.0040.03919.40
5.4.440.0000.05119.34
5.4.430.0030.04019.17
5.4.420.0100.03419.49
5.4.410.0070.04919.22
5.4.400.0030.04418.98
5.4.390.0030.03719.14
5.4.380.0030.03918.94
5.4.370.0000.04019.14
5.4.360.0000.04518.98
5.4.350.0030.03819.17
5.4.340.0030.07918.82
5.4.320.0030.04219.02
5.4.310.0070.03519.06
5.4.300.0000.04419.06
5.4.290.0000.04619.13
5.4.280.0070.04319.16
5.4.270.0030.04018.99
5.4.260.0100.03318.98
5.4.250.0000.04318.82
5.4.240.0070.07319.10
5.4.230.0070.05219.13
5.4.220.0030.03718.82
5.4.210.0000.03819.04
5.4.200.0070.03718.88
5.4.190.0030.04018.97
5.4.180.0000.04518.85
5.4.170.0000.04119.06
5.4.160.0000.05819.02
5.4.150.0120.03119.05
5.4.140.0000.04216.42
5.4.130.0000.03916.53
5.4.120.0030.04716.43
5.4.110.0070.04416.50
5.4.100.0000.04216.50
5.4.90.0000.04116.50
5.4.80.0000.04216.48
5.4.70.0030.03816.56
5.4.60.0000.03716.62
5.4.50.0070.03016.33
5.4.40.0000.04016.66
5.4.30.0000.03916.32
5.4.20.0000.03916.65
5.4.10.0000.03916.32
5.4.00.0000.03715.77
5.3.290.0000.04815.15
5.3.280.0030.04015.15
5.3.270.0030.05015.15
5.3.260.0030.04115.15
5.3.250.0030.03915.15
5.3.240.0000.05515.15
5.3.230.0000.03915.15
5.3.220.0060.03215.15
5.3.210.0060.03515.15
5.3.200.0030.03515.15
5.3.190.0030.04015.15
5.3.180.0000.04115.15
5.3.170.0000.04015.15
5.3.160.0070.03315.15
5.3.150.0060.03515.15
5.3.140.0100.03015.15
5.3.130.0000.07415.15
5.3.120.0040.03615.15
5.3.110.0000.04115.15
5.3.100.0040.03615.15
5.3.90.0000.04115.15
5.3.80.0030.03615.15
5.3.70.0030.04315.15
5.3.60.0030.03615.15
5.3.50.0030.03315.15
5.3.40.0000.03815.15
5.3.30.0190.02515.15
5.3.20.0030.03715.15
5.3.10.0030.05315.15
5.3.00.0000.03915.15
5.2.170.0000.03915.15
5.2.160.0030.03115.15
5.2.150.0000.03415.15
5.2.140.0030.03715.15
5.2.130.0000.03415.15
5.2.120.0070.02515.15
5.2.110.0040.02515.15
5.2.100.0030.03115.15
5.2.90.0000.02915.15
5.2.80.0100.03315.15
5.2.70.0000.03115.15
5.2.60.0030.02715.15
5.2.50.0070.02315.15
5.2.40.0000.02915.15
5.2.30.0070.04515.15
5.2.20.0000.04115.15
5.2.10.0000.03415.15
5.2.00.0130.03015.15
5.1.60.0000.02815.15
5.1.50.0180.02515.15
5.1.40.0030.02615.15
5.1.30.0000.02715.15
5.1.20.0000.03015.15
5.1.10.0030.02515.15
5.1.00.0060.02115.15
5.0.50.0000.02415.15
5.0.40.0030.02215.15
5.0.30.0000.03315.15
5.0.20.0000.02015.15
5.0.10.0030.02415.15
5.0.00.0030.03315.15
4.4.90.0060.01115.15
4.4.80.0000.01715.15
4.4.70.0100.01415.15
4.4.60.0030.01615.15
4.4.50.0030.01315.15
4.4.40.0000.02715.15
4.4.30.0070.01815.15
4.4.20.0030.01715.15
4.4.10.0030.02015.15
4.4.00.0000.02715.15
4.3.110.0030.01315.15
4.3.100.0000.01515.15
4.3.90.0030.01215.15
4.3.80.0030.04215.15
4.3.70.0000.03515.15
4.3.60.0000.01615.15
4.3.50.0000.01815.15
4.3.40.0060.01915.15
4.3.30.0000.02315.15
4.3.20.0040.01515.15
4.3.10.0000.01715.15
4.3.00.0040.01415.15

preferences:
52.81 ms | 401 KiB | 5 Q