3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://middlecoin.com'; $contents = file_get_contents($url); preg_match_all('/<td>(.*?)<\/td>/s', $contents, $matches); $ex = explode(" ", strip_tags($matches[0][0])); $output .= "<span style='color:red; font-weight:bold;'>Balance:</span> ".$matches[0][5]." BTC<br />"; $output .= "<span style='color:#3399ff; font-weight:bold;'>Unexchanged:</span> ".$matches[0][4]." BTC<br />"; $output .= "<span style='color:#51d051; font-weight:bold;'>Immature:</span> ".$matches[0][3]." BTC<br />"; //$output .= "<span style='color:#000000; font-weight:bold;'>Paid:</span> ".$matches[0][6]."<br />"; $output .= "<br /><span style='font-weight:bold;'><a href='middlecoin-graph.php'>MiddleCoin Graph</a></span>"; return $output; ?>

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.0190.00319.04
8.3.50.0090.01021.39
8.3.40.0090.00619.32
8.3.30.0070.00720.72
8.3.20.0000.00820.54
8.3.10.0040.00422.30
8.3.00.0080.00322.71
8.2.180.0080.00817.25
8.2.170.0040.01122.96
8.2.160.0130.00722.20
8.2.150.0000.01824.18
8.2.140.0060.00324.66
8.2.130.0050.00326.16
8.2.120.0060.00321.22
8.2.110.0040.00420.74
8.2.100.0150.00318.09
8.2.90.0040.00419.42
8.2.80.0030.00519.58
8.2.70.0060.00318.13
8.2.60.0000.00818.17
8.2.50.0030.00618.07
8.2.40.0060.00318.20
8.2.30.0030.00519.87
8.2.20.0000.00818.21
8.2.10.0080.00018.21
8.2.00.0000.00818.20
8.1.280.0100.00725.92
8.1.270.0150.00023.99
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0070.00324.15
8.1.230.0110.00024.07
8.1.220.0040.00417.79
8.1.210.0000.00818.77
8.1.200.0030.00717.85
8.1.190.0050.00317.77
8.1.180.0050.00318.10
8.1.170.0080.00019.04
8.1.160.0060.00319.15
8.1.150.0060.00618.94
8.1.140.0000.00717.84
8.1.130.0000.00718.07
8.1.120.0000.00717.79
8.1.110.0000.00817.73
8.1.100.0000.00717.75
8.1.90.0040.00417.66
8.1.80.0000.00817.86
8.1.70.0000.00717.73
8.1.60.0060.00317.85
8.1.50.0080.00017.83
8.1.40.0040.00417.77
8.1.30.0050.00317.93
8.1.20.0000.00818.00
8.1.10.0050.00317.90
8.1.00.0000.00817.94
8.0.300.0040.00418.77
8.0.290.0000.00717.65
8.0.280.0000.00818.76
8.0.270.0040.00417.62
8.0.260.0000.00717.34
8.0.250.0000.00717.37
8.0.240.0040.00417.34
8.0.230.0000.00717.28
8.0.220.0000.00817.39
8.0.210.0070.00017.42
8.0.200.0040.00417.40
8.0.190.0080.00017.34
8.0.180.0000.00717.36
8.0.170.0040.00417.43
8.0.160.0050.00217.21
8.0.150.0000.00717.34
8.0.140.0070.00017.40
8.0.130.0030.00313.86
8.0.120.0030.00617.35
8.0.110.0030.00517.35
8.0.100.0040.00417.44
8.0.90.0030.00617.43
8.0.80.0100.00617.41
8.0.70.0050.00317.22
8.0.60.0000.00817.33
8.0.50.0030.00517.38
8.0.30.0130.00817.57
8.0.20.0140.00517.42
8.0.10.0040.00417.53
8.0.00.0130.00817.33
7.4.330.0000.00515.26
7.4.320.0060.00016.83
7.4.300.0000.00716.90
7.4.290.0070.00016.91
7.4.280.0030.00316.81
7.4.270.0000.00716.82
7.4.260.0000.00613.83
7.4.250.0020.00517.09
7.4.240.0060.00216.89
7.4.230.0030.00516.90
7.4.220.0150.00917.09
7.4.210.0070.00917.01
7.4.200.0050.00217.04
7.4.190.0050.00316.98
7.4.160.0140.00317.14
7.4.150.0090.00917.40
7.4.140.0130.00517.86
7.4.130.0130.00616.95
7.4.120.0040.01316.96
7.4.110.0060.01216.87
7.4.100.0150.01216.87
7.4.90.0160.00616.97
7.4.80.0140.00619.39
7.4.70.0090.00917.15
7.4.60.0110.00916.89
7.4.50.0090.00016.99
7.4.40.0120.00622.77
7.4.30.0160.00317.13
7.4.10.0070.01115.16
7.4.00.0040.01015.27
7.3.330.0000.00513.67
7.3.320.0030.00313.56
7.3.310.0000.00716.89
7.3.300.0000.00716.86
7.3.290.0100.01216.76
7.3.280.0130.00716.82
7.3.270.0090.00917.40
7.3.260.0030.01517.05
7.3.250.0130.00516.81
7.3.240.0060.01216.89
7.3.230.0100.01316.87
7.3.210.0100.01016.98
7.3.200.0110.00619.39
7.3.190.0110.00816.77
7.3.180.0100.00716.73
7.3.170.0110.00516.61
7.3.160.0080.00816.74
7.3.130.0070.01315.42
7.3.120.0030.01415.01
7.3.110.0070.01315.34
7.3.100.0040.00815.17
7.3.90.0110.00715.42
7.3.80.0030.01615.31
7.3.70.0090.00614.98
7.3.60.0080.00815.21
7.3.50.0070.01015.32
7.3.40.0030.00615.33
7.3.30.0120.00314.91
7.3.20.0120.00617.16
7.3.10.0030.01216.92
7.3.00.0030.01017.10
7.2.330.0080.01317.13
7.2.320.0040.01416.95
7.2.310.0040.01317.11
7.2.300.0060.01717.08
7.2.290.0180.00316.85
7.2.260.0030.01715.50
7.2.250.0080.01215.49
7.2.240.0040.01215.30
7.2.230.0090.00315.50
7.2.220.0100.00715.08
7.2.210.0090.00615.24
7.2.200.0030.01515.08
7.2.190.0110.00715.48
7.2.180.0000.01415.61
7.2.170.0000.01715.66
7.2.160.0060.00915.67
7.2.150.0130.00317.36
7.2.140.0070.01117.30
7.2.130.0050.01117.44
7.2.120.0080.00817.34
7.2.110.0080.00817.15
7.2.100.0040.01217.15
7.2.90.0070.00517.42
7.2.80.0090.00617.09
7.2.70.0070.00517.14
7.2.60.0060.01017.30
7.2.50.0030.01317.21
7.2.40.0070.00517.43
7.2.30.0020.00917.37
7.2.20.0060.00617.06
7.2.10.0040.00717.32
7.2.00.0080.00718.13
7.1.330.0100.00716.33
7.1.320.0100.01016.23
7.1.310.0070.00716.22
7.1.300.0030.01216.24
7.1.290.0100.00716.13
7.1.280.0040.00716.30
7.1.270.0060.00616.13
7.1.260.0030.00916.17
7.1.250.0050.00516.41
7.1.240.0070.00616.28
7.1.230.0020.01316.33
7.1.220.0070.00516.15
7.1.210.0020.01216.24
7.1.200.0040.00816.06
7.1.190.0040.01116.28
7.1.180.0040.00516.06
7.1.170.0020.01016.07
7.1.160.0050.00816.29
7.1.150.0050.00616.17
7.1.140.0080.00716.07
7.1.130.0090.00316.20
7.1.120.0050.00516.05
7.1.110.0050.00915.97
7.1.100.0050.00717.05
7.1.90.0040.00816.31
7.1.80.0050.00816.18
7.1.70.0040.00716.62
7.1.60.0060.01017.24
7.1.50.0050.00916.33
7.1.40.0110.00516.06
7.1.30.0070.00916.09
7.1.20.0050.00716.19
7.1.10.0090.00616.23
7.1.00.0060.01718.38
7.0.330.0030.01215.88
7.0.320.0050.00715.79
7.0.310.0050.00815.77
7.0.300.0050.00615.81
7.0.290.0040.00615.77
7.0.280.0040.00915.64
7.0.270.0060.00915.83
7.0.260.0090.00515.76
7.0.250.0060.00615.84
7.0.240.0050.00615.71
7.0.230.0060.00815.44
7.0.220.0060.00715.86
7.0.210.0080.00215.56
7.0.200.0060.00516.26
7.0.190.0050.00715.86
7.0.180.0060.00816.00
7.0.170.0050.00915.80
7.0.160.0080.00315.77
7.0.150.0020.01015.94
7.0.140.0050.02918.03
7.0.130.0050.00715.87
7.0.120.0080.00515.71
7.0.110.0100.02917.30
7.0.100.0070.02217.47
7.0.90.0060.02517.32
7.0.80.0080.03017.12
7.0.70.0090.02917.19
7.0.60.0090.02217.31
7.0.50.0080.03217.33
7.0.40.0050.02616.15
7.0.30.0060.02815.94
7.0.20.0050.03416.04
7.0.10.0080.02515.87
7.0.00.0010.03216.02
5.6.400.0150.00014.53
5.6.390.0090.00914.54
5.6.380.0050.00914.83
5.6.370.0070.00614.65
5.6.360.0050.00714.84
5.6.350.0050.00614.74
5.6.340.0030.00914.53
5.6.330.0080.00714.60
5.6.320.0060.00614.45
5.6.310.0050.00714.71
5.6.300.0030.00814.47
5.6.290.0080.00814.55
5.6.280.0060.02816.78
5.6.270.0040.00814.51
5.6.260.0090.02616.74
5.6.250.0080.03216.69
5.6.240.0090.02416.76
5.6.230.0050.03216.68
5.6.220.0080.02916.70
5.6.210.0050.03316.73
5.6.200.0050.03216.78
5.6.190.0110.01716.70
5.6.180.0080.01716.79
5.6.170.0070.02116.64
5.6.160.0080.02816.77
5.6.150.0070.02216.65
5.6.140.0060.03116.64
5.6.130.0050.03316.78
5.6.120.0080.02916.81
5.6.110.0070.03416.63
5.6.100.0030.03516.76
5.6.90.0080.02116.76
5.6.80.0050.03216.53
5.6.70.0060.03116.41
5.6.60.0090.03016.44
5.6.50.0090.02616.29
5.6.40.0070.02916.34
5.6.30.0040.02316.54
5.6.20.0060.03116.50
5.6.10.0090.01716.48
5.6.00.0060.03016.49
5.5.380.0040.02114.54
5.5.370.0050.01814.74
5.5.360.0060.03014.53
5.5.350.0080.02614.60
5.5.340.0060.03214.73
5.5.330.0090.02914.67
5.5.320.0040.02614.77
5.5.310.0050.02814.74
5.5.300.0050.03214.85
5.5.290.0070.02814.72
5.5.280.0040.03514.77
5.5.270.0070.02814.65
5.5.260.0090.02814.80
5.5.250.0060.03014.71
5.5.240.0050.02714.37
5.5.230.0040.03014.48
5.5.220.0070.02514.45
5.5.210.0050.02214.50
5.5.200.0030.03114.58
5.5.190.0090.02614.64
5.5.180.0060.03114.61
5.5.170.0070.00813.20
5.5.160.0040.01614.42
5.5.150.0060.02914.64
5.5.140.0030.02814.47
5.5.130.0050.03114.63
5.5.120.0070.02714.50
5.5.110.0060.02714.59
5.5.100.0070.02514.45
5.5.90.0040.02714.55
5.5.80.0050.01814.51
5.5.70.0040.03314.37
5.5.60.0000.03214.46
5.5.50.0060.02814.63
5.5.40.0090.02314.37
5.5.30.0040.02114.42
5.5.20.0080.02714.47
5.5.10.0090.02214.51
5.5.00.0030.03114.54
5.4.450.0020.03214.26
5.4.440.0080.02814.09
5.4.430.0040.03114.13
5.4.420.0070.02714.27
5.4.410.0040.02213.97
5.4.400.0080.02714.22
5.4.390.0040.02414.02
5.4.380.0060.02914.04
5.4.370.0060.03014.02
5.4.360.0030.03214.06
5.4.350.0020.03414.07
5.4.340.0080.02414.06
5.4.330.0020.00811.18
5.4.320.0060.02814.19
5.4.310.0020.03213.77
5.4.300.0030.03114.05
5.4.290.0040.03313.96
5.4.280.0060.02714.10
5.4.270.0060.02313.79
5.4.260.0080.03014.04
5.4.250.0050.02714.03
5.4.240.0010.03214.12
5.4.230.0060.02513.87
5.4.220.0040.03014.11
5.4.210.0020.03014.12
5.4.200.0090.02714.09
5.4.190.0070.02714.14
5.4.180.0060.02013.94
5.4.170.0030.02914.18
5.4.160.0040.01914.03
5.4.150.0080.02414.13
5.4.140.0070.02513.04
5.4.130.0080.01413.04
5.4.120.0040.02412.97
5.4.110.0050.01813.17
5.4.100.0040.02813.36
5.4.90.0090.02513.14
5.4.80.0060.03013.13
5.4.70.0090.02413.23
5.4.60.0060.03513.21
5.4.50.0080.02113.06
5.4.40.0030.02513.06
5.4.30.0070.02513.14
5.4.20.0090.02513.25
5.4.10.0050.01713.16
5.4.00.0030.02912.92
5.3.290.0070.02712.24
5.3.280.0030.02412.10
5.3.270.0050.02812.28
5.3.260.0070.01912.17
5.3.250.0010.03112.28
5.3.240.0050.02712.23
5.3.230.0070.02712.11
5.3.220.0060.03012.20
5.3.210.0040.03012.21
5.3.200.0070.03012.15
5.3.190.0070.02612.23
5.3.180.0030.02512.29
5.3.170.0060.02712.25
5.3.160.0040.02912.30
5.3.150.0090.01912.25
5.3.140.0070.02512.30
5.3.130.0070.02612.20
5.3.120.0050.02812.17
5.3.110.0040.02812.30
5.3.100.0060.02512.06
5.3.90.0040.02612.02
5.3.80.0010.02012.07
5.3.70.0040.02711.95
5.3.60.0040.01811.97
5.3.50.0050.01611.91
5.3.40.0080.02312.01
5.3.30.0020.03011.95
5.3.20.0010.03411.86
5.3.10.0070.02711.81
5.3.00.0080.02511.81
5.2.170.0000.03511.14
5.2.160.0060.03011.14
5.2.150.0030.03811.14
5.2.140.0000.03911.14
5.2.130.0030.02211.14
5.2.120.0050.03111.14
5.2.110.0070.03211.14
5.2.100.0070.02711.14
5.2.90.0010.03411.14
5.2.80.0030.02811.14
5.2.70.0020.03511.14
5.2.60.0080.03011.14
5.2.50.0030.03411.14
5.2.40.0050.03011.14
5.2.30.0030.03511.14
5.2.20.0080.02811.14
5.2.10.0030.02311.14
5.2.00.0050.01611.14
5.1.60.0080.02211.14
5.1.50.0020.03211.14
5.1.40.0000.03211.14
5.1.30.0020.03211.14
5.1.20.0080.01511.14
5.1.10.0020.03211.14
5.1.00.0050.03011.14
5.0.50.0000.02311.14
5.0.40.0000.02211.14
5.0.30.0050.03311.14
5.0.20.0070.01511.14
5.0.10.0050.02111.14
5.0.00.0040.02811.14
4.4.90.0020.02111.14
4.4.80.0020.01911.14
4.4.70.0020.01511.14
4.4.60.0070.01711.14
4.4.50.0050.01511.14
4.4.40.0020.02111.14
4.4.30.0030.02011.14
4.4.20.0010.01911.14
4.4.10.0020.02011.14
4.4.00.0070.02611.14
4.3.110.0030.01811.14
4.3.100.0020.01611.14
4.3.90.0030.01711.14
4.3.80.0030.01911.14
4.3.70.0030.00811.14
4.3.60.0030.01211.14
4.3.50.0010.01211.14
4.3.40.0000.01511.14
4.3.30.0030.01011.14
4.3.20.0030.01011.14
4.3.10.0020.01111.14
4.3.00.0020.01311.14

preferences:
41.71 ms | 401 KiB | 5 Q