3v4l.org

run code in 300+ PHP versions simultaneously
<?phprcestring=">"; preg_match_all('/<img>()<\/img>/',$sourcestring,$matches); print_r($matches); foreach($matches as $deselect){ foreach ($deselect as $display){ echo $display."<br />"; } }

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.0120.00618.18
8.3.50.0090.00721.93
8.3.40.0070.01018.59
8.3.30.0070.00718.83
8.3.20.0040.00420.09
8.3.10.0050.00222.09
8.3.00.0000.00822.41
8.2.180.0070.00718.29
8.2.170.0040.01122.96
8.2.160.0110.00420.78
8.2.150.0080.00024.18
8.2.140.0070.00024.66
8.2.130.0070.00026.16
8.2.120.0040.00419.36
8.2.110.0030.00720.99
8.2.100.0040.00817.78
8.2.90.0000.00819.22
8.2.80.0040.00417.97
8.2.70.0050.00317.36
8.2.60.0080.00017.80
8.2.50.0030.00618.07
8.2.40.0070.00018.09
8.2.30.0040.00418.02
8.2.20.0050.00317.39
8.2.10.0050.00317.39
8.2.00.0040.00417.60
8.1.280.0100.01025.92
8.1.270.0080.00023.99
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0080.00422.39
8.1.230.0000.01021.04
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0000.00817.10
8.1.190.0070.00017.38
8.1.180.0050.00318.48
8.1.170.0050.00318.58
8.1.160.0070.00021.93
8.1.150.0040.00418.49
8.1.140.0050.00217.18
8.1.130.0000.00717.61
8.1.120.0070.00017.34
8.1.110.0020.00517.33
8.1.100.0000.00717.31
8.1.90.0000.00717.29
8.1.80.0040.00317.16
8.1.70.0000.00617.27
8.1.60.0080.00017.47
8.1.50.0040.00417.34
8.1.40.0040.00417.39
8.1.30.0020.00517.38
8.1.20.0000.00817.54
8.1.10.0080.00017.41
8.1.00.0030.00517.38
8.0.300.0050.00318.77
8.0.290.0070.00016.93
8.0.280.0000.00718.38
8.0.270.0030.00317.12
8.0.260.0000.00716.65
8.0.250.0070.00016.82
8.0.240.0000.00716.79
8.0.230.0040.00416.78
8.0.220.0070.00016.63
8.0.210.0000.00716.72
8.0.200.0030.00316.68
8.0.190.0030.00316.71
8.0.180.0040.00716.79
8.0.170.0040.00416.66
8.0.160.0030.00316.73
8.0.150.0030.00316.68
8.0.140.0030.00316.69
8.0.130.0040.00413.32
8.0.120.0000.00816.57
8.0.110.0040.00416.59
8.0.100.0000.00716.60
8.0.90.0000.00716.66
8.0.80.0030.01216.68
8.0.70.0000.00716.81
8.0.60.0030.00516.63
8.0.50.0040.00416.61
8.0.30.0110.00817.05
8.0.20.0180.00617.40
8.0.10.0000.00816.93
8.0.00.0080.00916.81
7.4.330.0000.00615.03
7.4.320.0000.00616.44
7.4.300.0060.00016.44
7.4.290.0040.00416.38
7.4.280.0030.00316.43
7.4.270.0030.00316.36
7.4.260.0070.00016.32
7.4.250.0050.00316.39
7.4.240.0010.00616.38
7.4.230.0000.00716.53
7.4.220.0110.00716.44
7.4.210.0130.00216.37
7.4.200.0030.00516.54
7.4.190.0030.00316.45
7.4.160.0080.00816.26
7.4.150.0100.00717.40
7.4.140.0120.00817.86
7.4.130.0090.01016.40
7.4.120.0130.00716.33
7.4.110.0060.01016.26
7.4.100.0150.00316.52
7.4.90.0100.01316.50
7.4.80.0000.01819.39
7.4.70.0080.00916.14
7.4.60.0090.00916.27
7.4.50.0020.00216.29
7.4.40.0030.01022.77
7.4.30.0110.00716.31
7.3.330.0030.00313.28
7.3.320.0050.00012.97
7.3.310.0040.00316.04
7.3.300.0000.00615.97
7.3.290.0090.00916.14
7.3.280.0110.00616.12
7.3.270.0060.01117.40
7.3.260.0070.01316.41
7.3.250.0070.01016.12
7.3.240.0140.00316.41
7.3.230.0110.00816.39
7.3.210.0060.01116.12
7.3.200.0100.01019.39
7.3.190.0130.00916.06
7.3.180.0110.00416.41
7.3.170.0130.00716.45
7.3.160.0100.01016.25
7.2.330.0080.01316.52
7.2.320.0070.01116.42
7.2.310.0100.00716.48
7.2.300.0130.00316.33
7.2.290.0120.00316.34
5.4.320.0080.03812.45
5.4.310.0070.05212.45
5.4.300.0060.03612.45
5.4.290.0060.04912.45
5.4.280.0060.03512.34
5.4.270.0060.04012.34
5.4.260.0050.03812.32
5.4.250.0060.03612.31
5.4.240.0140.03812.32
5.4.230.0100.04312.31
5.4.220.0110.04012.31
5.4.210.0100.04112.31
5.4.200.0210.06312.31
5.4.190.0120.04212.31
5.4.180.0110.05612.31
5.4.170.0130.04112.32
5.4.160.0210.06412.31
5.4.150.0110.04212.31
5.4.140.0120.04111.99
5.4.130.0110.04311.98
5.4.120.0250.05811.94
5.4.110.0120.04011.93
5.4.100.0130.04211.93
5.4.90.0110.04711.94
5.4.80.0150.03911.93
5.4.70.0140.04211.93
5.4.60.0120.03911.93
5.4.50.0120.03811.93
5.4.40.0110.03811.92
5.4.30.0110.04011.92
5.4.20.0180.04911.92
5.4.10.0120.04511.92
5.4.00.0120.04211.40
5.3.290.0080.04112.80
5.3.280.0180.06812.71
5.3.270.0130.04312.72
5.3.260.0110.04512.72
5.3.250.0160.04112.72
5.3.240.0120.03912.72
5.3.230.0130.04112.71
5.3.220.0100.04312.68
5.3.210.0190.06612.68
5.3.200.0120.04112.68
5.3.190.0110.04412.67
5.3.180.0100.04212.67
5.3.170.0110.04112.67
5.3.160.0160.04012.67
5.3.150.0110.04512.67
5.3.140.0130.03912.66
5.3.130.0110.04512.66
5.3.120.0120.04512.66
5.3.110.0200.06412.66
5.3.100.0100.04212.12
5.3.90.0090.04312.08
5.3.80.0150.05212.08
5.3.70.0130.04012.07
5.3.60.0110.04012.06
5.3.50.0100.04012.00
5.3.40.0120.03812.00
5.3.30.0110.03811.94
5.3.20.0090.04211.69
5.3.10.0110.03911.65
5.3.00.0080.04211.64

preferences:
39.78 ms | 401 KiB | 5 Q