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)?'; 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.60.0090.01316.88
8.3.50.0040.01118.18
8.3.40.0070.01119.14
8.3.30.0090.00618.79
8.3.20.0070.00021.93
8.3.10.0080.00023.65
8.3.00.0040.00419.44
8.2.180.0120.00918.41
8.2.170.0070.00722.96
8.2.160.0060.00920.29
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00420.40
8.2.120.0070.00026.35
8.2.110.0060.00320.35
8.2.100.0060.00617.97
8.2.90.0090.00019.21
8.2.80.0030.00517.97
8.2.70.0000.00817.50
8.2.60.0000.00817.90
8.2.50.0030.00618.10
8.2.40.0080.00020.78
8.2.30.0000.00820.96
8.2.20.0040.00417.98
8.2.10.0020.00518.07
8.2.00.0000.00818.06
8.1.280.0040.01125.92
8.1.270.0030.00520.65
8.1.260.0030.00526.35
8.1.250.0050.00228.09
8.1.240.0030.00623.84
8.1.230.0110.00017.83
8.1.220.0060.00317.74
8.1.210.0030.00518.77
8.1.200.0000.00817.38
8.1.190.0000.00817.35
8.1.180.0000.00818.10
8.1.170.0040.00418.66
8.1.160.0000.00719.00
8.1.150.0080.00020.63
8.1.140.0030.00519.51
8.1.130.0040.00420.59
8.1.120.0000.00717.54
8.1.110.0040.00417.57
8.1.100.0050.00317.52
8.1.90.0040.00417.54
8.1.80.0070.00017.50
8.1.70.0000.00717.44
8.1.60.0000.00817.55
8.1.50.0040.00417.58
8.1.40.0000.00817.60
8.1.30.0000.00717.71
8.1.20.0070.00017.61
8.1.10.0040.00417.62
8.1.00.0050.00317.57
8.0.300.0090.00018.77
8.0.290.0040.00416.75
8.0.280.0070.00018.41
8.0.270.0070.00017.22
8.0.260.0000.00618.83
8.0.250.0030.00317.04
8.0.240.0000.00816.89
8.0.230.0030.00316.91
8.0.220.0040.00416.99
8.0.210.0050.00217.05
8.0.200.0030.00317.03
8.0.190.0000.01016.89
8.0.180.0060.00616.95
8.0.170.0000.00716.96
8.0.160.0000.00817.03
8.0.150.0030.00516.91
8.0.140.0040.00416.80
8.0.130.0040.00213.34
8.0.120.0030.00516.95
8.0.110.0040.00416.84
8.0.100.0050.00216.90
8.0.90.0000.00717.00
8.0.80.0090.00916.97
8.0.70.0000.00716.84
8.0.60.0000.00816.88
8.0.50.0080.00016.89
8.0.30.0080.01117.11
8.0.20.0090.01017.42
8.0.10.0040.00417.20
8.0.00.0130.00616.98
7.4.330.0000.00615.55
7.4.320.0040.00416.82
7.4.300.0000.00616.59
7.4.290.0070.00016.71
7.4.280.0000.00816.83
7.4.270.0030.00316.70
7.4.260.0000.00816.70
7.4.250.0040.00416.81
7.4.240.0000.00716.70
7.4.230.0030.00316.54
7.4.220.0000.02416.73
7.4.210.0150.00716.67
7.4.200.0070.00016.81
7.4.160.0100.00816.62
7.4.150.0150.00717.40
7.4.140.0090.00917.86
7.4.130.0070.01416.84
7.4.120.0090.01216.63
7.4.110.0060.01216.59
7.4.100.0100.01316.61
7.4.90.0070.01316.48
7.4.80.0130.01019.39
7.4.70.0150.00616.70
7.4.60.0100.00616.68
7.4.50.0030.01016.48
7.4.40.0130.00316.52
7.4.30.0210.00416.62
7.4.10.0000.01715.04
7.4.00.0110.00614.91
7.3.330.0000.00613.11
7.3.320.0000.00713.19
7.3.310.0000.00816.13
7.3.300.0000.00816.18
7.3.290.0070.00916.27
7.3.280.0150.00616.29
7.3.270.0100.00717.40
7.3.260.0170.00516.25
7.3.250.0090.00816.62
7.3.240.0120.00816.33
7.3.230.0060.01016.68
7.3.210.0080.00816.42
7.3.200.0060.01116.57
7.3.190.0160.00616.75
7.3.180.0160.00016.46
7.3.170.0100.00616.24
7.3.160.0070.00716.24
7.3.130.0040.01114.62
7.3.120.0100.01014.90
7.3.110.0070.01015.00
7.3.100.0100.00714.80
7.3.90.0100.00714.70
7.3.80.0100.00214.79
7.3.70.0060.00514.80
7.3.60.0050.00914.85
7.3.50.0050.00714.77
7.3.40.0060.00814.66
7.3.30.0050.01114.77
7.3.20.0090.00316.59
7.3.10.0040.00816.71
7.3.00.0050.00916.52
7.2.330.0070.01016.46
7.2.320.0110.00716.66
7.2.310.0130.01016.52
7.2.300.0140.00316.34
7.2.290.0220.00016.62
7.2.260.0000.01415.07
7.2.250.0080.00715.15
7.2.240.0070.01014.83
7.2.230.0030.01115.21
7.2.220.0050.00715.05
7.2.210.0020.01014.82
7.2.200.0060.00815.08
7.2.190.0060.00814.89
7.2.180.0070.00914.79
7.2.170.0060.01115.07
7.2.160.0030.01215.01
7.2.150.0030.01016.78
7.2.140.0000.01416.84
7.2.130.0110.00416.84
7.2.120.0070.00516.83
7.2.110.0080.00516.79
7.2.100.0070.00716.97
7.2.90.0050.01016.96
7.2.80.0050.00616.72
7.2.70.0030.01116.90
7.2.60.0050.00916.88
7.2.50.0060.00716.73
7.2.40.0080.00616.88
7.2.30.0080.00716.93
7.2.20.0080.00716.84
7.2.10.0060.00716.92
7.2.00.0060.00816.85
7.1.330.0040.00716.01
7.1.320.0020.00915.89
7.1.310.0050.00815.67
7.1.300.0070.00815.80
7.1.290.0090.00715.90
7.1.280.0060.01015.76
7.1.270.0050.00915.91
7.1.260.0040.00815.88
7.1.250.0010.00815.80
7.1.240.0120.00315.86
7.1.230.0040.00815.77
7.1.220.0070.00415.83
7.1.210.0040.00815.92
7.1.200.0090.00715.68
7.1.190.0070.00715.83
7.1.180.0070.00716.05
7.1.170.0000.01215.96
7.1.160.0060.00615.83
7.1.150.0000.00815.91
7.1.140.0030.01015.61
7.1.130.0030.01315.76
7.1.120.0060.00615.72
7.1.110.0030.01415.98
7.1.100.0070.00316.00
7.1.90.0040.01515.76
7.1.80.0040.00815.85
7.1.70.0020.00916.65
7.1.60.0070.00716.78
7.1.50.0070.00916.32
7.1.40.0070.00516.22
7.1.30.0030.00716.29
7.1.20.0060.00416.36
7.1.10.0010.00916.34
7.1.00.0060.00816.32
7.0.330.0110.00415.46
7.0.320.0080.00315.45
7.0.310.0070.00715.50
7.0.300.0030.00815.38
7.0.290.0000.01415.48
7.0.280.0060.00315.72
7.0.270.0040.01115.47
7.0.260.0070.00315.56
7.0.250.0030.01215.42
7.0.240.0030.01415.57
7.0.230.0030.01115.61
7.0.220.0030.01015.73
7.0.210.0000.01215.07
7.0.200.0000.01216.13
7.0.190.0060.00616.11
7.0.180.0040.00416.00
7.0.170.0020.01015.72
7.0.160.0030.00915.77
7.0.150.0030.00715.93
7.0.140.0080.00116.00
7.0.130.0050.00416.20
7.0.120.0050.00516.13
7.0.110.0010.00816.07
7.0.100.0030.00716.08
7.0.90.0010.00616.04
7.0.80.0040.00715.88
7.0.70.0030.00915.77
7.0.60.0050.00615.86
7.0.50.0030.00915.98
7.0.40.0010.00614.20
7.0.30.0050.00414.08
7.0.20.0020.00914.24
7.0.10.0020.00914.24
7.0.00.0020.00914.20
5.6.400.0100.00714.34
5.6.390.0090.00614.50
5.6.380.0070.00314.16
5.6.370.0000.01114.41
5.6.360.0070.00714.58
5.6.350.0130.00314.25
5.6.340.0070.00714.22
5.6.330.0000.01114.32
5.6.320.0000.01314.24
5.6.310.0000.01414.57
5.6.300.0060.00914.25
5.6.290.0070.00314.34
5.6.280.0060.00914.31
5.6.270.0060.00614.46
5.6.260.0030.00714.32
5.6.250.0030.01314.31
5.6.240.0100.00314.43
5.6.230.0060.00914.08
5.6.220.0000.01314.08
5.6.210.0070.00314.35
5.6.200.0030.01014.39
5.6.190.0040.00714.32
5.6.180.0060.00314.20
5.6.170.0120.00314.31
5.6.160.0100.00714.17
5.6.150.0070.01014.25
5.6.140.0130.00014.29
5.6.130.0000.01014.15
5.6.120.0030.00614.30
5.6.110.0000.01014.41
5.6.100.0070.00714.07
5.6.90.0040.00814.13
5.6.80.0030.01014.27
5.6.70.0030.01014.12
5.6.60.0060.00814.15
5.6.50.0070.00713.91
5.6.40.0000.01414.14
5.6.30.0110.00014.09
5.6.20.0000.01314.13
5.6.10.0060.00614.29
5.6.00.0040.00814.03

preferences:
48.96 ms | 401 KiB | 5 Q