3v4l.org

run code in 300+ PHP versions simultaneously
<?php //fscanf(STDIN, "%d %d", $n, $m); $n =15; $m = 0; $choshin_do = $n * 6; $tanshin_do = ($m * 30) + ($n * 0.5); if($choshin_do > $tanshin_do) { $do = $choshin_do - tanshin_do; } else { $do = $tanshin_do - $choshin_do; } echo ($do) . "\n";

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.70.0070.00718.68
8.3.60.0130.00716.63
8.3.50.0180.00721.91
8.3.40.0100.00618.96
8.3.30.0110.00718.84
8.3.20.0040.00420.34
8.3.10.0050.00323.52
8.3.00.0040.00419.38
8.2.180.0230.00018.29
8.2.170.0070.01322.96
8.2.160.0070.00720.34
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0070.00026.16
8.2.120.0000.00826.16
8.2.110.0060.00322.20
8.2.100.0040.00717.84
8.2.90.0040.00419.08
8.2.80.0040.00417.97
8.2.70.0040.00417.75
8.2.60.0030.00518.03
8.2.50.0050.00518.07
8.2.40.0030.00619.28
8.2.30.0050.00220.62
8.2.20.0040.00417.62
8.2.10.0070.00018.03
8.2.00.0050.00317.99
8.1.280.0170.00325.92
8.1.270.0050.00323.83
8.1.260.0050.00226.35
8.1.250.0040.00428.09
8.1.240.0040.00423.71
8.1.230.0040.00820.97
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0060.00317.25
8.1.190.0030.00517.21
8.1.180.0040.00418.10
8.1.170.0090.00018.66
8.1.160.0070.00022.00
8.1.150.0050.00318.94
8.1.140.0030.00519.57
8.1.130.0050.00217.70
8.1.120.0000.00717.50
8.1.110.0000.00717.45
8.1.100.0000.00817.34
8.1.90.0040.00417.39
8.1.80.0030.00517.37
8.1.70.0030.00317.44
8.1.60.0060.00317.60
8.1.50.0080.00017.41
8.1.40.0040.00417.54
8.1.30.0000.00817.55
8.1.20.0040.00417.69
8.1.10.0050.00217.47
8.1.00.0040.00417.40
8.0.300.0000.00818.77
8.0.290.0030.00616.75
8.0.280.0030.00318.44
8.0.270.0030.00517.31
8.0.260.0060.00017.17
8.0.250.0040.00417.05
8.0.240.0000.00717.01
8.0.230.0000.00816.89
8.0.220.0060.00316.91
8.0.210.0030.00316.95
8.0.200.0070.00017.03
8.0.190.0000.00817.07
8.0.180.0050.00216.95
8.0.170.0000.00816.83
8.0.160.0050.00316.91
8.0.150.0070.00016.96
8.0.140.0040.00416.91
8.0.130.0050.00013.33
8.0.120.0080.00016.92
8.0.110.0000.00716.95
8.0.100.0000.00716.98
8.0.90.0040.00417.00
8.0.80.0030.01316.95
8.0.70.0000.00716.96
8.0.60.0080.00016.96
8.0.50.0030.00516.91
8.0.30.0070.01016.97
8.0.20.0070.01217.40
8.0.10.0080.00017.05
8.0.00.0090.00816.86
7.4.330.0030.00315.08
7.4.320.0000.00616.52
7.4.300.0030.00316.58
7.4.290.0000.00716.41
7.4.280.0050.00216.50
7.4.270.0060.00016.51
7.4.260.0040.00416.57
7.4.250.0000.00716.54
7.4.240.0050.00216.62
7.4.230.0030.00316.68
7.4.220.0140.00716.50
7.4.210.0070.00716.52
7.4.200.0070.00016.61
7.4.160.0120.00316.49
7.4.150.0100.00717.40
7.4.140.0090.01017.86
7.4.130.0120.01516.37
7.4.120.0090.00916.58
7.4.110.0090.01516.66
7.4.100.0090.00916.59
7.4.90.0090.01316.46
7.4.80.0060.01619.39
7.4.70.0120.00316.51
7.4.60.0060.01316.51
7.4.50.0040.00416.45
7.4.40.0090.00916.51
7.4.30.0150.00816.57
7.4.00.0120.00315.01
7.3.330.0050.00013.25
7.3.320.0000.00613.13
7.3.310.0030.00316.39
7.3.300.0030.00316.22
7.3.290.0080.00916.30
7.3.280.0090.00916.26
7.3.270.0100.01017.40
7.3.260.0060.01716.38
7.3.240.0140.00716.46
7.3.230.0070.01116.41
7.3.210.0150.00616.49
7.3.200.0090.01216.35
7.3.190.0120.00916.48
7.3.180.0060.00916.44
7.3.170.0100.01016.41
7.3.160.0060.01216.32
7.2.330.0110.00716.71
7.2.320.0160.00616.56
7.2.310.0090.00616.68
7.2.300.0000.02016.53
7.2.290.0150.00316.50
7.2.60.0070.00716.93
7.2.00.0060.00619.39
7.1.200.0150.00015.53
7.1.100.0040.00718.13
7.1.70.0000.00816.80
7.1.60.0110.01419.48
7.1.50.0070.00716.69
7.1.00.0070.07322.36
7.0.200.0330.00414.38
7.0.60.0100.08319.89
7.0.50.0030.08717.80
7.0.40.0100.08019.96
7.0.30.0330.07720.18
7.0.20.0300.08020.04
7.0.10.0000.04720.20
7.0.00.0070.07020.30
5.6.280.0000.04720.76
5.6.210.0000.04320.56
5.6.200.0070.06718.18
5.6.190.0000.07720.61
5.6.180.0300.07720.49
5.6.170.0200.04020.51
5.6.160.0100.08020.41
5.6.150.0100.04718.11
5.6.140.0070.04718.14
5.6.130.0070.08318.11
5.6.120.0000.09320.95
5.6.110.0100.03720.92
5.6.100.0000.08720.97
5.6.90.0130.08320.87
5.6.80.0070.06320.50
5.5.350.3070.03720.37
5.5.340.0070.07017.94
5.5.330.0070.08720.40
5.5.320.0170.07020.18
5.5.310.0330.06720.16
5.5.300.0000.04018.01
5.5.290.0070.03717.92
5.5.280.0100.05320.80
5.5.270.0070.03720.86
5.5.260.0100.08020.88
5.5.250.0100.04720.79
5.5.240.0230.05720.14

preferences:
57.66 ms | 401 KiB | 5 Q