3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = '<div align="center"> <a href="/readphoto?url=http://mt0.haibao.cn/store/wm/bigfiles/201212/887FDCBFE9CB9BB681F4D5C544A885.jpg" target="_blank"><img src="http://mt0.haibao.cn/store/wm/bigfiles/201212/887FDCBFE9CB9BB681F4D5C544A885.jpg"/></a><br/><br/> <div align="center"> <strong><strong><a class="topic_a" href="/zhuanti/海报5周年/" target="_blank">海报时尚网5周年</a>主题活动“Share Your Fashion Moment” </strong><br/><strong> </strong><br/><strong> <strong><strong><strong>分享人:</strong></strong></strong></strong><a class="topic_a" href="/fashion/名模/" target="_blank">超模</a>赵磊 &nbsp;</strong> </div><strong><br/></strong> <div align="left"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 赵磊的个性标签:满世界跑的“宅男”,不喜欢人多的环境,偶尔和朋友打打球;与品牌知名度比起来,更注重衣服的舒适和品质。<br/><br/><br/> </div> </div>'; //preg_match_all('/<\s*img(.*)rel=\"(.*)\" src=\"(.*)\"/isU', $html, $imageArr); //preg_match_all('/<\s*img(.*)src=\"(.*)\"\s*\/>/isU', $html, $imageArr); preg_match_all('/<\s*img(.*)src=\"(.*)\"\s*\/>/isU', $html, $imageArr); print_r($imageArr);

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.00716.63
8.3.50.0120.00318.13
8.3.40.0030.01318.77
8.3.30.0070.00718.79
8.3.20.0040.00420.39
8.3.10.0080.00021.96
8.3.00.0030.00523.69
8.2.180.0140.00416.88
8.2.170.0120.00422.96
8.2.160.0100.00320.89
8.2.150.0070.00024.18
8.2.140.0000.00824.66
8.2.130.0070.00022.43
8.2.120.0040.00426.35
8.2.110.0000.01021.30
8.2.100.0000.01117.84
8.2.90.0050.00319.03
8.2.80.0040.00417.97
8.2.70.0060.00317.75
8.2.60.0000.00817.80
8.2.50.0040.00418.10
8.2.40.0060.00320.40
8.2.30.0070.00019.13
8.2.20.0000.00717.96
8.2.10.0040.00418.06
8.2.00.0040.00418.02
8.1.280.0090.00625.92
8.1.270.0040.00420.48
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0070.01423.92
8.1.230.0080.00420.45
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0060.00317.38
8.1.190.0040.00417.23
8.1.180.0030.00620.19
8.1.170.0100.00018.41
8.1.160.0000.00818.95
8.1.150.0000.00819.98
8.1.140.0020.00517.56
8.1.130.0060.00019.07
8.1.120.0070.00017.52
8.1.110.0070.00017.51
8.1.100.0000.00817.43
8.1.90.0000.00817.46
8.1.80.0030.00517.57
8.1.70.0000.00717.53
8.1.60.0000.00817.67
8.1.50.0060.00317.61
8.1.40.0040.00417.63
8.1.30.0060.00317.60
8.1.20.0000.00817.77
8.1.10.0050.00317.70
8.1.00.0000.00917.61
8.0.300.0030.00618.77
8.0.290.0040.00416.75
8.0.280.0000.00718.40
8.0.270.0040.00417.27
8.0.260.0030.00318.44
8.0.250.0030.00316.98
8.0.240.0030.00317.04
8.0.230.0050.00216.90
8.0.220.0060.00016.96
8.0.210.0020.00516.95
8.0.200.0000.00717.03
8.0.190.0030.00516.93
8.0.180.0000.00717.04
8.0.170.0030.00317.03
8.0.160.0000.00716.89
8.0.150.0040.00416.80
8.0.140.0020.00516.89
8.0.130.0070.00013.42
8.0.120.0000.00716.93
8.0.110.0000.00816.87
8.0.100.0040.00416.78
8.0.90.0030.00716.97
8.0.80.0120.00316.97
8.0.70.0000.00716.93
8.0.60.0070.00016.78
8.0.50.0040.00416.93
8.0.30.0130.00617.24
8.0.20.0120.00917.42
8.0.10.0040.00417.07
8.0.00.0100.01316.79
7.4.330.0040.00015.55
7.4.320.0000.00616.58
7.4.300.0000.00616.61
7.4.290.0000.00816.74
7.4.280.0030.00616.65
7.4.270.0030.00316.79
7.4.260.0000.00816.76
7.4.250.0050.00316.54
7.4.240.0040.00416.66
7.4.230.0070.00016.57
7.4.220.0130.01316.75
7.4.210.0070.01116.68
7.4.200.0030.00316.66
7.4.160.0120.00816.70
7.4.150.0140.00517.40
7.4.140.0090.01117.86
7.4.130.0140.00716.63
7.4.120.0060.01216.56
7.4.110.0130.00316.65
7.4.100.0070.01416.78
7.4.90.0060.01016.58
7.4.80.0060.01219.39
7.4.70.0140.00516.53
7.4.60.0100.00716.71
7.4.50.0080.00316.47
7.4.40.0040.01816.59
7.4.30.0110.00516.73
7.4.00.0040.01114.95
7.3.330.0070.00013.18
7.3.320.0070.00013.05
7.3.310.0080.00016.23
7.3.300.0070.00016.32
7.3.290.0080.00716.36
7.3.280.0080.00816.29
7.3.270.0070.01117.40
7.3.260.0110.00816.53
7.3.250.0090.00816.34
7.3.240.0080.00916.27
7.3.230.0170.00016.70
7.3.210.0100.01016.20
7.3.200.0070.01016.26
7.3.190.0040.01216.32
7.3.180.0160.00616.69
7.3.170.0140.00616.55
7.3.160.0130.00316.63
7.3.120.0100.01014.63
7.3.110.0090.00914.61
7.3.100.0070.00715.11
7.3.90.0000.00914.84
7.3.80.0030.01014.90
7.3.70.0080.00815.00
7.3.60.0070.00714.63
7.3.50.0070.00414.89
7.3.40.0060.00314.96
7.3.30.0100.00014.74
7.3.20.0040.00716.80
7.3.10.0090.00516.64
7.3.00.0100.00216.59
7.2.330.0100.00716.54
7.2.320.0060.01216.57
7.2.310.0070.01016.60
7.2.300.0070.01116.60
7.2.290.0060.01616.47
7.2.250.0150.00415.01
7.2.240.0030.01714.89
7.2.230.0040.00815.08
7.2.220.0070.01115.11
7.2.210.0050.00515.07
7.2.200.0030.00714.98
7.2.190.0060.00315.00
7.2.180.0100.00614.91
7.2.170.0000.01815.08
7.2.130.0060.00617.01
7.2.120.0030.01016.77
7.2.110.0090.00616.82
7.2.100.0100.00716.59
7.2.90.0100.00416.56
7.2.80.0000.01416.82
7.2.70.0120.01216.72
7.2.60.0150.00716.86
7.2.50.0100.01016.64
7.2.40.0140.00716.71
7.2.30.0100.00316.68
7.2.20.0100.01016.86
7.2.10.0000.01316.55
7.2.00.0120.00316.53
7.1.330.0060.00916.09
7.1.320.0040.01116.14
7.1.310.0000.00915.92
7.1.300.0070.00715.61
7.1.290.0000.01715.90
7.1.280.0000.01115.62
7.1.270.0040.01115.63
7.1.260.0070.00315.94
7.1.250.0000.00815.91
7.1.200.0080.00415.98
7.1.100.0030.01518.32
7.1.90.0090.00317.88
7.1.80.0030.00918.46
7.1.70.0000.01317.27
7.1.60.0160.01335.37
7.1.50.0210.00634.79
7.1.40.0200.01034.57
7.1.30.0170.01334.64
7.1.20.0300.01034.76
7.1.10.0090.01216.69
7.1.00.0060.00917.09
7.0.240.0090.00917.83
7.0.230.0030.00917.57
7.0.220.0090.00617.96
7.0.210.0030.01216.79
7.0.200.0030.01216.68
7.0.190.0060.00616.97
7.0.180.0000.01416.32
7.0.170.0060.00916.37
7.0.160.0060.01516.35
7.0.150.0040.01616.07
7.0.140.0060.00916.41
7.0.130.0140.00616.50
7.0.120.0080.01116.65
7.0.110.0040.01216.50
7.0.100.0070.00716.18
7.0.90.0090.00916.41
7.0.80.0030.01216.54
7.0.70.0060.00916.31
7.0.60.0000.01616.18
7.0.50.0110.00816.23
7.0.40.0080.00516.59
7.0.30.0100.00716.38
7.0.20.0000.01416.48
7.0.10.0040.01116.46
7.0.00.0030.01016.68

preferences:
58.22 ms | 400 KiB | 5 Q