3v4l.org

run code in 300+ PHP versions simultaneously
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <?php //差分を見て前回から更新があったかどうか確認 $old_article = file_get_contents('https://i-bitzedge.com/cron/test/test_old.txt'); $new_article = file_get_contents('https://i-bitzedge.com/cron/test/test_new.txt'); $diff = xdiff_string_diff($old_article, $new_article, 1); if (is_string($diff)) { echo "2 つの記事の差分:\n"; echo $diff; } ?>

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.0000.01616.75
8.3.50.0040.01116.19
8.3.40.0170.00318.87
8.3.30.0110.00418.70
8.3.20.0000.00720.04
8.3.10.0030.00523.34
8.3.00.0030.00719.79
8.2.180.0040.01118.54
8.2.170.0100.00722.96
8.2.160.0120.00320.47
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0030.00526.16
8.2.120.0060.00317.63
8.2.110.0000.01022.08
8.2.100.0080.00417.63
8.2.90.0080.00019.14
8.2.80.0070.00317.97
8.2.70.0040.00417.50
8.2.60.0070.00417.93
8.2.50.0030.00818.07
8.2.40.0030.00519.35
8.2.30.0040.00417.90
8.2.20.0080.00017.66
8.2.10.0040.00418.08
8.2.00.0000.00818.00
8.1.280.0040.01125.92
8.1.270.0070.00720.38
8.1.260.0070.00726.35
8.1.250.0040.00428.09
8.1.240.0070.00322.53
8.1.230.0040.00817.42
8.1.220.0080.00017.74
8.1.210.0060.00318.77
8.1.200.0030.00717.35
8.1.190.0050.00317.35
8.1.180.0040.00418.10
8.1.170.0030.00518.50
8.1.160.0000.00721.98
8.1.150.0070.00018.72
8.1.140.0040.00417.37
8.1.130.0000.00717.66
8.1.120.0000.00717.38
8.1.110.0000.00817.43
8.1.100.0040.00417.30
8.1.90.0040.00417.41
8.1.80.0040.00417.46
8.1.70.0000.00717.42
8.1.60.0080.00017.57
8.1.50.0060.00317.40
8.1.40.0000.00817.48
8.1.30.0030.00617.71
8.1.20.0000.00817.57
8.1.10.0040.00417.50
8.1.00.0040.00417.55
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0040.00418.44
8.0.270.0000.00717.19
8.0.260.0000.00617.38
8.0.250.0040.00416.91
8.0.240.0060.00316.95
8.0.230.0000.01017.10
8.0.220.0000.00716.96
8.0.210.0070.00017.03
8.0.200.0000.00617.02
8.0.190.0000.00817.10
8.0.180.0040.00416.97
8.0.170.0030.00516.95
8.0.160.0040.00416.82
8.0.150.0030.00316.88
8.0.140.0030.00616.83
8.0.130.0000.00613.47
8.0.120.0000.00717.01
8.0.110.0000.00717.00
8.0.100.0080.00016.88
8.0.90.0000.00816.87
8.0.80.0030.01216.93
8.0.70.0000.00717.00
8.0.60.0040.00416.86
8.0.50.0000.00916.89
8.0.30.0070.01117.14
8.0.20.0140.00917.40
8.0.10.0000.00816.92
8.0.00.0120.00816.75
7.4.330.0000.00615.08
7.4.320.0090.00016.48
7.4.300.0000.00616.50
7.4.290.0040.00416.61
7.4.280.0030.00616.53
7.4.270.0030.00316.58
7.4.260.0030.00316.61
7.4.250.0000.01016.38
7.4.240.0080.00016.60
7.4.230.0040.00416.54
7.4.220.0040.01516.72
7.4.210.0070.00916.60
7.4.200.0040.00416.68
7.4.160.0070.01016.66
7.4.150.0150.00617.40
7.4.140.0100.00917.86
7.4.130.0060.01316.51
7.4.120.0080.01016.57
7.4.110.0110.01116.42
7.4.100.0070.01116.55
7.4.90.0110.01016.42
7.4.80.0120.00619.39
7.4.70.0040.01416.56
7.4.60.0080.00816.62
7.4.50.0030.00316.57
7.4.40.0000.01616.61
7.4.30.0150.00316.58
7.4.00.0070.01015.05
7.3.330.0060.00013.08
7.3.320.0030.00313.13
7.3.310.0000.00716.43
7.3.300.0070.00016.26
7.3.290.0130.00716.32
7.3.280.0060.01216.36
7.3.270.0130.01217.40
7.3.260.0150.00416.44
7.3.250.0100.00916.44
7.3.240.0150.00316.52
7.3.230.0170.00716.57
7.3.210.0170.00016.43
7.3.200.0130.00516.59
7.3.190.0190.00416.51
7.3.180.0100.00716.43
7.3.170.0070.01316.51
7.3.160.0090.00916.42
7.2.330.0120.00616.63
7.2.320.0070.01116.74
7.2.310.0120.00916.73
7.2.300.0120.00916.65
7.2.290.0120.00616.29
7.2.60.0080.00616.98
7.2.00.0120.01219.79
7.1.200.0090.00315.51
7.1.100.0070.00718.07
7.1.70.0000.01217.28
7.1.60.0150.00919.13
7.1.50.0060.01917.41
7.1.00.0030.07722.70
7.0.200.0060.00616.84
7.0.100.0070.07720.30
7.0.90.0100.08020.17
7.0.80.0100.07320.23
7.0.70.0100.07020.38
7.0.60.0100.07720.24
7.0.50.0070.08320.62
7.0.40.0170.07320.45
7.0.30.0170.08020.40
7.0.20.0100.08020.53
7.0.10.0100.05020.29
7.0.00.0000.09320.52
5.6.280.0070.07321.18
5.6.250.0130.07321.06
5.6.240.0170.07721.04
5.6.230.0170.07321.08
5.6.220.0030.07720.91
5.6.210.0070.07021.14
5.6.200.0130.08321.31
5.6.190.0030.06021.39
5.6.180.0170.04021.41
5.6.170.0100.08321.36
5.6.160.0200.07721.23
5.6.150.0100.07021.34
5.6.140.0170.04721.52
5.6.130.0000.09021.22
5.6.120.0000.08721.48
5.6.110.0100.08021.33
5.6.100.0070.08321.21
5.6.90.0130.07021.42
5.6.80.0100.08020.61
5.6.70.0000.05320.77
5.6.60.0100.07720.85
5.6.50.0170.07320.79
5.6.40.0070.07720.61
5.6.30.0130.07720.95
5.6.20.0030.08320.61
5.6.10.0070.07720.76
5.6.00.0070.07320.78
5.5.380.0130.06720.64
5.5.370.0030.05320.73
5.5.360.0200.06020.64
5.5.350.0070.04320.70
5.5.340.0030.08721.18
5.5.330.0030.09021.09
5.5.320.0370.06021.18
5.5.310.0100.05021.21
5.5.300.0170.07321.19
5.5.290.0070.04321.18
5.5.280.0130.06721.13
5.5.270.0100.08721.23
5.5.260.0100.07721.27
5.5.250.0070.05320.99
5.5.240.0070.08020.62
5.5.230.0170.07020.62
5.5.220.0130.07320.58
5.5.210.0030.07020.64
5.5.200.0100.07020.54
5.5.190.0030.08320.59
5.5.180.0030.08320.58
5.5.160.0100.08020.51
5.5.150.0070.04020.30
5.5.140.0070.07720.61
5.5.130.0200.07020.34
5.5.120.0130.04020.63
5.5.110.0130.08020.34
5.5.100.0100.07720.34
5.5.90.0070.04320.35
5.5.80.0130.07020.31
5.5.70.0130.04320.24
5.5.60.0070.07020.55
5.5.50.0100.04720.23
5.5.40.0130.07720.51
5.5.30.0230.05020.31
5.5.20.0100.07320.47
5.5.10.0070.07320.41
5.5.00.0100.07320.38
5.4.450.0170.04019.63
5.4.440.0100.04719.89
5.4.430.0070.07719.81
5.4.420.0070.08019.69
5.4.410.0170.06719.46
5.4.400.0100.07319.18
5.4.390.0130.07019.49
5.4.380.0100.07319.37
5.4.370.0130.06719.27
5.4.360.0030.08319.17
5.4.350.0000.08319.27
5.4.340.0030.05019.38
5.4.320.0070.06019.30
5.4.310.0130.03719.57
5.4.300.0100.06019.60
5.4.290.0170.06319.16
5.4.280.0070.07719.49
5.4.270.0170.06719.49
5.4.260.0070.06719.35
5.4.250.0030.07719.16
5.4.240.0000.08319.59
5.4.230.0170.03719.35
5.4.220.0070.07319.37
5.4.210.0070.07719.54
5.4.200.0170.06719.49
5.4.190.0030.08019.16
5.4.180.0100.05019.25
5.4.170.0170.06719.41
5.4.160.0000.05719.52
5.4.150.0070.05319.34
5.4.140.0030.07716.39
5.4.130.0030.04716.27
5.4.120.0170.06316.32
5.4.110.0170.04716.39
5.4.100.0000.06716.26
5.4.90.0070.07016.26
5.4.80.0100.07016.25
5.4.70.0030.07016.25
5.4.60.0130.06716.32
5.4.50.0030.07716.37
5.4.40.0170.04016.39
5.4.30.0070.06316.33
5.4.20.0100.07016.31
5.4.10.0100.07016.28
5.4.00.0070.07015.81

preferences:
42.42 ms | 400 KiB | 5 Q