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[0]);

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.0060.01218.23
8.3.50.0120.00916.42
8.3.40.0090.00619.18
8.3.30.0070.00718.96
8.3.20.0040.00419.14
8.3.10.0060.00323.65
8.3.00.0080.00023.61
8.2.180.0070.01316.75
8.2.170.0090.00622.96
8.2.160.0040.01120.31
8.2.150.0000.00824.18
8.2.140.0060.00324.66
8.2.130.0050.00222.25
8.2.120.0100.00026.35
8.2.110.0080.00022.38
8.2.100.0100.00018.03
8.2.90.0050.00317.75
8.2.80.0000.00817.97
8.2.70.0090.00018.05
8.2.60.0070.00018.22
8.2.50.0000.00818.10
8.2.40.0040.00419.30
8.2.30.0040.00420.58
8.2.20.0040.00418.14
8.2.10.0000.00718.04
8.2.00.0030.00319.40
8.1.280.0100.00725.92
8.1.270.0020.00522.13
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0040.00423.83
8.1.230.0110.00019.16
8.1.220.0050.00317.79
8.1.210.0030.00618.77
8.1.200.0070.00417.35
8.1.190.0000.00917.34
8.1.180.0030.00618.10
8.1.170.0000.00818.74
8.1.160.0040.00418.71
8.1.150.0040.00418.90
8.1.140.0030.00318.96
8.1.130.0070.00019.16
8.1.120.0030.00617.43
8.1.110.0040.00417.54
8.1.100.0000.00817.44
8.1.90.0040.00417.46
8.1.80.0000.00817.55
8.1.70.0000.00717.52
8.1.60.0040.00417.62
8.1.50.0030.00517.63
8.1.40.0040.00417.50
8.1.30.0060.00317.71
8.1.20.0000.00717.73
8.1.10.0000.00817.67
8.1.00.0000.00717.62
8.0.300.0040.00418.77
8.0.290.0020.00516.88
8.0.280.0000.00818.46
8.0.270.0030.00317.20
8.0.260.0030.00517.18
8.0.250.0030.00317.03
8.0.240.0030.00316.97
8.0.230.0020.00517.00
8.0.220.0000.00716.92
8.0.210.0000.00716.95
8.0.200.0030.00317.00
8.0.190.0000.00817.03
8.0.180.0060.00317.04
8.0.170.0040.00417.05
8.0.160.0040.00417.07
8.0.150.0030.00316.92
8.0.140.0040.00416.88
8.0.130.0060.00013.39
8.0.120.0040.00416.95
8.0.110.0030.00517.03
8.0.100.0050.00217.01
8.0.90.0040.00416.86
8.0.80.0060.01317.02
8.0.70.0040.00416.83
8.0.60.0040.00416.93
8.0.50.0040.00417.01
8.0.30.0080.01317.27
8.0.20.0070.01217.40
8.0.10.0040.00417.17
8.0.00.0050.01216.98
7.4.330.0000.00515.55
7.4.320.0000.00616.77
7.4.300.0000.00716.61
7.4.290.0080.00016.65
7.4.280.0050.00516.73
7.4.270.0100.00016.74
7.4.260.0030.00316.72
7.4.250.0000.00716.64
7.4.240.0070.00016.72
7.4.230.0000.00816.45
7.4.220.0000.01016.53
7.4.210.0070.01216.67
7.4.200.0070.00016.63
7.4.160.0110.00716.69
7.4.140.0090.01017.86
7.4.130.0100.00716.65
7.4.120.0080.01316.73
7.4.110.0070.01016.66
7.4.100.0140.00316.61
7.4.90.0130.01116.59
7.4.80.0040.01219.39
7.4.70.0130.00316.54
7.4.60.0130.00316.53
7.4.50.0060.01116.75
7.4.40.0000.01616.79
7.4.00.0090.00815.18
7.3.330.0030.00313.19
7.3.320.0030.00313.25
7.3.310.0030.00316.41
7.3.300.0000.00716.20
7.3.290.0000.00716.31
7.3.280.0090.00816.41
7.3.260.0080.01116.40
7.3.240.0130.00616.56
7.3.230.0190.00616.79
7.3.210.0060.01216.54
7.3.200.0100.00716.64
7.3.190.0160.00316.56
7.3.180.0040.01216.80
7.3.170.0100.00616.36
7.3.160.0080.00816.64
7.3.120.0100.00315.06
7.3.110.0070.01114.85
7.3.100.0120.00314.98
7.3.90.0030.00615.03
7.3.80.0070.00714.82
7.3.70.0120.00614.85
7.3.60.0070.01115.01
7.3.50.0100.00714.86
7.3.40.0060.00615.00
7.3.30.0070.01014.73
7.3.20.0090.00616.83
7.3.10.0050.00916.62
7.3.00.0090.00716.83
7.2.330.0130.00416.65
7.2.320.0090.00916.91
7.2.310.0100.00716.71
7.2.300.0040.01316.79
7.2.290.0070.01016.73
7.2.250.0030.01515.04
7.2.240.0120.00615.16
7.2.230.0070.01015.07
7.2.220.0040.00715.01
7.2.210.0000.01514.98
7.2.200.0100.01015.10
7.2.190.0090.00615.12
7.2.180.0040.01414.79
7.2.170.0000.01314.78
7.2.130.0030.01116.91
7.2.120.0070.00717.16
7.2.110.0040.01016.81
7.2.100.0070.01117.09
7.2.90.0040.00717.00
7.2.80.0260.00916.06
7.2.70.0310.00416.22
7.2.60.0280.01316.04
7.2.50.0240.00415.96
7.2.40.0320.00915.79
7.2.30.0260.00616.03
7.2.20.0240.01015.97
7.2.10.0180.00816.09
7.2.00.0180.00515.89
7.1.330.0000.01415.95
7.1.320.0030.00916.04
7.1.310.0090.00015.85
7.1.300.0000.01616.02
7.1.290.0090.00615.97
7.1.280.0120.00315.93
7.1.270.0090.00615.88
7.1.260.0130.00315.92
7.1.250.0090.00615.64
7.1.200.0500.00413.85
7.1.190.0410.00713.99
7.1.180.0590.00713.51
7.1.170.0270.01014.01
7.1.160.0610.00913.76
7.1.150.1020.00713.93
7.1.140.0330.00913.61
7.1.130.0320.00713.54
7.1.120.0370.00813.63
7.1.110.0450.01313.80
7.1.100.0430.01113.71
7.1.90.0530.01613.92
7.1.80.0610.01314.16
7.1.70.0580.01413.94
7.1.60.0650.00731.96
7.1.50.0540.00731.92
7.1.40.0830.01331.77
7.1.30.0970.00731.63
7.1.20.0820.00331.89
7.1.10.0530.00613.75
7.1.00.0660.00313.98

preferences:
60.46 ms | 401 KiB | 5 Q