3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = '<div class="heilbak"> <img src="aaa.png" alt="Bakgrundsbildet" </div> <div class="bunnlogo"> <a href="index.php?option=com_community&amp;view=groups&amp;task=viewgroup&amp;groupid=17&amp;Itemid=8"> <img src="cccc.png" alt="topplogo" /> </a> </div>'; preg_match_all('/<img[^>]* src=\"([^\"]*)\"[^>]*>/', $text, $output_array); print_r($output_array);

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.5.20.0110.00619.40
8.5.10.0130.00516.69
8.5.00.0160.01220.03
8.4.170.0140.00721.86
8.4.160.0140.00821.89
8.4.150.0020.00014.05
8.4.140.0110.00917.81
8.4.130.0120.00818.67
8.4.120.0130.00819.83
8.4.110.0060.00518.06
8.4.100.0140.00717.71
8.4.90.0100.01020.46
8.4.80.0120.00819.18
8.4.70.0100.00520.60
8.4.60.0120.00720.82
8.4.50.0120.00618.30
8.4.40.0140.00717.89
8.4.30.0070.00320.30
8.4.20.0100.01017.89
8.4.10.0070.00319.52
8.3.300.0100.01318.52
8.3.290.0100.01320.93
8.3.280.0090.01018.48
8.3.270.0090.01116.42
8.3.260.0150.00416.61
8.3.250.0070.00416.66
8.3.240.0090.01016.83
8.3.230.0070.00416.71
8.3.220.0140.00219.06
8.3.210.0130.00716.77
8.3.200.0040.00516.75
8.3.190.0060.00416.85
8.3.180.0110.00819.04
8.3.170.0150.00317.16
8.3.160.0150.00319.08
8.3.150.0110.00416.76
8.3.140.0030.00616.80
8.3.130.0080.00018.37
8.3.120.0100.01018.71
8.3.110.0120.00320.94
8.3.100.0080.00024.06
8.3.90.0080.00026.77
8.3.80.0090.00016.50
8.3.70.0070.00718.56
8.3.60.0120.00318.18
8.3.50.0110.00718.18
8.3.40.0120.00618.79
8.3.30.0150.00018.81
8.3.20.0020.00524.18
8.3.10.0040.00424.66
8.3.00.0080.00026.16
8.2.300.0090.01320.20
8.2.290.0120.00816.96
8.2.280.0150.00418.59
8.2.270.0000.00818.48
8.2.260.0110.00416.91
8.2.250.0040.00416.75
8.2.240.0040.00417.37
8.2.230.0000.01022.58
8.2.220.0040.00437.54
8.2.210.0070.00326.77
8.2.200.0090.00018.29
8.2.190.0150.00316.63
8.2.180.0110.00725.92
8.2.170.0070.00718.93
8.2.160.0030.01022.96
8.2.150.0040.00425.66
8.2.140.0000.00724.66
8.2.130.0140.00426.16
8.2.120.0040.00426.16
8.2.110.0030.00722.38
8.2.100.0090.00317.78
8.2.90.0040.00419.05
8.2.80.0050.00317.97
8.2.70.0040.00417.63
8.2.60.0040.00417.80
8.2.50.0100.00019.66
8.2.40.0090.00018.16
8.2.30.0000.00817.68
8.2.20.0030.00420.50
8.2.10.0040.00417.62
8.2.00.0070.00019.07
8.1.340.0040.00520.22
8.1.330.0150.00516.43
8.1.320.0080.01117.98
8.1.310.0100.00718.57
8.1.300.0080.00418.57
8.1.290.0040.00418.88
8.1.280.0100.01025.92
8.1.270.0050.00223.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0110.00721.25
8.1.230.0080.00417.52
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0030.00617.48
8.1.190.0090.00017.23
8.1.180.0040.00418.10
8.1.170.0040.00418.71
8.1.160.0000.00719.04
8.1.150.0000.00818.59
8.1.140.0070.00017.54
8.1.130.0000.00718.80
8.1.120.0040.00417.59
8.1.110.0080.00017.57
8.1.100.0030.00317.42
8.1.90.0040.00417.59
8.1.80.0070.00317.45
8.1.70.0040.00417.53
8.1.60.0070.00017.69
8.1.50.0040.00417.50
8.1.40.0070.00017.58
8.1.30.0000.00817.74
8.1.20.0040.00417.79
8.1.10.0040.00417.50
8.1.00.0070.00017.60
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0030.00318.45
8.0.270.0040.00416.85
8.0.260.0000.00718.28
8.0.250.0000.00717.09
8.0.240.0030.00317.02
8.0.230.0000.00716.88
8.0.220.0030.00316.95
8.0.210.0030.00317.01
8.0.200.0040.00417.03
8.0.190.0000.00817.05
8.0.180.0030.00517.00
8.0.170.0030.00617.03
8.0.160.0040.00416.92
8.0.150.0000.00716.95
8.0.140.0000.00816.95
8.0.130.0040.00416.89
8.0.120.0120.00016.96
8.0.110.0060.00616.87
8.0.100.0070.00416.99
8.0.90.0100.00016.87
8.0.80.0030.00616.87
8.0.70.0070.00316.93
8.0.60.0060.00316.96
8.0.50.0070.00416.83
8.0.30.0000.01016.85
8.0.20.0030.00617.01
8.0.10.0120.00017.00
8.0.00.0030.00617.12
7.4.330.0060.00015.55
7.4.320.0040.00416.57
7.4.300.0000.00616.79
7.4.290.0030.00516.65
7.4.280.0030.00616.75
7.4.270.0000.00716.75
7.4.260.0100.00016.56
7.4.250.0110.00416.65
7.4.240.0150.00616.50
7.4.230.0110.01116.19
7.4.220.0100.00516.41
7.4.210.0130.00416.13
7.4.200.0180.00016.42
7.4.190.0140.00516.70
7.4.180.0140.00016.27
7.4.160.0150.00316.59
7.4.150.0180.00016.37
7.4.140.0090.00516.29
7.4.130.0200.00016.29
7.4.120.0120.00316.18
7.4.110.0150.00416.41
7.4.100.0100.00716.36
7.4.90.0100.00816.29
7.4.80.0160.00016.56
7.4.70.0120.00516.34
7.4.60.0100.01016.44
7.4.50.0130.00316.39
7.4.40.0090.00216.28
7.4.30.0170.00016.35
7.4.20.0050.01316.05
7.4.10.0170.00016.32
7.4.00.0040.00416.18
7.3.330.0060.00715.73
7.3.320.0140.00215.91
7.3.310.0170.00015.77
7.3.300.0190.00016.15
7.3.290.0150.00315.99
7.3.280.0190.00615.98
7.3.270.0080.00816.07
7.3.260.0070.01316.30
7.3.250.0110.00815.88
7.3.240.0120.00815.86
7.3.230.0110.00415.90
7.3.220.0140.00316.18
7.3.210.0140.00416.02
7.3.200.0120.00415.70
7.3.190.0200.00015.90
7.3.180.0170.00316.09
7.3.170.0120.00415.82
7.3.160.0050.01015.89
7.3.150.0160.00015.96
7.3.140.0150.00416.04
7.3.130.0180.00015.66
7.3.120.0180.00015.49
7.3.110.0070.00716.02
7.3.100.0140.00415.99
7.3.90.0180.00016.55
7.3.80.0150.00316.03
7.3.70.0100.00816.00
7.3.60.0120.00616.02
7.3.50.0110.00516.19
7.3.40.0120.00415.71
7.3.30.0120.00616.00
7.3.20.0110.00615.64
7.3.10.0080.00816.10
7.3.00.0180.00415.77

preferences:
31.11 ms | 403 KiB | 5 Q