3v4l.org

run code in 300+ PHP versions simultaneously
<?php $filePath = '/cv/67/6d/676d33634d07b95da37715d98575175f.docxx'; preg_match('/cv\/[0-9a-z]{2}\/[0-9a-z]{2}\/[0-9a-z]{32}\.(?:text|html|doc|docx|xls|xlsx|mht|pdf)/is', $filePath, $result); print_r($result);

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.0090.00918.55
8.3.50.0110.00616.65
8.3.40.0080.00818.82
8.3.30.0130.00318.67
8.3.20.0070.00021.76
8.3.10.0080.00023.46
8.3.00.0050.00322.09
8.2.180.0110.00716.88
8.2.170.0090.00622.96
8.2.160.0140.00319.21
8.2.150.0000.00824.18
8.2.140.0000.00824.66
8.2.130.0000.00819.18
8.2.120.0000.00826.35
8.2.110.0100.00019.21
8.2.100.0060.00617.91
8.2.90.0040.00420.02
8.2.80.0080.00018.07
8.2.70.0000.00817.88
8.2.60.0090.00019.60
8.2.50.0040.00418.10
8.2.40.0000.01020.65
8.2.30.0000.00822.55
8.2.20.0040.00418.00
8.2.10.0000.00817.95
8.2.00.0070.00017.89
8.1.280.0000.01525.92
8.1.270.0070.00021.88
8.1.260.0040.00426.35
8.1.250.0020.00528.09
8.1.240.0080.00420.64
8.1.230.0040.00822.69
8.1.220.0050.00317.74
8.1.210.0090.00018.84
8.1.200.0060.00317.35
8.1.190.0060.00317.35
8.1.180.0050.00318.10
8.1.170.0050.00318.59
8.1.160.0000.00718.85
8.1.150.0000.00820.31
8.1.140.0040.00419.45
8.1.130.0030.00618.95
8.1.120.0030.00317.57
8.1.110.0040.00417.55
8.1.100.0050.00217.43
8.1.90.0040.00417.43
8.1.80.0040.00417.43
8.1.70.0000.00717.53
8.1.60.0050.00317.70
8.1.50.0030.00617.61
8.1.40.0070.00017.53
8.1.30.0040.00417.72
8.1.20.0030.00617.70
8.1.10.0000.00817.57
8.1.00.0040.00417.63
8.0.300.0050.00219.97
8.0.290.0060.00316.75
8.0.280.0030.00318.40
8.0.270.0000.00717.26
8.0.260.0040.00416.90
8.0.250.0070.00017.02
8.0.240.0080.00017.04
8.0.230.0040.00416.91
8.0.220.0040.00417.02
8.0.210.0040.00416.98
8.0.200.0060.00617.05
8.0.190.0050.00317.01
8.0.180.0040.00416.88
8.0.170.0030.00616.99
8.0.160.0040.00416.94
8.0.150.0060.00316.90
8.0.140.0050.00316.96
8.0.130.0030.00313.38
8.0.120.0060.00316.94
8.0.110.0030.00316.95
8.0.100.0040.00417.08
8.0.90.0070.00016.86
8.0.80.0150.00016.91
8.0.70.0040.00416.95
8.0.60.0090.00016.98
8.0.50.0030.00517.04
8.0.30.0090.00917.24
8.0.20.0130.01317.40
8.0.10.0040.00416.97
8.0.00.0150.00616.88
7.4.330.0050.00015.55
7.4.320.0000.00816.76
7.4.300.0060.00016.64
7.4.290.0060.00316.64
7.4.280.0040.00416.57
7.4.270.0000.00616.55
7.4.260.0040.00416.63
7.4.250.0050.00216.72
7.4.240.0070.00016.66
7.4.230.0040.00416.40
7.4.220.0060.00316.73
7.4.210.0070.00716.73
7.4.200.0000.00716.85
7.4.160.0070.00916.61
7.4.140.0090.01117.86
7.4.130.0180.00016.52
7.4.120.0100.00716.62
7.4.110.0160.01016.54
7.4.100.0100.00716.68
7.4.90.0060.01616.48
7.4.80.0130.00619.39
7.4.70.0130.00916.69
7.4.60.0090.00616.53
7.4.50.0060.00916.74
7.4.40.0150.00616.63
7.4.00.0050.01115.02
7.3.330.0050.00213.13
7.3.320.0050.00013.16
7.3.310.0030.00316.43
7.3.300.0050.00216.13
7.3.290.0110.00416.25
7.3.280.0050.01116.27
7.3.260.0130.00716.38
7.3.240.0100.00916.43
7.3.230.0070.01116.26
7.3.210.0070.01016.55
7.3.200.0030.02016.67
7.3.190.0110.00616.82
7.3.180.0150.00616.42
7.3.170.0080.00816.41
7.3.160.0070.01016.68
7.3.120.0040.01514.95
7.3.110.0030.01314.51
7.3.100.0060.00915.14
7.3.90.0090.00415.13
7.3.80.0030.01015.04
7.3.70.0140.00014.53
7.3.60.0070.00714.91
7.3.50.0080.00414.89
7.3.40.0100.00314.55
7.3.30.0030.01414.93
7.3.20.0060.00316.63
7.3.10.0030.00916.75
7.3.00.0000.01516.73
7.2.330.0200.00316.70
7.2.320.0090.01516.50
7.2.310.0140.00516.67
7.2.300.0060.01516.57
7.2.290.0130.01016.53
7.2.250.0030.01614.77
7.2.240.0090.00914.70
7.2.230.0070.00715.05
7.2.220.0030.01015.04
7.2.210.0090.00614.96
7.2.200.0060.00614.92
7.2.190.0000.01315.19
7.2.180.0130.00615.06
7.2.170.0030.01215.02
7.2.60.0060.00616.79
7.2.30.0080.01219.52
7.2.20.0110.00819.90
7.2.10.0080.01519.85
7.2.00.0070.01519.70
7.1.330.0040.01216.11
7.1.320.0000.01415.97
7.1.310.0030.00715.84
7.1.300.0030.01016.01
7.1.290.0030.01015.57
7.1.280.0110.00415.88
7.1.270.0000.00915.80
7.1.260.0070.00315.92
7.1.200.0030.00616.09
7.1.150.0100.01118.84
7.1.140.0070.01218.72
7.1.130.0120.00819.03
7.1.120.0100.01018.85
7.1.110.0090.01118.20
7.1.100.0100.00718.18
7.1.90.0100.00817.98
7.1.80.0100.00618.19
7.1.70.0090.00817.31
7.1.60.0240.01335.27
7.1.50.0230.01534.80
7.1.40.0200.01734.55
7.1.30.0220.01434.86
7.1.20.0210.01634.68
7.1.10.0090.01316.81
7.1.00.0090.00816.93

preferences:
60.67 ms | 400 KiB | 5 Q