3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "<h2>Title of post</h2> 1 category <strong>task 1</strong> 1 category <strong>task 2</strong> 1 category <strong>task 3</strong>&nbsp; "; $zz = preg_match_all('#<strong>(.*?)</strong>#',$string,$matches); echo var_dump($zz);

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.0040.01118.31
8.3.50.0120.00918.20
8.3.40.0150.00018.96
8.3.30.0110.00818.79
8.3.20.0040.00419.10
8.3.10.0090.00923.65
8.3.00.0050.00323.56
8.2.180.0110.00716.75
8.2.170.0080.00822.96
8.2.160.0030.01320.39
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0060.00326.16
8.2.120.0040.00419.61
8.2.110.0030.00620.52
8.2.100.0040.00817.84
8.2.90.0030.00517.75
8.2.80.0090.00017.97
8.2.70.0070.00318.03
8.2.60.0000.00718.22
8.2.50.0040.00418.10
8.2.40.0050.00319.53
8.2.30.0040.00420.51
8.2.20.0040.00417.98
8.2.10.0040.00417.96
8.2.00.0050.00319.32
8.1.280.0110.01125.92
8.1.270.0070.00022.06
8.1.260.0080.00026.35
8.1.250.0030.00728.09
8.1.240.0090.00023.96
8.1.230.0000.01119.14
8.1.220.0040.00417.78
8.1.210.0000.00818.77
8.1.200.0030.00617.35
8.1.190.0040.00417.38
8.1.180.0080.00018.10
8.1.170.0000.00818.75
8.1.160.0060.00318.89
8.1.150.0040.00418.68
8.1.140.0030.00319.06
8.1.130.0030.00319.08
8.1.120.0070.00017.58
8.1.110.0070.00017.54
8.1.100.0080.00017.50
8.1.90.0040.00417.45
8.1.80.0000.00817.52
8.1.70.0040.00417.48
8.1.60.0000.00817.70
8.1.50.0050.00217.56
8.1.40.0030.00517.59
8.1.30.0030.00617.67
8.1.20.0040.00417.67
8.1.10.0000.00817.70
8.1.00.0080.00017.57
8.0.300.0030.00518.77
8.0.290.0050.00316.88
8.0.280.0000.00718.43
8.0.270.0050.00317.33
8.0.260.0070.00317.29
8.0.250.0030.00316.97
8.0.240.0000.00717.02
8.0.230.0030.00317.11
8.0.220.0030.00317.05
8.0.210.0030.00316.93
8.0.200.0000.00716.92
8.0.190.0000.00716.92
8.0.180.0080.00017.02
8.0.170.0050.00316.88
8.0.160.0040.00416.96
8.0.150.0040.00416.91
8.0.140.0050.00316.91
8.0.130.0000.00513.34
8.0.120.0050.00216.89
8.0.110.0000.00716.81
8.0.100.0000.00816.84
8.0.90.0030.00316.84
8.0.80.0080.00817.01
8.0.70.0040.00416.91
8.0.60.0000.00816.91
8.0.50.0040.00416.84
8.0.30.0110.00817.12
8.0.20.0080.01117.40
8.0.10.0000.00717.01
8.0.00.0080.01016.84
7.4.330.0000.00515.55
7.4.320.0000.00716.65
7.4.300.0040.00416.64
7.4.290.0000.00716.53
7.4.280.0030.00516.78
7.4.270.0030.00616.77
7.4.260.0070.00016.62
7.4.250.0070.00016.67
7.4.240.0050.00216.77
7.4.230.0040.00416.81
7.4.220.0030.00616.72
7.4.210.0080.00916.80
7.4.200.0000.00716.64
7.4.160.0110.00716.78
7.4.140.0140.00817.86
7.4.130.0080.01116.46
7.4.120.0080.01216.63
7.4.110.0070.01016.62
7.4.100.0070.01016.65
7.4.90.0030.01416.67
7.4.80.0040.01219.39
7.4.70.0140.00316.54
7.4.60.0100.01016.70
7.4.50.0060.00616.30
7.4.40.0070.01116.54
7.4.10.0090.00915.20
7.4.00.0050.01215.09
7.3.330.0030.00313.18
7.3.320.0000.00513.03
7.3.310.0030.00316.33
7.3.300.0040.00416.30
7.3.290.0000.00716.30
7.3.280.0080.00816.31
7.3.260.0110.00716.51
7.3.240.0130.00616.56
7.3.230.0100.00716.32
7.3.210.0100.00716.64
7.3.200.0040.01216.71
7.3.190.0130.00616.67
7.3.180.0040.01216.31
7.3.170.0030.01316.36
7.3.160.0100.00616.54
7.3.130.0130.00314.65
7.3.120.0070.01014.95
7.3.110.0060.01314.86
7.3.100.0060.00615.03
7.3.90.0000.01514.85
7.3.80.0030.00714.82
7.3.70.0030.01014.83
7.3.60.0070.01014.96
7.3.50.0080.00514.95
7.3.40.0070.00414.77
7.3.30.0060.00614.75
7.3.20.0030.01016.82
7.3.10.0100.00716.95
7.3.00.0070.00416.66
7.2.330.0170.00716.68
7.2.320.0070.01116.74
7.2.310.0120.00616.68
7.2.300.0090.00916.50
7.2.290.0150.00616.70
7.2.260.0030.00914.90
7.2.250.0080.01115.21
7.2.240.0040.00815.16
7.2.230.0000.01514.88
7.2.220.0000.01615.20
7.2.210.0030.01014.98
7.2.200.0100.00715.36
7.2.190.0150.00315.14
7.2.180.0070.00714.94
7.2.170.0040.01115.01
7.2.160.0090.00015.19
7.2.150.0030.01217.11
7.2.140.0040.00816.99
7.2.130.0070.00717.19
7.2.120.0030.01016.95
7.2.110.0060.00917.01
7.2.100.0070.00417.02
7.2.90.0060.00916.76
7.2.80.0420.00615.67
7.2.70.0280.01315.70
7.2.60.0300.00715.81
7.2.50.0320.01115.79
7.2.40.0210.00815.76
7.2.30.0170.01015.94
7.2.20.0220.01015.89
7.2.10.0090.01115.80
7.2.00.0180.00916.02
7.1.330.0030.01215.98
7.1.320.0030.00616.04
7.1.310.0100.00315.93
7.1.300.0040.00915.99
7.1.290.0000.01216.08
7.1.280.0030.00915.66
7.1.270.0070.00715.81
7.1.260.0120.00315.71
7.1.250.0000.01416.04
7.1.240.0060.00915.96
7.1.230.0060.00815.84
7.1.220.0070.00415.79
7.1.210.0030.01015.97
7.1.200.0290.01114.82
7.1.190.0340.01014.96
7.1.180.0240.00414.75
7.1.170.0240.00814.84
7.1.160.0200.00814.76
7.1.150.0250.00714.78
7.1.140.0170.01114.66
7.1.130.0270.01014.67
7.1.120.0110.00714.89
7.1.110.0360.00814.85
7.1.100.0180.00814.74
7.1.90.0150.00715.01
7.1.80.0280.00215.03
7.1.70.0260.00515.07
7.1.60.0310.01223.79
7.1.50.0500.00624.02
7.1.40.0390.00423.63
7.1.30.0460.01224.08
7.1.20.0490.00523.89
7.1.10.0340.00614.92
7.1.00.0250.00714.81
7.0.330.0060.00615.59
7.0.320.0030.00715.31
7.0.310.0030.01315.53
7.0.300.0040.00815.36
7.0.290.0030.01015.46
7.0.280.0030.01115.53
7.0.270.0030.01015.48
7.0.260.0040.00715.53
7.0.250.0030.01315.42
7.0.240.0030.00915.64
7.0.230.0000.01215.57
7.0.220.0090.00315.61
7.0.210.0080.00315.48
7.0.200.0030.01015.56
7.0.190.0050.00515.65
7.0.180.0080.00415.60
7.0.170.0030.00915.58
7.0.160.0090.00315.55
7.0.150.0100.00315.69
7.0.140.0110.00415.41
7.0.130.0060.00615.37
7.0.120.0070.00715.52
7.0.110.0030.00915.45
7.0.100.0100.00015.64
7.0.90.0000.01115.67
7.0.80.0030.01215.65
7.0.70.0040.00815.63
7.0.60.0030.00615.60
7.0.50.0030.00615.25
7.0.40.0060.00613.62
7.0.30.0100.00313.57
7.0.20.0030.00813.71
7.0.10.0060.00413.24
7.0.00.0080.00013.57
5.6.400.0090.00014.47
5.6.390.0090.00614.50
5.6.380.0060.00914.33
5.6.370.0000.01113.84
5.6.360.0040.01114.48
5.6.350.0030.01214.43
5.6.340.0060.00914.61
5.6.330.0000.01214.49
5.6.320.0060.00314.58
5.6.310.0120.00414.22
5.6.300.0030.00914.62
5.6.290.0040.01114.18
5.6.280.0040.01114.67
5.6.270.0040.01114.41
5.6.260.0110.00414.27
5.6.250.0040.00414.49
5.6.240.0030.01014.22
5.6.230.0080.00314.12
5.6.220.0040.01214.69
5.6.210.0090.00014.03
5.6.200.0080.00014.32
5.6.190.0040.01214.41
5.6.180.0040.00814.44
5.6.170.0040.00714.41
5.6.160.0030.00714.42
5.6.150.0030.00714.14
5.6.140.0060.00314.23
5.6.130.0060.00614.36
5.6.120.0040.00814.25
5.6.110.0030.01014.40
5.6.100.0060.00314.59
5.6.90.0070.00414.08
5.6.80.0030.00714.07
5.6.70.0100.00714.26
5.6.60.0000.00814.08
5.6.50.0090.00014.18
5.6.40.0000.01314.48
5.6.30.0060.00914.27
5.6.20.0040.00414.29
5.6.10.0060.00314.34
5.6.00.0060.01014.23

preferences:
56.72 ms | 400 KiB | 5 Q