3v4l.org

run code in 300+ PHP versions simultaneously
<?php $filePath = '/cv/67/6d/676d33634d07b95da37715d98575175f.dox'; 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.0140.00718.41
8.3.50.0140.00316.36
8.3.40.0090.00618.68
8.3.30.0070.00718.79
8.3.20.0050.00221.69
8.3.10.0080.00023.39
8.3.00.0080.00021.97
8.2.180.0070.00716.75
8.2.170.0110.00722.96
8.2.160.0100.00319.22
8.2.150.0030.00524.18
8.2.140.0050.00324.66
8.2.130.0070.00019.05
8.2.120.0050.00326.35
8.2.110.0030.00622.23
8.2.100.0120.00017.91
8.2.90.0030.00520.02
8.2.80.0030.00518.03
8.2.70.0040.00417.66
8.2.60.0000.01517.25
8.2.50.0040.00418.10
8.2.40.0000.00820.47
8.2.30.0040.00420.68
8.2.20.0030.00517.93
8.2.10.0050.00317.98
8.2.00.0030.00518.02
8.1.280.0120.00325.92
8.1.270.0080.00022.19
8.1.260.0070.00026.35
8.1.250.0080.00028.09
8.1.240.0060.00322.30
8.1.230.0060.00620.98
8.1.220.0000.00917.74
8.1.210.0040.00418.77
8.1.200.0050.00317.35
8.1.190.0060.00317.35
8.1.180.0000.00818.10
8.1.170.0000.00818.62
8.1.160.0000.00718.81
8.1.150.0000.00720.33
8.1.140.0050.00317.69
8.1.130.0050.00519.04
8.1.120.0040.00417.52
8.1.110.0080.00017.54
8.1.100.0000.00717.50
8.1.90.0050.00217.51
8.1.80.0000.00817.56
8.1.70.0030.00517.54
8.1.60.0030.00617.66
8.1.50.0000.00817.65
8.1.40.0040.00417.57
8.1.30.0030.00517.67
8.1.20.0050.00317.67
8.1.10.0000.00817.55
8.1.00.0040.00417.52
8.0.300.0000.00819.95
8.0.290.0070.00016.88
8.0.280.0030.00318.29
8.0.270.0000.00717.18
8.0.260.0000.00916.82
8.0.250.0000.00717.03
8.0.240.0030.00617.00
8.0.230.0030.00316.91
8.0.220.0040.00416.97
8.0.210.0000.00716.96
8.0.200.0060.00316.99
8.0.190.0030.00517.04
8.0.180.0030.00417.01
8.0.170.0040.00416.91
8.0.160.0030.00317.02
8.0.150.0030.00316.81
8.0.140.0030.00516.88
8.0.130.0000.00513.44
8.0.120.0000.00716.88
8.0.110.0080.00017.03
8.0.100.0000.00716.98
8.0.90.0040.00416.93
8.0.80.0060.00817.02
8.0.70.0040.00416.89
8.0.60.0040.00417.02
8.0.50.0030.00516.80
8.0.30.0100.01017.19
8.0.20.0060.01217.40
8.0.10.0070.00017.16
8.0.00.0090.00916.86
7.4.330.0000.00515.55
7.4.320.0050.00316.74
7.4.300.0030.00316.58
7.4.290.0030.00616.67
7.4.280.0040.00416.56
7.4.270.0070.00016.70
7.4.260.0040.00416.56
7.4.250.0000.00716.61
7.4.240.0040.00416.58
7.4.230.0050.00316.60
7.4.220.0030.00416.40
7.4.210.0070.00716.61
7.4.200.0000.00816.64
7.4.160.0110.00616.66
7.4.140.0070.01417.86
7.4.130.0100.00716.83
7.4.120.0100.00716.58
7.4.110.0170.01216.77
7.4.100.0140.00316.39
7.4.90.0180.00616.58
7.4.80.0100.01019.39
7.4.70.0090.01316.45
7.4.60.0110.00516.46
7.4.50.0030.01016.61
7.4.40.0130.01016.62
7.4.00.0000.01314.69
7.3.330.0050.00213.27
7.3.320.0000.00513.11
7.3.310.0050.00216.38
7.3.300.0030.00316.33
7.3.290.0070.00716.26
7.3.280.0060.01016.29
7.3.260.0090.01016.36
7.3.240.0140.00416.32
7.3.230.0030.01916.82
7.3.210.0140.00316.22
7.3.200.0160.00716.54
7.3.190.0060.01016.43
7.3.180.0080.01416.25
7.3.170.0000.01916.49
7.3.160.0060.01216.48
7.3.120.0070.00714.83
7.3.110.0120.00615.04
7.3.100.0040.01114.61
7.3.90.0000.00814.71
7.3.80.0070.00714.92
7.3.70.0110.00715.02
7.3.60.0060.00914.64
7.3.50.0000.01514.98
7.3.40.0000.01414.79
7.3.30.0040.00714.70
7.3.20.0090.00616.87
7.3.10.0090.00616.80
7.3.00.0040.01116.42
7.2.330.0060.01316.56
7.2.320.0100.01416.38
7.2.310.0060.01716.64
7.2.300.0090.01316.54
7.2.290.0100.01016.51
7.2.240.0070.00714.80
7.2.230.0070.00414.73
7.2.220.0130.00614.68
7.2.210.0030.00614.99
7.2.200.0050.01014.89
7.2.190.0000.01014.81
7.2.180.0100.00314.82
7.2.170.0120.00314.74
7.2.160.0040.01415.17
7.2.150.0130.01016.88
7.2.140.0090.00316.68
7.2.130.0140.00316.70
7.2.120.0060.00916.61
7.2.110.0060.00816.88
7.2.100.0040.01116.95
7.2.90.0070.00716.68
7.2.80.0110.00416.68
7.2.70.0190.00616.85
7.2.60.0020.01216.90
7.2.50.0130.00016.90
7.2.40.0030.01216.86
7.2.30.0060.01318.35
7.2.20.0080.01018.46
7.2.10.0080.01218.46
7.2.00.0040.01318.40
7.1.330.0030.01415.79
7.1.320.0080.01215.93
7.1.310.0090.00615.83
7.1.300.0090.00615.95
7.1.290.0090.00615.59
7.1.280.0000.01715.93
7.1.270.0070.01015.54
7.1.260.0070.00315.87
7.1.250.0070.00716.14
7.1.200.0100.00315.88
7.1.150.0070.01618.70
7.1.140.0080.01618.71
7.1.130.0080.01519.02
7.1.120.0100.01218.54
7.1.110.0060.01518.04
7.1.100.0100.00818.48
7.1.90.0080.01018.21
7.1.80.0100.01218.16
7.1.70.0080.01217.36
7.1.60.0310.01934.99
7.1.50.0210.01834.95
7.1.40.0360.01434.55
7.1.30.0240.01434.59
7.1.20.0310.01634.84
7.1.10.0110.01316.96
7.1.00.0070.01616.77

preferences:
56.27 ms | 400 KiB | 5 Q