3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = '<h2>Title of post</h2> 1 category <strong>task 1</strong> 1 category <strong>task 2</strong> 1 category <strong>task 3</strong>&nbsp; '; preg_match_all('/\<\/h2\>(.*?)\<strong\>/', $html, $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.0070.01118.31
8.3.50.0110.00716.75
8.3.40.0110.00718.82
8.3.30.0100.00718.80
8.3.20.0050.00318.89
8.3.10.0090.00023.62
8.3.00.0050.00323.65
8.2.180.0120.00917.00
8.2.170.0100.00722.96
8.2.160.0100.00720.53
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0000.00822.22
8.2.120.0090.00026.35
8.2.110.0000.00920.35
8.2.100.0040.00717.78
8.2.90.0040.00417.75
8.2.80.0000.00817.97
8.2.70.0000.00817.93
8.2.60.0060.00318.16
8.2.50.0080.00018.10
8.2.40.0060.00319.33
8.2.30.0040.00420.64
8.2.20.0000.00717.94
8.2.10.0050.00218.01
8.2.00.0050.00319.38
8.1.280.0160.00625.92
8.1.270.0000.00722.05
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00323.66
8.1.230.0090.00319.09
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0030.00917.35
8.1.190.0050.00317.22
8.1.180.0080.00018.10
8.1.170.0000.00818.75
8.1.160.0000.00818.91
8.1.150.0050.00218.85
8.1.140.0070.00019.07
8.1.130.0030.00318.91
8.1.120.0000.00717.57
8.1.110.0030.00517.52
8.1.100.0070.00017.44
8.1.90.0040.00417.57
8.1.80.0000.00717.46
8.1.70.0030.00517.55
8.1.60.0030.00517.66
8.1.50.0020.00517.48
8.1.40.0000.00817.55
8.1.30.0000.00817.72
8.1.20.0040.00417.73
8.1.10.0000.00717.58
8.1.00.0050.00217.50
8.0.300.0050.00318.77
8.0.290.0040.00416.75
8.0.280.0080.00018.45
8.0.270.0030.00317.13
8.0.260.0040.00417.21
8.0.250.0030.00316.98
8.0.240.0030.00517.00
8.0.230.0060.00016.86
8.0.220.0030.00316.94
8.0.210.0030.00317.00
8.0.200.0000.00717.05
8.0.190.0040.00416.95
8.0.180.0040.00416.93
8.0.170.0000.00816.95
8.0.160.0040.00417.05
8.0.150.0000.00716.91
8.0.140.0030.00316.94
8.0.130.0050.00013.41
8.0.120.0050.00316.93
8.0.110.0020.00516.99
8.0.100.0040.00417.02
8.0.90.0000.00817.02
8.0.80.0080.01016.96
8.0.70.0000.00817.02
8.0.60.0040.00416.88
8.0.50.0040.00416.91
8.0.30.0070.01217.01
8.0.20.0140.00617.40
8.0.10.0040.00416.96
8.0.00.0140.00516.75
7.4.330.0000.00515.55
7.4.320.0000.00616.57
7.4.300.0000.00616.66
7.4.290.0070.00016.73
7.4.280.0030.00516.73
7.4.270.0000.00916.66
7.4.260.0000.00716.62
7.4.250.0030.00316.66
7.4.240.0040.00416.64
7.4.230.0030.00316.77
7.4.220.0030.00616.73
7.4.210.0060.00916.78
7.4.200.0030.00316.84
7.4.160.0090.00716.47
7.4.140.0100.00817.86
7.4.130.0210.00316.44
7.4.120.0080.01316.72
7.4.110.0030.01416.60
7.4.100.0160.00616.42
7.4.90.0120.00616.58
7.4.80.0130.00619.39
7.4.70.0060.01016.77
7.4.60.0040.01216.55
7.4.50.0080.00616.63
7.4.40.0120.00616.71
7.4.00.0030.01014.88
7.3.330.0050.00013.01
7.3.320.0030.00313.18
7.3.310.0030.00316.38
7.3.300.0050.00216.27
7.3.290.0040.00416.32
7.3.280.0090.00916.27
7.3.260.0080.01016.39
7.3.240.0120.00616.40
7.3.230.0100.01016.68
7.3.210.0060.01316.25
7.3.200.0100.00716.53
7.3.190.0080.00816.26
7.3.180.0100.00616.35
7.3.170.0100.01016.45
7.3.160.0080.00816.57
7.3.120.0130.00615.02
7.3.110.0060.01214.80
7.3.100.0070.00715.04
7.3.90.0030.00714.74
7.3.80.0110.00414.95
7.3.70.0040.01114.98
7.3.60.0130.00714.64
7.3.50.0060.00614.88
7.3.40.0070.00714.93
7.3.30.0060.01014.86
7.3.20.0100.00716.46
7.3.10.0110.00716.70
7.3.00.0030.01116.52
7.2.330.0070.01016.70
7.2.320.0110.00616.59
7.2.310.0140.00416.76
7.2.300.0160.00416.59
7.2.290.0030.01416.66
7.2.250.0120.00615.04
7.2.240.0060.01315.10
7.2.230.0150.00315.21
7.2.220.0100.01014.75
7.2.210.0070.00714.95
7.2.200.0120.00014.88
7.2.190.0100.01014.74
7.2.180.0150.00014.99
7.2.170.0070.01014.84
7.2.80.0670.00414.50
7.2.70.0650.00814.96
7.2.60.0680.00714.94
7.2.50.0570.01314.96
7.2.40.0630.00314.90
7.2.30.0730.01015.08
7.2.20.0720.00714.93
7.2.10.1020.00614.98
7.2.00.0690.00414.80
7.1.330.0000.01115.93
7.1.320.0090.00616.05
7.1.310.0060.00615.74
7.1.300.0090.00615.76
7.1.290.0000.00815.91
7.1.280.0100.00715.55
7.1.270.0130.00315.95
7.1.260.0070.01016.02
7.1.200.0740.00714.02
7.1.190.0780.00613.95
7.1.180.0630.00813.81
7.1.170.0600.00814.05
7.1.160.0610.00613.85
7.1.150.0640.01014.00
7.1.140.0620.00413.84
7.1.130.0580.01013.86
7.1.120.0730.00513.87
7.1.110.0820.00714.04
7.1.100.0940.00913.92
7.1.90.0850.00313.90
7.1.80.0770.00813.97
7.1.70.0700.00913.93
7.1.60.0770.01032.01
7.1.50.1190.01131.94
7.1.40.0800.01032.06
7.1.30.0950.01331.90
7.1.20.1200.01231.90
7.1.10.0760.00913.88
7.1.00.0690.00813.88

preferences:
59.99 ms | 400 KiB | 5 Q