3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re = '/\b[Aa]ny\b/'; $str = 'Will *any* company do *any* job, (are there any)?'; if(preg_match_all($re, $str, $matches)){ } // Print the entire match result var_dump($matches);

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.120.0120.00320.41
8.3.110.0060.00320.94
8.3.100.0060.00324.06
8.3.90.0030.00726.77
8.3.80.0070.00317.97
8.3.70.0100.00716.75
8.3.60.0070.00716.88
8.3.50.0100.00817.49
8.3.40.0090.00918.94
8.3.30.0070.01018.92
8.3.20.0040.00421.74
8.3.10.0080.00023.67
8.3.00.0060.00319.56
8.2.240.0080.00018.97
8.2.230.0040.00422.58
8.2.220.0060.00337.54
8.2.210.0080.00026.77
8.2.200.0060.00316.88
8.2.190.0140.00416.88
8.2.180.0180.00718.29
8.2.170.0150.00022.96
8.2.160.0070.00720.44
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0090.00020.45
8.2.120.0000.00826.35
8.2.110.0040.00422.06
8.2.100.0110.00017.84
8.2.90.0090.00017.88
8.2.80.0000.01118.78
8.2.70.0040.00417.75
8.2.60.0080.00017.88
8.2.50.0040.00418.07
8.2.40.0080.00018.10
8.2.30.0040.00418.05
8.2.20.0000.00718.05
8.2.10.0040.00417.95
8.2.00.0050.00218.09
8.1.300.0060.00319.66
8.1.290.0100.00030.84
8.1.280.0070.01325.92
8.1.270.0040.00418.86
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0040.00423.85
8.1.230.0040.00717.77
8.1.220.0040.00417.77
8.1.210.0030.00618.77
8.1.200.0000.01017.48
8.1.190.0000.00917.54
8.1.180.0040.00418.10
8.1.170.0040.00418.90
8.1.160.0040.00418.95
8.1.150.0000.00720.67
8.1.140.0000.00719.59
8.1.130.0000.00720.56
8.1.120.0000.00717.44
8.1.110.0040.00417.46
8.1.100.0000.00717.45
8.1.90.0070.00017.45
8.1.80.0000.00717.55
8.1.70.0020.00517.51
8.1.60.0040.00417.59
8.1.50.0080.00017.65
8.1.40.0040.00417.53
8.1.30.0030.00617.75
8.1.20.0000.00717.71
8.1.10.0050.00317.54
8.1.00.0000.00917.57
8.0.300.0040.00418.77
8.0.290.0000.00716.88
8.0.280.0000.00918.36
8.0.270.0030.00317.14
8.0.260.0030.00318.83
8.0.250.0000.00717.03
8.0.240.0000.00816.90
8.0.230.0080.00017.01
8.0.220.0040.00417.07
8.0.210.0070.00016.91
8.0.200.0070.00016.91
8.0.190.0040.00716.92
8.0.180.0090.00016.89
8.0.170.0030.00316.99
8.0.160.0040.00417.06
8.0.150.0080.00016.91
8.0.140.0000.00716.95
8.0.130.0090.00013.41
8.0.120.0030.00517.00
8.0.110.0030.00516.91
8.0.100.0000.00716.88
8.0.90.0000.00716.88
8.0.80.0090.00916.99
8.0.70.0040.00417.04
8.0.60.0000.00916.86
8.0.50.0050.00217.06
8.0.30.0110.00817.21
8.0.20.0130.00817.40
8.0.10.0030.00417.04
8.0.00.0070.01117.07
7.4.330.0050.00015.55
7.4.320.0030.00316.70
7.4.300.0000.00616.69
7.4.290.0070.00016.80
7.4.280.0000.00816.70
7.4.270.0070.00016.79
7.4.260.0000.00816.78
7.4.250.0000.00716.63
7.4.240.0000.00716.79
7.4.230.0070.00016.57
7.4.220.0100.01616.84
7.4.210.0090.00616.78
7.4.200.0080.00016.88
7.4.160.0060.00916.60
7.4.150.0170.00017.40
7.4.140.0140.00617.86
7.4.130.0070.01316.83
7.4.120.0150.00816.63
7.4.110.0030.01416.89
7.4.100.0090.00916.60
7.4.90.0150.00716.61
7.4.80.0160.00719.39
7.4.70.0130.00316.70
7.4.60.0160.00016.63
7.4.50.0060.01016.73
7.4.40.0090.00916.59
7.4.30.0100.01116.69
7.4.00.0030.01514.89
7.3.330.0050.00013.04
7.3.320.0000.00713.18
7.3.310.0000.00816.35
7.3.300.0070.00016.27
7.3.290.0040.01116.28
7.3.280.0080.00916.28
7.3.270.0100.01317.40
7.3.260.0100.01016.55
7.3.250.0060.01016.43
7.3.240.0120.00516.31
7.3.230.0130.00316.35
7.3.210.0120.00416.55
7.3.200.0000.01916.61
7.3.190.0150.00616.68
7.3.180.0090.00816.31
7.3.170.0040.01216.72
7.3.160.0090.00616.25
7.2.330.0110.00616.60
7.2.320.0090.01516.54
7.2.310.0100.01016.42
7.2.300.0060.01116.52
7.2.290.0100.00716.58
7.2.60.0030.01316.98
7.2.50.0000.01216.79
7.1.200.0130.00015.86
7.1.70.0000.00717.27
7.1.60.1330.01033.31
7.1.50.1000.01332.82
7.1.40.1230.01332.70
7.1.30.0970.01333.05
7.1.20.1500.02032.93
7.1.10.1200.01315.14
7.1.00.1070.01015.23
7.0.200.0930.01314.88
7.0.190.1430.01315.01
7.0.180.1100.01014.60
7.0.170.0830.01014.52
7.0.160.0970.02314.41
7.0.150.1170.01014.78
7.0.140.0900.01314.66
7.0.130.0770.01314.79
7.0.120.0800.00714.72
7.0.110.1000.01714.43
7.0.100.0730.01314.62
7.0.90.1270.00714.68
7.0.80.0770.01314.63
7.0.70.1000.00314.50
7.0.60.0600.02014.41
7.0.50.0870.01314.59
7.0.40.1200.02014.87
7.0.30.1270.02014.85
7.0.20.0670.01014.75
7.0.10.0600.01314.78
7.0.00.0870.01014.65

preferences:
40.69 ms | 403 KiB | 5 Q