3v4l.org

run code in 300+ PHP versions simultaneously
<?php $course_link="http://m.uploadedit.com/ba3s/1479459820969.txt";//input $data=file_get_contents($course_link); preg_match_all('@href="https://www.wikiart.org/en/salvador-dal[[:print:]]+?"@', $data, $video_links); $file = 'links.txt'; $current = file_get_contents($file); foreach ($video_links[0] as $key=>$link){ $videopage_link=substr($link,6,-1); if ((strlen($videopage_link) <= 41)||($key <4)||($videopage_link==$redun)) { // skip even members continue; } $redun=$videopage_link; // echo "\n".$key.$videopage_link."\t\t\t\t"; $data=file_get_contents($videopage_link); preg_match_all('@<img itemprop="image" src="[[:print:]]+?"@', $data, $tmp); $current .= "John Smith\n"; file_put_contents($file, $current); echo "\n".substr($tmp[0][0],27,-1); }

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.01417.13
8.3.50.0120.00920.30
8.3.40.0040.01119.11
8.3.30.0060.00919.34
8.3.20.0040.00419.23
8.3.10.0040.00422.10
8.3.00.0040.00421.21
8.2.180.0110.01118.60
8.2.170.0120.00322.96
8.2.160.0040.01520.55
8.2.150.0000.00824.18
8.2.140.0030.00524.66
8.2.130.0030.00521.43
8.2.120.0120.00326.35
8.2.110.0000.01021.38
8.2.100.0090.00318.09
8.2.90.0000.00818.41
8.2.80.0080.00018.28
8.2.70.0060.00317.93
8.2.60.0080.00018.18
8.2.50.0100.00519.68
8.2.40.0000.00820.84
8.2.30.0040.00419.42
8.2.20.0000.00818.40
8.2.10.0040.00418.34
8.2.00.0050.00318.16
8.1.280.0150.00625.92
8.1.270.0050.00322.31
8.1.260.0000.00828.09
8.1.250.0120.00328.09
8.1.240.0060.00324.08
8.1.230.0090.00321.16
8.1.220.0060.00317.91
8.1.210.0050.00518.80
8.1.200.0060.00317.48
8.1.190.0000.00917.60
8.1.180.0050.00318.10
8.1.170.0060.00618.96
8.1.160.0000.00820.96
8.1.150.0000.00722.29
8.1.140.0040.00419.77
8.1.130.0000.00717.82
8.1.120.0040.00417.78
8.1.110.0000.00817.75
8.1.100.0030.00517.66
8.1.90.0040.00417.74
8.1.80.0040.00417.70
8.1.70.0000.00817.67
8.1.60.0080.00417.86
8.1.50.0000.00917.91
8.1.40.0030.00517.86
8.1.30.0060.00317.93
8.1.20.0000.00917.85
8.1.10.0080.00017.80
8.1.00.0090.00017.80
8.0.300.0060.00320.26
8.0.290.0040.00417.25
8.0.280.0000.00718.73
8.0.270.0040.00417.48
8.0.260.0120.00017.42
8.0.250.0000.00817.38
8.0.240.0060.00317.37
8.0.230.0080.00017.36
8.0.220.0000.00817.38
8.0.210.0000.00817.26
8.0.200.0060.00317.33
8.0.190.0080.00017.45
8.0.180.0040.00417.33
8.0.170.0040.00417.34
8.0.160.0040.00417.31
8.0.150.0000.00717.24
8.0.140.0000.00717.26
8.0.130.0000.00613.89
8.0.120.0080.00017.35
8.0.110.0040.00417.30
8.0.100.0030.00517.39
8.0.90.0030.00517.40
8.0.80.0070.01017.39
8.0.70.0000.00817.45
8.0.60.0030.00617.46
8.0.50.0050.00317.27
8.0.30.0140.00617.66
8.0.20.0150.00617.44
8.0.10.0030.00517.43
8.0.00.0130.00917.19
7.4.330.0050.00015.55
7.4.320.0030.00316.85
7.4.300.0030.00316.92
7.4.290.0070.00016.97
7.4.280.0060.00316.96
7.4.270.0070.00016.89
7.4.260.0000.00716.91
7.4.250.0040.00416.91
7.4.240.0040.00416.99
7.4.230.0040.00416.96
7.4.220.0130.00716.99
7.4.210.0070.01017.11
7.4.200.0050.00316.85
7.4.160.0110.00616.96
7.4.150.0060.01217.40
7.4.140.0150.00617.86
7.4.130.0050.01517.01
7.4.120.0110.01017.07
7.4.110.0100.01016.91
7.4.100.0110.01116.95
7.4.90.0150.00416.99
7.4.80.0070.01319.39
7.4.70.0000.01716.89
7.4.60.0100.00716.84
7.4.50.0100.00616.99
7.4.40.0140.00316.90
7.4.30.0130.00617.11
7.4.00.0090.00915.53
7.3.330.0000.00613.70
7.3.320.0000.00713.67
7.3.310.0000.00716.91
7.3.300.0000.00716.82
7.3.290.0070.00016.57
7.3.280.0130.00716.73
7.3.270.0040.01617.40
7.3.260.0120.00916.78
7.3.250.0140.00716.84
7.3.240.0150.00716.93
7.3.230.0040.01516.65
7.3.210.0100.01016.92
7.3.200.0090.00916.93
7.3.190.0080.01316.69
7.3.180.0130.00416.80
7.3.170.0030.01616.78
7.3.160.0090.00916.82
7.3.10.0090.00616.74
7.3.00.0230.00316.59
7.2.330.0090.00917.03
7.2.320.0100.01417.02
7.2.310.0170.00616.86
7.2.300.0140.00616.95
7.2.290.0100.00717.17
7.2.130.0070.01017.13
7.2.120.0120.00617.07
7.2.110.0100.00617.06
7.2.100.0100.00717.05
7.2.90.0100.01016.83
7.2.80.0170.00717.27
7.2.70.0150.00617.04
7.2.60.0090.01017.18
7.2.50.0110.01117.17
7.2.40.0040.01417.13
7.2.30.0270.00517.32
7.2.20.0180.00417.09
7.2.10.0160.01316.98
7.2.00.0110.00618.62
7.1.250.0070.01116.05
7.1.200.0000.01016.20
7.1.100.0030.00918.51
7.1.70.0050.00517.49
7.1.60.0040.00717.46
7.1.50.0120.00917.55
7.1.00.0030.07322.94
7.0.200.0040.00416.93
7.0.130.0070.06022.52
7.0.120.0100.05322.39
7.0.110.0000.06322.39
7.0.100.0070.06022.34
7.0.90.0030.06722.51
7.0.80.0100.05722.46
7.0.70.0100.07022.52
7.0.60.0030.06022.40
7.0.50.0100.06022.36
7.0.40.0070.06722.44
7.0.30.0170.05022.41
7.0.20.0100.08022.52
7.0.10.0100.06322.40
7.0.00.0170.07322.43
5.6.280.0100.05721.35
5.6.270.0070.06021.38
5.6.260.0030.05721.45
5.6.250.0100.05021.54
5.6.240.0070.08321.18
5.6.230.0000.06721.18
5.6.220.0030.06321.45
5.6.210.0100.05321.25
5.6.200.0130.05321.29
5.6.190.0070.06721.16
5.6.180.0230.07021.35
5.6.170.0070.06021.21
5.6.160.0100.08021.16
5.6.150.0100.05321.33
5.6.140.0070.07721.20
5.6.130.0070.05721.16
5.6.120.0100.05321.11
5.6.110.0030.06321.27
5.6.100.0100.05321.35
5.6.90.0030.06321.16
5.6.80.0170.06320.67
5.6.70.0100.05720.60
5.6.60.0070.07020.55
5.6.50.0030.07020.67
5.6.40.0130.07020.65
5.6.30.0130.05020.54
5.6.20.0200.07020.54
5.6.10.0030.06320.78
5.6.00.0070.05720.70

preferences:
57.71 ms | 401 KiB | 5 Q