3v4l.org

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

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.130.0040.00418.65
8.3.120.0060.00320.62
8.3.110.0100.00020.94
8.3.100.0030.00624.06
8.3.90.0080.00026.77
8.3.80.0030.00616.50
8.3.70.0160.00316.58
8.3.60.0090.00918.05
8.3.50.0140.00524.51
8.3.40.0040.01118.83
8.3.30.0040.01118.54
8.3.20.0040.00424.18
8.3.10.0000.00824.66
8.3.00.0090.00026.16
8.2.250.0000.00818.37
8.2.240.0060.00317.22
8.2.230.0080.00022.58
8.2.220.0060.01237.54
8.2.210.0030.00526.77
8.2.200.0090.00016.63
8.2.190.0140.00016.75
8.2.180.0090.00925.92
8.2.170.0130.00618.68
8.2.160.0080.00822.96
8.2.150.0000.00725.66
8.2.140.0070.01024.66
8.2.130.0000.00726.16
8.2.120.0050.00321.06
8.2.110.0060.00320.51
8.2.100.0110.00017.78
8.2.90.0050.00317.84
8.2.80.0000.00817.97
8.2.70.0000.00817.80
8.2.60.0050.00517.91
8.2.50.0060.00318.10
8.2.40.0000.00821.07
8.2.30.0040.00419.02
8.2.20.0000.00718.04
8.2.10.0000.00719.17
8.2.00.0040.00419.11
8.1.300.0110.00717.96
8.1.290.0090.00018.88
8.1.280.0110.00425.92
8.1.270.0070.00024.66
8.1.260.0070.01126.35
8.1.250.0070.00328.09
8.1.240.0050.00522.18
8.1.230.0060.00620.86
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0000.00917.23
8.1.190.0060.00317.13
8.1.180.0060.00318.10
8.1.170.0030.00618.35
8.1.160.0030.00618.88
8.1.150.0040.00418.75
8.1.140.0000.00718.80
8.1.130.0040.00419.94
8.1.120.0040.00417.29
8.1.110.0030.00617.33
8.1.100.0040.00417.22
8.1.90.0100.00017.20
8.1.80.0070.00317.38
8.1.70.0030.00317.36
8.1.60.0030.00617.45
8.1.50.0050.00217.29
8.1.40.0050.00317.36
8.1.30.0000.00817.53
8.1.20.0050.00317.37
8.1.10.0030.00517.36
8.1.00.0080.00317.32
8.0.300.0000.00819.79
8.0.290.0030.00616.63
8.0.280.0030.00318.25
8.0.270.0030.00516.75
8.0.260.0030.00320.14
8.0.250.0070.00016.85
8.0.240.0000.00716.78
8.0.230.0030.00316.86
8.0.220.0040.00416.89
8.0.210.0000.00716.83
8.0.200.0000.00716.81
8.0.190.0000.00816.88
8.0.180.0070.00016.86
8.0.170.0040.00416.73
8.0.160.0040.00416.82
8.0.150.0000.00716.69
8.0.140.0030.00316.80
8.0.130.0030.00313.25
8.0.120.0000.00716.81
8.0.110.0040.00416.84
8.0.100.0050.00316.64
8.0.90.0050.00216.88
8.0.80.0100.00916.75
8.0.70.0040.00416.72
8.0.60.0080.00016.63
8.0.50.0000.00716.61
8.0.30.0000.01816.96
8.0.20.0120.00917.12
8.0.10.0000.00716.99
8.0.00.0070.01716.60
7.4.330.0020.00215.55
7.4.320.0030.00316.51
7.4.300.0000.00816.32
7.4.290.0000.00716.52
7.4.280.0040.00416.42
7.4.270.0050.00316.55
7.4.260.0000.00716.42
7.4.250.0000.00716.29
7.4.240.0000.00716.45
7.4.230.0030.00316.61
7.4.220.0020.00616.40
7.4.210.0090.00616.50
7.4.200.0040.00416.36
7.4.130.0120.00716.36
7.4.120.0100.01016.63
7.4.110.0090.00916.57
7.4.100.0100.00816.37
7.4.90.0170.00316.29
7.4.80.0100.01016.21
7.4.70.0120.01316.50
7.4.60.0040.01916.28
7.4.50.0090.01516.45
7.4.40.0090.00816.37
7.4.30.0140.00316.47
7.4.20.0030.01316.40
7.4.10.0090.00916.20
7.4.00.0070.01616.50
7.3.330.0000.00616.36
7.3.320.0000.00713.16
7.3.310.0040.00416.39
7.3.300.0000.00716.24
7.3.290.0010.01316.27
7.3.280.0170.00316.24
7.3.260.0090.01416.23
7.3.230.0130.00316.21
7.3.210.0120.00816.15
7.3.200.0130.00316.48
7.3.190.0130.01016.17
7.3.180.0120.00916.27
7.3.170.0100.01416.22
7.3.160.0070.01016.24
7.3.150.0090.00916.21
7.3.140.0100.00616.28
7.3.130.0060.01116.15
7.3.120.0060.01616.42
7.3.110.0150.00616.27
7.3.100.0100.01316.28
7.3.90.0090.00616.18
7.3.80.0130.00316.30
7.3.70.0100.00716.24
7.3.60.0130.00416.30
7.3.50.0140.00416.15
7.3.40.0070.01016.18
7.3.30.0100.00716.32
7.3.20.0100.01316.30
7.3.10.0030.01316.32
7.3.00.0030.01316.37
7.2.330.0130.00816.58
7.2.320.0090.00916.69
7.2.310.0100.00916.55
7.2.300.0130.01316.54
7.2.290.0170.00316.39
7.2.280.0090.00916.41
7.2.270.0160.00316.51
7.2.260.0030.01616.57
7.2.250.0100.01016.47
7.2.240.0100.01016.58
7.2.230.0070.01316.48
7.2.220.0160.00316.67
7.2.210.0070.01116.51
7.2.200.0100.01016.47
7.2.190.0100.01016.69
7.2.180.0090.01116.42
7.2.170.0120.00616.48
7.2.160.0110.00816.67
7.2.150.0170.00316.32
7.2.140.0090.00916.50
7.2.130.0120.00816.59
7.2.120.0150.00316.60
7.2.110.0070.01416.62
7.2.100.0150.00616.50
7.2.90.0110.01116.30
7.2.80.0040.01616.57
7.2.70.0120.00916.55
7.2.60.0130.00616.60
7.2.50.0090.00916.60
7.2.40.0110.01116.64
7.2.30.0110.00816.46
7.2.20.0140.00516.66
7.2.10.0040.01516.39
7.2.00.0070.01316.62

preferences:
45.08 ms | 403 KiB | 5 Q