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.60.0140.00716.75
8.3.50.0300.00822.11
8.3.40.0040.01118.79
8.3.30.0160.00618.68
8.3.20.0080.00020.16
8.3.10.0050.00323.65
8.3.00.0060.00319.38
8.2.180.0200.00318.27
8.2.170.0140.00322.96
8.2.160.0070.00720.57
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0080.00026.16
8.2.110.0040.00420.83
8.2.100.0120.00017.59
8.2.90.0040.00419.17
8.2.80.0040.00417.97
8.2.70.0000.00817.50
8.2.60.0040.00418.03
8.2.50.0000.00918.07
8.2.40.0030.00519.35
8.2.30.0000.00720.64
8.2.20.0000.00817.75
8.2.10.0070.00018.19
8.2.00.0040.00418.02
8.1.280.0040.01125.92
8.1.270.0040.00424.02
8.1.260.0080.00026.35
8.1.250.0060.00328.09
8.1.240.0000.01023.92
8.1.230.0050.00518.87
8.1.220.0050.00317.74
8.1.210.0060.00318.77
8.1.200.0040.00417.35
8.1.190.0090.00017.22
8.1.180.0080.00018.10
8.1.170.0040.00418.72
8.1.160.0040.00421.95
8.1.150.0000.00718.83
8.1.140.0000.00819.57
8.1.130.0000.00717.65
8.1.120.0040.00417.48
8.1.110.0040.00417.48
8.1.100.0040.00417.46
8.1.90.0000.00817.47
8.1.80.0000.00817.49
8.1.70.0000.00917.35
8.1.60.0090.00017.58
8.1.50.0090.00017.42
8.1.40.0000.00817.46
8.1.30.0080.00017.68
8.1.20.0040.00417.48
8.1.10.0030.00517.52
8.1.00.0000.00817.36
8.0.300.0050.00218.77
8.0.290.0050.00216.75
8.0.280.0000.00718.36
8.0.270.0030.00317.32
8.0.260.0030.00317.26
8.0.250.0040.00417.05
8.0.240.0030.00316.90
8.0.230.0000.00816.95
8.0.220.0080.00016.84
8.0.210.0000.00717.02
8.0.200.0000.00717.00
8.0.190.0050.00316.96
8.0.180.0030.00316.96
8.0.170.0000.00816.98
8.0.160.0080.00016.88
8.0.150.0050.00316.79
8.0.140.0020.00516.75
8.0.130.0030.00313.37
8.0.120.0000.00716.82
8.0.110.0000.00716.88
8.0.100.0000.00817.01
8.0.90.0000.00716.92
8.0.80.0030.01316.89
8.0.70.0000.00716.83
8.0.60.0000.00716.90
8.0.50.0050.00217.02
8.0.30.0050.01317.18
8.0.20.0110.00817.40
8.0.10.0030.00517.06
8.0.00.0070.01016.84
7.4.330.0000.00615.08
7.4.320.0000.00616.58
7.4.300.0000.00616.57
7.4.290.0040.00416.44
7.4.280.0070.00016.50
7.4.270.0000.00716.43
7.4.260.0070.00016.48
7.4.250.0040.00416.55
7.4.240.0050.00216.51
7.4.230.0030.00316.70
7.4.220.0120.00616.39
7.4.210.0070.00716.37
7.4.200.0000.00716.40
7.4.160.0130.00316.61
7.4.150.0160.00317.40
7.4.140.0100.01017.86
7.4.130.0200.00616.35
7.4.120.0100.00716.47
7.4.110.0090.00916.49
7.4.100.0120.00916.57
7.4.90.0110.00716.55
7.4.80.0110.00619.39
7.4.70.0090.00616.68
7.4.60.0070.01116.53
7.4.50.0040.00416.38
7.4.40.0090.00916.61
7.4.30.0090.00916.49
7.4.10.0070.01015.09
7.4.00.0050.01115.00
7.3.330.0020.00213.23
7.3.320.0000.00613.08
7.3.310.0040.00416.38
7.3.300.0050.00316.36
7.3.290.0070.01116.28
7.3.280.0030.01316.30
7.3.270.0030.01917.40
7.3.260.0130.00916.39
7.3.240.0110.00916.35
7.3.230.0000.01716.39
7.3.210.0070.01016.34
7.3.200.0120.00416.23
7.3.190.0070.01016.48
7.3.180.0060.00916.31
7.3.170.0090.01216.34
7.3.160.0060.01016.54
7.3.130.0090.00914.65
7.3.120.0110.00714.90
7.3.110.0070.01214.76
7.3.100.0050.01014.81
7.3.90.0080.00514.80
7.3.80.0060.00614.67
7.3.70.0050.00714.77
7.3.60.0070.00714.82
7.3.50.0060.00614.71
7.3.40.0070.00514.62
7.3.30.0090.00914.72
7.3.20.0050.00916.67
7.3.10.0070.00716.72
7.3.00.0100.00216.76
7.2.330.0030.01616.52
7.2.320.0030.01916.58
7.2.310.0100.00616.81
7.2.300.0130.00616.57
7.2.290.0030.01716.77
7.2.260.0070.01114.81
7.2.250.0090.00715.01
7.2.240.0020.01515.25
7.2.230.0070.00815.07
7.2.220.0100.00514.95
7.2.210.0050.00714.82
7.2.200.0070.00714.89
7.2.190.0050.00514.94
7.2.180.0030.01114.96
7.2.170.0070.00614.85
7.2.160.0090.00914.85
7.2.150.0070.00716.88
7.2.140.0120.00416.94
7.2.130.0070.00316.92
7.2.120.0030.00716.54
7.2.110.0040.01116.71
7.2.100.0070.00716.99
7.2.90.0030.00716.92
7.2.80.0030.01016.87
7.2.70.0030.01016.72
7.2.60.0080.00816.94
7.2.50.0060.00917.00
7.2.40.0070.00716.98
7.2.30.0060.01017.15
7.2.20.0070.00316.96
7.2.10.0030.01217.07
7.2.00.0020.01218.17
7.1.330.0040.01115.69
7.1.320.0070.00315.86
7.1.310.0050.00915.80
7.1.300.0030.01015.77
7.1.290.0090.00215.81
7.1.280.0110.00315.58
7.1.270.0050.01115.65
7.1.260.0020.01215.81
7.1.250.0060.00615.74
7.1.240.0040.01115.69
7.1.230.0040.01115.64
7.1.220.0060.00615.84
7.1.210.0030.00715.71
7.1.200.0010.01215.78
7.1.190.0070.00715.89
7.1.180.0060.00615.75
7.1.170.0030.01015.78
7.1.160.0070.00415.86
7.1.150.0040.01115.70
7.1.140.0060.00615.80
7.1.130.0000.01715.91
7.1.120.0040.01415.93
7.1.110.0060.00615.89
7.1.100.0040.00816.75
7.1.90.0090.00615.86
7.1.80.0040.01115.67
7.1.70.0060.00516.33
7.1.60.0090.00817.60
7.1.50.0060.00816.41
7.1.40.0000.01315.87
7.1.30.0000.00915.83
7.1.20.0030.01315.55
7.1.10.0100.00315.80
7.1.00.0080.03719.16
7.0.330.0090.00615.45
7.0.320.0080.00615.35
7.0.310.0040.01115.18
7.0.300.0070.00415.46
7.0.290.0030.00715.49
7.0.280.0000.01215.35
7.0.270.0060.00915.47
7.0.260.0030.00615.07
7.0.250.0100.00315.60
7.0.240.0060.00915.33
7.0.230.0130.00015.18
7.0.220.0030.00815.61
7.0.210.0100.00715.37
7.0.200.0140.00915.07
7.0.190.0040.00815.45
7.0.180.0030.00515.45
7.0.170.0050.00515.21
7.0.160.0060.01015.40
7.0.150.0120.00415.23
7.0.140.0080.00415.64
7.0.130.0030.00715.55
7.0.120.0090.00615.36
7.0.110.0070.00715.27
7.0.100.0080.00415.52
7.0.90.0050.00315.19
7.0.80.0030.01015.18
7.0.70.0040.00415.51
7.0.60.0120.04417.55
7.0.50.0070.04516.77
7.0.40.0050.04216.88
7.0.30.0160.03516.90
7.0.20.0190.04216.81
7.0.10.0090.02316.82
7.0.00.0080.03116.79
5.6.400.0070.00714.23
5.6.390.0000.01714.66
5.6.380.0040.00814.61
5.6.370.0000.01714.65
5.6.360.0080.00314.11
5.6.350.0040.01113.96
5.6.340.0060.00914.23
5.6.330.0110.00613.96
5.6.320.0110.00414.26
5.6.310.0050.00814.31
5.6.300.0040.00914.53
5.6.290.0040.00414.12
5.6.280.0040.03517.65
5.6.270.0070.00714.08
5.6.260.0060.00914.14
5.6.250.0060.00914.35
5.6.240.0000.00914.50
5.6.230.0040.00714.14
5.6.220.0090.00614.34
5.6.210.0060.02017.63
5.6.200.0070.03316.29
5.6.190.0100.02017.44
5.6.180.0150.02517.39
5.6.170.0150.02817.26
5.6.160.0140.03317.27
5.6.150.0050.04816.16
5.6.140.0090.03316.27
5.6.130.0050.04816.25
5.6.120.0050.04617.70
5.6.110.0030.02817.75
5.6.100.0050.04317.71
5.6.90.0050.04517.61
5.6.80.0070.04517.23
5.6.70.0000.00913.91
5.6.60.0120.00314.40
5.6.50.0090.00614.23
5.6.40.0080.00014.06
5.6.30.0070.00714.30
5.6.20.0060.00314.27
5.6.10.0120.00314.25
5.6.00.0090.00614.26
5.5.380.0000.01513.89
5.5.370.0030.01014.44
5.5.360.0090.00014.05
5.5.350.1330.02017.34
5.5.340.0040.02916.07
5.5.330.0030.03017.20
5.5.320.0060.04517.33
5.5.310.0170.03617.09
5.5.300.0050.02216.13
5.5.290.0030.02616.03
5.5.280.0110.04117.67
5.5.270.0120.02217.51
5.5.260.0050.04017.61
5.5.250.0100.04317.42
5.5.240.0130.04517.12
5.5.230.0080.00813.82
5.5.220.0040.01114.14
5.5.210.0030.01113.89
5.5.200.0090.00613.80
5.5.190.0040.00414.09
5.5.180.0030.00814.29
5.5.170.0030.01414.26
5.5.160.0090.00613.95
5.5.150.0060.00914.11
5.5.140.0030.00913.99
5.5.130.0100.00314.44
5.5.120.0060.00314.11
5.5.110.0000.01413.94
5.5.100.0130.00013.95
5.5.90.0000.01613.98
5.5.80.0040.01113.89
5.5.70.0170.00314.43
5.5.60.0030.01414.04
5.5.50.0100.00313.96
5.5.40.0070.01014.13
5.5.30.0060.00914.31
5.5.20.0120.00313.99
5.5.10.0070.00714.27
5.5.00.0030.00614.27

preferences:
55.55 ms | 401 KiB | 5 Q