3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re = '/\bany\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.0160.00318.90
8.3.110.0140.00716.58
8.3.100.0040.00416.46
8.3.90.0040.01126.77
8.3.80.0090.00019.36
8.3.70.0180.00016.63
8.3.60.0110.01116.75
8.3.50.0130.00317.36
8.3.40.0110.00418.85
8.3.30.0100.00718.70
8.3.20.0070.00021.72
8.3.10.0080.00023.61
8.3.00.0000.00819.44
8.2.240.0130.00316.68
8.2.230.0090.00020.94
8.2.220.0040.00424.06
8.2.210.0080.00026.77
8.2.200.0030.00618.88
8.2.190.0080.01218.79
8.2.180.0140.00716.75
8.2.170.0070.00722.96
8.2.160.0140.00020.17
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0050.00320.52
8.2.120.0070.00026.35
8.2.110.0090.00020.40
8.2.100.0040.00717.68
8.2.90.0000.00819.13
8.2.80.0050.00317.97
8.2.70.0060.00317.75
8.2.60.0060.00317.68
8.2.50.0080.00018.10
8.2.40.0080.00020.45
8.2.30.0000.00721.05
8.2.20.0020.00518.02
8.2.10.0040.00418.03
8.2.00.0040.00418.01
8.1.300.0080.00020.20
8.1.290.0040.00430.84
8.1.280.0070.01025.92
8.1.270.0080.00018.85
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0030.00622.04
8.1.230.0060.00619.09
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0070.00317.38
8.1.190.0000.00817.35
8.1.180.0000.00818.10
8.1.170.0040.00418.76
8.1.160.0000.00719.04
8.1.150.0080.00020.68
8.1.140.0040.00419.50
8.1.130.0030.00620.62
8.1.120.0070.00017.55
8.1.110.0040.00417.55
8.1.100.0040.00417.43
8.1.90.0000.00817.42
8.1.80.0060.00317.54
8.1.70.0000.00717.57
8.1.60.0000.00817.71
8.1.50.0040.00417.61
8.1.40.0000.00717.48
8.1.30.0060.00317.63
8.1.20.0040.00417.77
8.1.10.0000.00717.72
8.1.00.0080.00017.57
8.0.300.0040.00420.00
8.0.290.0050.00316.63
8.0.280.0040.00418.40
8.0.270.0070.00017.12
8.0.260.0050.00318.84
8.0.250.0030.00317.01
8.0.240.0040.00417.01
8.0.230.0070.00016.98
8.0.220.0000.00717.00
8.0.210.0030.00316.99
8.0.200.0070.00016.94
8.0.190.0120.00317.06
8.0.180.0060.00316.93
8.0.170.0070.00016.94
8.0.160.0060.00316.96
8.0.150.0000.00816.92
8.0.140.0040.00416.88
8.0.130.0000.00513.38
8.0.120.0080.00016.96
8.0.110.0030.00316.93
8.0.100.0040.00417.00
8.0.90.0080.00016.84
8.0.80.0100.00717.00
8.0.70.0070.00016.98
8.0.60.0040.00417.03
8.0.50.0030.00516.94
8.0.30.0070.01117.22
8.0.20.0130.00717.40
8.0.10.0030.00517.14
8.0.00.0120.00816.96
7.4.330.0050.00015.55
7.4.320.0030.00316.65
7.4.300.0030.00316.64
7.4.290.0070.00016.71
7.4.280.0000.00716.73
7.4.270.0070.00316.64
7.4.260.0030.00316.72
7.4.250.0000.00816.60
7.4.240.0000.00716.73
7.4.230.0070.00016.54
7.4.220.0090.00916.54
7.4.210.0090.00616.65
7.4.200.0040.00416.54
7.4.160.0110.00616.65
7.4.150.0120.00817.40
7.4.140.0090.00917.86
7.4.130.0100.01316.48
7.4.120.0090.01516.65
7.4.110.0130.00716.47
7.4.100.0160.00616.80
7.4.90.0070.01016.46
7.4.80.0120.01219.39
7.4.70.0070.01016.70
7.4.60.0030.01316.52
7.4.50.0070.01016.67
7.4.40.0120.00416.54
7.4.30.0170.00016.46
7.4.00.0090.00915.09
7.3.330.0060.00013.03
7.3.320.0070.00013.11
7.3.310.0000.00816.30
7.3.300.0030.00316.18
7.3.290.0070.00916.32
7.3.280.0090.00816.25
7.3.270.0160.00617.40
7.3.260.0110.00916.46
7.3.250.0090.01016.46
7.3.240.0040.01516.33
7.3.230.0060.01216.30
7.3.210.0120.00416.17
7.3.200.0140.00516.30
7.3.190.0070.01016.51
7.3.180.0080.00816.50
7.3.170.0030.01416.24
7.3.160.0060.01016.68
7.3.120.0050.01214.88
7.3.110.0070.01114.51
7.3.100.0090.00714.80
7.3.90.0040.01214.76
7.3.80.0090.00514.71
7.3.70.0050.00814.78
7.3.60.0060.00314.73
7.3.50.0070.00714.63
7.3.40.0080.00814.81
7.3.30.0070.00514.90
7.3.20.0090.00616.67
7.3.10.0040.00916.62
7.3.00.0050.01016.77
7.2.330.0100.00716.69
7.2.320.0100.01016.54
7.2.310.0180.00316.71
7.2.300.0090.00916.48
7.2.290.0100.00716.59
7.2.250.0160.00315.08
7.2.240.0080.00814.90
7.2.230.0070.00715.03
7.2.220.0060.00815.06
7.2.210.0080.00714.79
7.2.200.0030.00815.05
7.2.190.0060.00914.93
7.2.180.0050.00914.96
7.2.170.0060.00815.03
7.2.160.0070.00915.09
7.2.150.0050.01316.79
7.2.140.0090.00616.95
7.2.130.0110.00416.75
7.2.120.0110.00416.73
7.2.110.0080.00716.82
7.2.100.0030.01116.67
7.2.90.0030.00816.80
7.2.80.0040.01316.86
7.2.70.0040.01316.95
7.2.60.0070.00916.88
7.2.50.0060.00916.82
7.2.40.0030.01216.74
7.2.30.0000.01716.92
7.2.20.0100.00516.90
7.2.10.0070.00716.76
7.2.00.0030.01116.68
7.1.330.0030.01315.94
7.1.320.0090.00515.89
7.1.310.0090.00715.87
7.1.300.0070.00715.81
7.1.290.0030.01115.89
7.1.280.0050.01015.98
7.1.270.0060.00815.89
7.1.260.0020.01415.76
7.1.250.0040.01215.76
7.1.200.0030.01015.88
7.1.70.0040.00417.16
7.1.60.0030.00717.48
7.1.50.0030.00917.13
7.1.40.0100.00316.83
7.1.30.0040.01116.93
7.1.20.0040.00716.91
7.1.10.0000.00816.90
7.1.00.0060.00317.00
7.0.200.0000.00816.94
7.0.190.0000.01016.59
7.0.180.0030.00916.32
7.0.170.0050.00516.34
7.0.160.0030.00616.44
7.0.150.0040.00416.44
7.0.140.0040.00416.32
7.0.130.0000.00716.48
7.0.120.0090.00316.61
7.0.110.0000.00816.54
7.0.100.0000.00816.41
7.0.90.0000.00816.61
7.0.80.0030.00716.67
7.0.70.0000.00816.54
7.0.60.0030.00716.35
7.0.50.0000.00816.49
7.0.40.0000.00814.86
7.0.30.0030.00514.72
7.0.20.0000.01014.80
7.0.10.0000.01014.72
7.0.00.0000.00914.72

preferences:
60.47 ms | 403 KiB | 5 Q