3v4l.org

run code in 300+ PHP versions simultaneously
<?php $rad = 1; $deg = rad2deg($rad); printf("rad: %.f = deg: %.20f \n", $rad, $deg); $rad2deg = 57.295779513082320876798161804285; printf("rad: %.f = deg: %.20f \n", $rad, $rad * $rad2deg);

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.0100.01016.61
8.3.50.0130.00522.88
8.3.40.0090.00618.76
8.3.30.0070.00718.90
8.3.20.0050.00219.97
8.3.10.0050.00323.53
8.3.00.0080.00017.34
8.2.180.0150.00616.32
8.2.170.0140.00322.96
8.2.160.0000.01320.35
8.2.150.0000.00824.18
8.2.140.0070.00024.66
8.2.130.0080.00026.16
8.2.120.0050.00321.00
8.2.110.0090.00022.00
8.2.100.0040.00717.78
8.2.90.0040.00419.28
8.2.80.0000.00917.97
8.2.70.0030.00617.63
8.2.60.0000.00717.93
8.2.50.0000.00918.07
8.2.40.0040.00418.16
8.2.30.0040.00417.96
8.2.20.0040.00417.69
8.2.10.0040.00418.14
8.2.00.0070.00017.66
8.1.280.0030.01425.92
8.1.270.0040.00823.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00623.73
8.1.230.0080.00419.15
8.1.220.0000.00817.79
8.1.210.0000.00818.77
8.1.200.0000.00917.36
8.1.190.0080.00017.13
8.1.180.0000.00819.01
8.1.170.0060.00318.37
8.1.160.0040.00421.93
8.1.150.0070.00018.80
8.1.140.0040.00417.30
8.1.130.0030.00317.88
8.1.120.0030.00717.29
8.1.110.0050.00317.29
8.1.100.0070.00017.34
8.1.90.0000.00717.34
8.1.80.0000.00717.37
8.1.70.0000.00717.27
8.1.60.0030.00517.58
8.1.50.0000.00717.31
8.1.40.0030.00617.35
8.1.30.0030.00517.54
8.1.20.0040.00417.63
8.1.10.0060.00317.55
8.1.00.0030.00617.34
8.0.300.0050.00318.77
8.0.290.0040.00416.75
8.0.280.0050.00318.32
8.0.270.0030.00317.29
8.0.260.0000.00717.25
8.0.250.0030.00316.90
8.0.240.0000.00916.94
8.0.230.0030.00316.82
8.0.220.0030.00316.78
8.0.210.0030.00316.90
8.0.200.0030.00316.88
8.0.190.0000.00816.77
8.0.180.0040.00416.80
8.0.170.0080.00016.87
8.0.160.0070.00016.88
8.0.150.0000.00716.80
8.0.140.0000.00716.81
8.0.130.0050.00513.30
8.0.120.0040.00416.69
8.0.110.0050.00216.77
8.0.100.0070.00016.60
8.0.90.0050.00316.88
8.0.80.0170.00316.71
8.0.70.0050.00316.62
8.0.60.0030.00516.61
8.0.50.0040.00416.72
8.0.30.0160.00617.06
8.0.20.0140.00717.40
8.0.10.0000.00817.05
8.0.00.0080.01016.80
7.4.330.0030.00315.00
7.4.320.0000.00616.36
7.4.300.0060.00316.42
7.4.290.0000.00816.46
7.4.280.0040.00416.50
7.4.270.0040.00316.46
7.4.260.0030.00716.41
7.4.250.0000.00716.48
7.4.240.0030.00416.36
7.4.230.0040.00416.42
7.4.220.0160.01016.62
7.4.210.0060.00816.48
7.4.200.0070.00016.54
7.4.160.0070.01016.59
7.4.150.0190.00017.40
7.4.140.0080.01017.86
7.4.130.0060.01216.52
7.4.120.0140.00916.51
7.4.110.0090.00916.57
7.4.100.0060.01416.30
7.4.90.0130.01016.30
7.4.80.0110.00919.39
7.4.70.0110.00816.44
7.4.60.0040.01416.43
7.4.50.0030.00316.52
7.4.40.0070.01016.36
7.4.30.0090.00616.55
7.4.00.0080.00315.02
7.3.330.0000.00913.04
7.3.320.0060.00013.04
7.3.310.0040.00416.17
7.3.300.0030.00316.04
7.3.290.0070.00716.26
7.3.280.0060.00916.17
7.3.270.0040.01617.40
7.3.260.0070.01016.54
7.3.240.0100.01016.22
7.3.230.0150.00716.39
7.3.210.0170.00716.46
7.3.200.0080.00819.39
7.3.190.0110.00516.33
7.3.180.0120.00416.38
7.3.170.0060.01016.41
7.3.160.0030.01316.14
7.3.10.0070.00716.38
7.3.00.0030.01216.59
7.2.330.0070.01016.43
7.2.320.0070.01116.56
7.2.310.0080.00816.64
7.2.300.0000.01716.63
7.2.290.0000.01616.49
7.2.130.0030.00716.82
7.2.120.0060.00916.84
7.2.110.0060.00916.66
7.2.100.0040.01116.71
7.2.90.0120.00316.64
7.2.80.0070.00316.90
7.2.70.0000.01716.74
7.2.60.0020.01416.77
7.2.50.0050.00816.79
7.2.40.0090.00616.58
7.2.30.0000.01416.98
7.2.20.0000.01616.79
7.2.10.0090.00616.48
7.2.00.0050.00516.64
7.1.250.0070.00715.69
7.1.200.0060.00815.64
7.1.70.0070.00317.17
7.1.60.0140.01119.40
7.1.50.0060.00616.92
7.1.00.0030.07722.31
7.0.200.0000.01016.46
7.0.140.0070.07021.90
7.0.60.0070.04719.91
7.0.50.0230.04017.73
7.0.40.0070.04320.06
7.0.30.0270.08720.14
7.0.20.0270.06020.23
7.0.10.0030.09320.30
7.0.00.0130.07720.20
5.6.210.0100.05720.62
5.6.200.0070.07318.10
5.6.190.0170.07720.77
5.6.180.0200.04720.61
5.6.170.0130.04320.47
5.6.160.0030.04720.50
5.6.150.0100.07018.16
5.6.140.0100.08018.18
5.6.130.0070.04318.17
5.6.120.0070.07020.99
5.6.110.0130.08020.96
5.6.100.0070.05320.99
5.6.90.0070.04721.10
5.6.80.0070.08320.37
5.5.350.3600.03720.35
5.5.340.0200.06717.96
5.5.330.0030.04720.26
5.5.320.0230.06320.53
5.5.310.0300.04020.32
5.5.300.0030.08317.95
5.5.290.0100.05317.95
5.5.280.0100.03720.89
5.5.270.0030.06720.95
5.5.260.0030.04020.67
5.5.250.0070.07320.68
5.5.240.0000.04020.18
5.4.450.0800.06719.53
5.4.440.0530.06019.16
5.4.430.0900.06019.27
5.4.420.0670.04319.52
5.4.410.0130.05019.40
5.4.400.0500.05718.96
5.4.390.0730.05318.82
5.4.380.0170.05018.47
5.4.370.0070.04018.71
5.4.360.0070.03718.57
5.4.350.0100.05211.97
5.4.340.0040.04711.97
5.4.320.0040.04012.45
5.4.310.0060.03912.45
5.4.300.0050.03812.46
5.4.290.0090.03512.45
5.4.280.0070.03412.35
5.4.270.0090.03412.35
5.4.260.0090.03512.35
5.4.250.0040.03912.35
5.4.240.0040.03812.35
5.4.230.0060.03712.34
5.4.220.0020.03912.34
5.4.210.0100.03012.35
5.4.200.0080.03512.34
5.4.190.0050.03612.34
5.4.180.0060.03612.34
5.4.170.0070.03612.35
5.4.160.0070.03512.34
5.4.150.0100.04912.34
5.4.140.0070.04312.02
5.4.130.0050.03712.01
5.4.120.0060.03611.96
5.4.110.0050.03711.96
5.4.100.0080.03311.96
5.4.90.0080.03611.96
5.4.80.0060.04611.96
5.4.70.0050.03611.96
5.4.60.0040.03611.96
5.4.50.0030.03811.96
5.4.40.0050.03611.95
5.4.30.0100.03211.95
5.4.20.0090.03311.95
5.4.10.0050.03511.95
5.4.00.0070.03511.44
5.3.290.0070.03812.80
5.3.280.0120.03312.71
5.3.270.0060.03912.72
5.3.260.0090.03612.72
5.3.250.0060.03712.72
5.3.240.0090.03412.72
5.3.230.0080.03912.71
5.3.220.0080.03512.68
5.3.210.0050.04012.68
5.3.200.0080.03612.68
5.3.190.0040.04312.67
5.3.180.0050.03712.67
5.3.170.0060.03612.67
5.3.160.0070.03512.67
5.3.150.0070.03612.67
5.3.140.0080.03412.66
5.3.130.0050.04012.66
5.3.120.0070.03812.66
5.3.110.0060.03912.66
5.3.100.0080.03512.11
5.3.90.0050.04112.08
5.3.80.0040.03912.07
5.3.70.0060.03612.08
5.3.60.0100.03512.06
5.3.50.0050.03712.00
5.3.40.0050.04012.00
5.3.30.0040.03711.95
5.3.20.0050.04211.73
5.3.10.0090.04011.69
5.3.00.0080.03411.68
5.2.170.0030.0329.18
5.2.160.0070.0279.18
5.2.150.0060.0299.18
5.2.140.0040.0319.18
5.2.130.0060.0289.14
5.2.120.0050.0319.14
5.2.110.0020.0329.15
5.2.100.0050.0289.14
5.2.90.0070.0269.14
5.2.80.0060.0299.14
5.2.70.0070.0289.14
5.2.60.0070.0329.09
5.2.50.0050.0399.06
5.2.40.0050.0299.04
5.2.30.0020.0379.02
5.2.20.0040.0359.00
5.2.10.0040.0298.92
5.2.00.0080.0368.79
5.1.60.0040.0338.07
5.1.50.0050.0258.07
5.1.40.0050.0258.05
5.1.30.0050.0278.40
5.1.20.0050.0278.42
5.1.10.0050.0258.15
5.1.00.0050.0258.14
5.0.50.0010.0236.62
5.0.40.0070.0226.48
5.0.30.0010.0416.29
5.0.20.0030.0236.29
5.0.10.0020.0266.27
5.0.00.0060.0386.25
4.4.90.0030.0214.78
4.4.80.0020.0184.76
4.4.70.0020.0164.76
4.4.60.0040.0154.76
4.4.50.0050.0144.77
4.4.40.0030.0284.71
4.4.30.0030.0194.76
4.4.20.0030.0194.84
4.4.10.0030.0164.85
4.4.00.0030.0254.76
4.3.110.0040.0174.67
4.3.100.0020.0154.67
4.3.90.0030.0144.63
4.3.80.0050.0284.59
4.3.70.0020.0154.63
4.3.60.0020.0154.63
4.3.50.0030.0154.62
4.3.40.0040.0224.54
4.3.30.0000.0183.31
4.3.20.0010.0173.29
4.3.10.0000.0173.25
4.3.00.0130.0207.06

preferences:
55.66 ms | 401 KiB | 5 Q