3v4l.org

run code in 300+ PHP versions simultaneously
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <?php $url = "http://apt.saurik.com/debs/"; //ファイル取得 $file = file_get_contents($url); $namepat = '/<a.*?<\/a>".*?"/'; preg_match_all($namepat, $file, $data, PREG_SET_ORDER); //日付を先に取得 $date = time(); $dates = date("Y/m/d H:i:s",$date); //echo date("Y/m/d H:i:s",$date); foreach ($data as $name) { echo $name[0]."<br />"; } if (!$data) { return false; }

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)
7.4.10.0030.01615.32
7.4.00.0080.01015.48
7.3.130.0090.01215.42
7.3.120.0090.00915.50
7.3.110.0090.00915.43
7.3.100.0060.01115.44
7.3.90.0080.00515.43
7.3.80.0080.00615.40
7.3.70.0050.00715.28
7.3.60.0050.00815.36
7.3.50.0110.00215.28
7.3.40.0060.00915.26
7.3.30.0090.00215.29
7.3.20.0050.01017.37
7.3.10.0070.00517.17
7.3.00.0050.01017.23
7.2.260.0070.01415.47
7.2.250.0090.01015.71
7.2.240.0070.01115.62
7.2.230.0060.00915.64
7.2.220.0080.00715.47
7.2.210.0050.00915.77
7.2.200.0070.00715.41
7.2.190.0080.00615.53
7.2.180.0110.00415.63
7.2.170.0060.00915.67
7.2.160.0000.01415.58
7.2.150.0060.00717.50
7.2.140.0020.00917.44
7.2.130.0010.01317.49
7.2.120.0020.01317.38
7.2.110.0080.00717.42
7.2.100.0030.01017.49
7.2.90.0080.00517.64
7.2.80.0050.01017.36
7.2.70.0070.00817.45
7.2.60.0050.00817.36
7.2.50.0050.00917.35
7.2.40.0110.00417.36
7.2.30.0070.00617.51
7.2.20.0030.01217.46
7.2.10.0110.00517.44
7.2.00.0070.00818.38
7.1.330.0040.01216.32
7.1.320.0090.00916.19
7.1.310.0050.00916.08
7.1.300.0020.01016.08
7.1.290.0020.01316.28
7.1.280.0060.00916.17
7.1.270.0050.00716.26
7.1.260.0030.01416.18
7.1.250.0090.00316.21
7.1.240.0050.00516.26
7.1.230.0030.01116.26
7.1.220.0060.00516.20
7.1.210.0050.00716.28
7.1.200.0060.00716.23
7.1.190.0090.00516.27
7.1.180.0080.00515.91
7.1.170.0080.00516.33
7.1.160.0080.00816.28
7.1.150.0090.00216.39
7.1.140.0030.01116.20
7.1.130.0070.00516.29
7.1.120.0070.01016.35
7.1.110.0050.01016.30
7.1.100.0070.00717.26
7.1.90.0080.00716.23
7.1.80.0030.00716.21
7.1.70.0030.00716.77
7.1.60.0100.00617.11
7.1.50.0140.01022.55
7.1.40.0060.01016.21
7.1.30.0100.00516.23
7.1.20.0050.00716.21
7.1.10.0100.00316.25
7.1.00.0070.02918.43
7.0.330.0010.01015.79
7.0.320.0050.00715.87
7.0.310.0030.01116.00
7.0.300.0090.00515.96
7.0.290.0020.01215.86
7.0.280.0020.01315.95
7.0.270.0070.00715.76
7.0.260.0080.00516.04
7.0.250.0070.00816.01
7.0.240.0010.00916.01
7.0.230.0050.01115.98
7.0.220.0050.00816.11
7.0.210.0060.00816.10
7.0.200.0050.00716.13
7.0.190.0100.00215.97
7.0.180.0020.01315.97
7.0.170.0050.00916.00
7.0.160.0050.00815.86
7.0.150.0000.01115.98
7.0.140.0030.01116.14
7.0.130.0030.01015.91
7.0.120.0040.01215.89
7.0.110.0050.01015.94
7.0.100.0070.03217.27
7.0.90.0060.03217.38
7.0.80.0060.03117.29
7.0.70.0100.02017.18
7.0.60.0030.02317.35
7.0.50.0040.02417.56
7.0.40.0080.02916.21
7.0.30.0070.03216.14
7.0.20.0080.02016.13
7.0.10.0120.02316.19
7.0.00.0130.02816.19
5.6.400.0060.00814.75
5.6.390.0060.00914.77
5.6.380.0040.01214.84
5.6.370.0060.00814.78
5.6.360.0100.00514.74
5.6.350.0050.01014.91
5.6.340.0050.00714.77
5.6.330.0060.00514.79
5.6.320.0030.01014.90
5.6.310.0030.00914.76
5.6.300.0100.00514.44
5.6.290.0060.00714.74
5.6.280.0050.02717.05
5.6.270.0060.00914.67
5.6.260.0090.00714.82
5.6.250.0070.02616.87
5.6.240.0050.03516.81
5.6.230.0070.02216.88
5.6.220.0080.02616.73
5.6.210.0050.02516.75
5.6.200.0090.03016.89
5.6.190.0030.02317.06
5.6.180.0080.02316.95
5.6.170.0020.02316.66
5.6.160.0070.02217.09
5.6.150.0080.02117.00
5.6.140.0080.03116.86
5.6.130.0030.03716.93
5.6.120.0090.03316.90
5.6.110.0110.02817.06
5.6.100.0070.03316.94
5.6.90.0090.02916.93
5.6.80.0070.02416.74
5.6.70.0120.02116.56
5.6.60.0100.02816.67
5.6.50.0080.03516.79
5.6.40.0110.03016.70
5.6.30.0070.03216.60
5.6.20.0080.02116.66
5.6.10.0110.02816.71
5.6.00.0070.02516.71
5.5.380.0090.03216.52
5.5.370.0070.03316.57
5.5.360.0150.02216.81
5.5.350.0070.03016.73
5.5.340.0060.02016.92
5.5.330.0070.02916.57
5.5.320.0080.02116.87
5.5.310.0050.03116.85
5.5.300.0110.01816.98
5.5.290.0050.02316.95
5.5.280.0070.02416.83
5.5.270.0080.02716.90
5.5.260.0080.03516.71
5.5.250.0050.02216.92
5.5.240.0130.02716.70
5.5.230.0060.02516.58
5.5.220.0110.01716.54
5.5.210.0090.01916.58
5.5.200.0060.03016.63
5.5.190.0090.03216.63
5.5.180.0070.03316.62
5.5.170.0050.01014.51
5.5.160.0070.02416.46
5.5.150.0060.02816.55
5.5.140.0100.02916.68
5.5.130.0050.02716.62
5.5.120.0070.02816.56
5.5.110.0050.02516.60
5.5.100.0030.03416.56
5.5.90.0090.02516.58
5.5.80.0100.02216.42
5.5.70.0090.03216.59
5.5.60.0130.02616.47
5.5.50.0090.03316.25
5.5.40.0080.03316.61
5.5.30.0080.03316.33
5.5.20.0110.02416.61
5.5.10.0080.03016.52
5.5.00.0080.03116.61
5.4.450.0060.03015.14
5.4.440.0070.02915.13
5.4.430.0040.03215.10
5.4.420.0070.02815.13
5.4.410.0080.03015.06
5.4.400.0040.03114.92
5.4.390.0040.01814.95
5.4.380.0060.02514.98
5.4.370.0030.03214.96
5.4.360.0080.02714.99
5.4.350.0080.02914.97
5.4.340.0030.02814.95
5.4.330.0070.00312.74
5.4.320.0040.01714.96
5.4.310.0060.03214.92
5.4.300.0050.03114.88
5.4.290.0060.03114.98
5.4.280.0080.01814.99
5.4.270.0030.02414.88
5.4.260.0040.03214.95
5.4.250.0030.03314.96
5.4.240.0080.02714.95
5.4.230.0050.02914.95
5.4.220.0040.02514.94
5.4.210.0030.03114.91
5.4.200.0050.02814.99
5.4.190.0060.03214.98
5.4.180.0090.02614.93
5.4.170.0080.02914.96
5.4.160.0090.01515.01
5.4.150.0050.01814.95
5.4.140.0080.02614.10
5.4.130.0050.02714.08
5.4.120.0070.02814.08
5.4.110.0080.02714.10
5.4.100.0040.02114.09
5.4.90.0040.01714.09
5.4.80.0030.01914.12
5.4.70.0060.02614.06
5.4.60.0000.02114.10
5.4.50.0070.02614.11
5.4.40.0060.02814.04
5.4.30.0060.02914.11
5.4.20.0040.03214.04
5.4.10.0040.02114.13
5.4.00.0070.02913.91

preferences:
37.43 ms | 401 KiB | 5 Q