3v4l.org

run code in 300+ PHP versions simultaneously
<?php $current_skill = 7000; $mod = (- 0.0087 * pow(floor($current_skill/1000),3)) + 0.0346 * pow(floor($current_skill/1000),2) - 0.1042 * pow(floor($current_skill/1000),1) + 3.0061; echo $mod;

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.0090.00618.43
8.3.60.0040.01418.43
8.3.50.0230.00616.55
8.3.40.0090.01219.04
8.3.30.0120.00318.80
8.3.20.0040.00421.03
8.3.10.0070.00422.23
8.3.00.0080.00019.59
8.2.180.0070.01116.60
8.2.170.0150.00022.96
8.2.160.0100.01020.58
8.2.150.0000.00725.66
8.2.140.0080.00024.66
8.2.130.0040.00420.89
8.2.120.0000.00826.35
8.2.110.0000.00820.60
8.2.100.0070.00417.97
8.2.90.0080.00018.37
8.2.80.0080.00019.81
8.2.70.0080.00018.05
8.2.60.0080.00018.18
8.2.50.0030.00518.18
8.2.40.0050.00320.67
8.2.30.0040.00421.30
8.2.20.0000.00718.15
8.2.10.0050.00218.34
8.2.00.0040.00418.36
8.1.280.0040.01125.92
8.1.270.0050.00322.43
8.1.260.0000.00826.35
8.1.250.0050.00328.09
8.1.240.0050.00522.30
8.1.230.0090.00323.07
8.1.220.0040.00417.91
8.1.210.0030.00718.77
8.1.200.0090.00317.59
8.1.190.0040.00417.60
8.1.180.0080.00018.10
8.1.170.0060.00318.71
8.1.160.0000.00819.16
8.1.150.0030.00619.04
8.1.140.0060.00319.81
8.1.130.0030.00319.04
8.1.120.0000.00717.61
8.1.110.0080.00017.59
8.1.100.0040.00417.76
8.1.90.0000.00817.66
8.1.80.0040.00717.61
8.1.70.0030.00317.57
8.1.60.0000.00717.74
8.1.50.0000.00817.57
8.1.40.0080.00417.60
8.1.30.0040.00417.76
8.1.20.0000.00817.89
8.1.10.0030.00517.79
8.1.00.0030.00617.70
8.0.300.0000.00719.85
8.0.290.0040.00416.88
8.0.280.0030.00318.67
8.0.270.0040.00417.53
8.0.260.0000.00617.04
8.0.250.0000.00717.19
8.0.240.0040.00417.15
8.0.230.0030.00317.25
8.0.220.0000.00617.09
8.0.210.0000.00717.14
8.0.200.0000.00717.08
8.0.190.0000.00817.17
8.0.180.0060.00317.05
8.0.170.0000.00717.14
8.0.160.0040.00416.99
8.0.150.0030.00317.02
8.0.140.0000.00717.00
8.0.130.0030.00313.50
8.0.120.0050.00317.04
8.0.110.0030.00317.09
8.0.100.0030.00617.07
8.0.90.0000.00717.01
8.0.80.0120.00617.00
8.0.70.0040.00417.14
8.0.60.0000.00817.05
8.0.50.0030.00516.96
8.0.30.0080.01217.07
8.0.20.0130.00817.42
8.0.10.0030.00317.00
8.0.00.0080.00816.70
7.4.330.0060.00015.55
7.4.320.0070.00016.69
7.4.300.0060.00016.67
7.4.290.0030.00816.75
7.4.280.0060.00316.73
7.4.270.0040.00416.55
7.4.260.0030.00313.54
7.4.250.0000.00716.72
7.4.240.0000.00716.75
7.4.230.0000.00716.73
7.4.220.0100.01016.66
7.4.210.0110.00316.66
7.4.200.0070.00016.65
7.4.160.0120.00616.63
7.4.150.0110.01017.40
7.4.140.0100.01017.86
7.4.130.0100.00716.44
7.4.120.0130.00616.70
7.4.110.0080.00816.57
7.4.100.0060.01016.64
7.4.90.0120.00616.56
7.4.80.0190.00419.39
7.4.70.0080.00916.52
7.4.60.0080.00816.54
7.4.50.0040.00816.64
7.4.40.0110.00616.62
7.4.30.0100.00616.63
7.4.00.0100.00015.08
7.3.330.0000.00513.36
7.3.320.0050.00013.52
7.3.310.0050.00316.54
7.3.300.0030.00316.57
7.3.290.0050.00216.54
7.3.280.0110.00716.48
7.3.270.0110.00717.40
7.3.260.0170.00416.36
7.3.250.0080.01116.61
7.3.240.0110.00816.60
7.3.230.0000.01816.54
7.3.210.0100.01016.59
7.3.200.0090.00616.37
7.3.190.0110.01216.63
7.3.180.0110.01116.56
7.3.170.0140.00416.69
7.3.160.0110.01116.66
7.3.10.0070.01016.76
7.3.00.0040.01517.01
7.2.330.0090.01016.83
7.2.320.0060.00916.79
7.2.310.0130.00316.30
7.2.300.0060.01016.73
7.2.290.0070.01016.71
7.2.130.0070.01116.75
7.2.120.0030.01216.94
7.2.110.0030.01216.98
7.2.100.0070.00717.21
7.2.90.0000.01316.75
7.2.80.0060.00916.84
7.2.70.0070.00716.85
7.2.60.0060.00817.16
7.2.50.0080.00617.05
7.2.40.0090.00617.08
7.2.30.0060.01117.21
7.2.20.0100.00716.94
7.2.10.0040.01216.68
7.2.00.0090.00718.31
7.1.250.0030.01515.93
7.1.200.0000.01115.91
7.1.100.0030.00618.37
7.1.70.0000.01617.05
7.1.60.3830.02333.26
7.1.50.2400.01333.16
7.1.40.2900.01032.72
7.1.30.3800.01332.92
7.1.20.2300.01332.96
7.1.10.1900.01315.25
7.1.00.2170.01015.03
7.0.200.3500.01015.18
7.0.190.5400.01015.03
7.0.180.3270.00714.73
7.0.170.3630.01014.73
7.0.160.4800.00714.48
7.0.150.1970.00714.63
7.0.140.2000.00714.55
7.0.130.1800.01314.95
7.0.120.2100.00715.18
7.0.110.1970.00714.58
7.0.100.1830.00714.57
7.0.90.1900.01314.71
7.0.80.1730.01014.77
7.0.70.1700.01014.58
7.0.60.2070.01014.64
7.0.50.2070.01314.80
7.0.40.1530.01314.88
7.0.30.1900.01014.91
7.0.20.1970.01314.68
7.0.10.2070.01014.84
7.0.00.1230.01714.73

preferences:
42.04 ms | 401 KiB | 5 Q