3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str="My name's #jeff,what is thy #jojo name?"; preg_match_all("/#\w+/", $str, $matches); print_r($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.70.0140.00316.47
8.3.60.0110.01116.75
8.3.50.0060.00921.04
8.3.40.0110.00418.83
8.3.30.0110.00418.70
8.3.20.0030.00520.48
8.3.10.0050.00323.70
8.3.00.0040.00421.91
8.2.190.0140.00716.58
8.2.180.0150.00316.63
8.2.170.0070.00722.96
8.2.160.0070.00722.12
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0110.00420.71
8.2.110.0030.00622.26
8.2.100.0040.00820.41
8.2.90.0080.00018.22
8.2.80.0030.00517.97
8.2.70.0060.00317.93
8.2.60.0000.00818.02
8.2.50.0040.00418.10
8.2.40.0000.00820.60
8.2.30.0070.00019.15
8.2.20.0050.00317.95
8.2.10.0040.00417.98
8.2.00.0030.00517.82
8.1.280.0070.01425.92
8.1.270.0080.00023.99
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00023.84
8.1.230.0080.00320.86
8.1.220.0000.00817.74
8.1.210.0030.00618.77
8.1.200.0000.00917.38
8.1.190.0050.00317.22
8.1.180.0040.00718.10
8.1.170.0000.00818.69
8.1.160.0070.00023.98
8.1.150.0070.00320.33
8.1.140.0020.00519.45
8.1.130.0070.00017.72
8.1.120.0070.00017.52
8.1.110.0070.00317.52
8.1.100.0060.00317.46
8.1.90.0000.00817.52
8.1.80.0040.00417.44
8.1.70.0030.00617.56
8.1.60.0050.00317.71
8.1.50.0080.00017.64
8.1.40.0050.00317.62
8.1.30.0050.00317.75
8.1.20.0030.00617.63
8.1.10.0070.00017.63
8.1.00.0030.00517.57
8.0.300.0000.00719.75
8.0.290.0000.00816.73
8.0.280.0070.00018.45
8.0.270.0030.00317.26
8.0.260.0060.00017.19
8.0.250.0060.00316.92
8.0.240.0000.00617.02
8.0.230.0070.00017.04
8.0.220.0020.00516.95
8.0.210.0000.00717.01
8.0.200.0030.00316.95
8.0.190.0000.00717.02
8.0.180.0000.00717.02
8.0.170.0040.00416.95
8.0.160.0000.00816.97
8.0.150.0000.00716.82
8.0.140.0070.00016.85
8.0.130.0000.00513.36
8.0.120.0070.00316.95
8.0.110.0040.00416.96
8.0.100.0040.00416.91
8.0.90.0040.00416.81
8.0.80.0110.00716.93
8.0.70.0070.00016.79
8.0.60.0080.00017.04
8.0.50.0000.00817.05
8.0.30.0100.00717.14
8.0.20.0110.00717.40
8.0.10.0090.00017.03
8.0.00.0120.00616.68
7.4.330.0040.00415.55
7.4.320.0030.00616.75
7.4.300.0000.00616.75
7.4.290.0050.00216.65
7.4.280.0080.00316.53
7.4.270.0070.00316.76
7.4.260.0100.00016.65
7.4.250.0040.00416.63
7.4.240.0040.00416.79
7.4.230.0070.00016.68
7.4.220.0090.00916.84
7.4.210.0110.01116.61
7.4.200.0040.00416.68
7.4.160.0080.00816.58
7.4.150.0070.01017.40
7.4.140.0130.00817.86
7.4.130.0080.00916.67
7.4.120.0080.00916.67
7.4.110.0120.00916.66
7.4.100.0080.00916.69
7.4.90.0160.00316.63
7.4.80.0080.00819.39
7.4.70.0040.01216.75
7.4.60.0060.00916.55
7.4.50.0040.01216.55
7.4.40.0100.00716.54
7.4.30.0080.00816.75
7.4.00.0120.00414.82
7.3.330.0000.00713.07
7.3.320.0000.00613.18
7.3.310.0030.00316.29
7.3.300.0030.00316.39
7.3.290.0060.00816.31
7.3.280.0090.00816.36
7.3.270.0060.01217.40
7.3.260.0080.00916.56
7.3.250.0080.00816.43
7.3.240.0090.01216.43
7.3.230.0090.01416.39
7.3.210.0130.00616.73
7.3.200.0160.00616.39
7.3.190.0090.00916.73
7.3.180.0070.01016.45
7.3.170.0060.01116.55
7.3.160.0120.00916.55
7.2.330.0040.01216.64
7.2.320.0130.01016.79
7.2.310.0090.01116.62
7.2.300.0070.01016.74
7.2.290.0070.01316.70
7.2.60.0210.00716.55
7.2.50.0030.01316.87
7.2.00.0060.00619.20
7.1.200.0070.00015.92
7.1.70.0000.00817.49
7.1.60.0030.01017.26
7.1.00.0070.07322.47
7.0.200.0040.00416.62
7.0.120.0030.06022.17
7.0.110.0130.05322.06
7.0.100.0030.06322.02
7.0.90.0000.06322.03
7.0.80.0030.06022.05
7.0.70.0000.06022.17
7.0.60.0030.06021.99
7.0.50.0100.07022.09
7.0.40.0100.05022.09
7.0.30.0030.05722.08
7.0.20.0030.05722.05
7.0.10.0100.05022.02
7.0.00.0130.04722.05
5.6.270.0100.05321.02
5.6.260.0070.05721.07
5.6.250.0100.05320.87
5.6.240.0070.06020.82
5.6.230.0000.06320.91
5.6.220.0070.05320.75
5.6.210.0030.06020.86
5.6.200.0100.05720.74
5.6.190.0030.05721.03
5.6.180.0070.05320.83
5.6.170.0030.05720.82
5.6.160.0070.05320.93
5.6.150.0130.05020.91
5.6.140.0070.05721.02
5.6.130.0070.05321.05
5.6.120.0030.05720.79
5.6.110.0170.04720.79
5.6.100.0070.06320.92
5.6.90.0030.05720.80
5.6.80.0100.06720.35
5.6.70.0000.05720.14
5.6.60.0130.06020.42
5.6.50.0070.05320.41
5.6.40.0130.04720.27
5.6.30.0070.05720.39
5.6.20.0030.05720.30
5.6.10.0030.05720.09
5.6.00.0030.05720.13

preferences:
50.44 ms | 401 KiB | 5 Q