3v4l.org

run code in 300+ PHP versions simultaneously
<?php $count = (float)(44.28); $multiple = (float)(0.35); $calc = $count / $multiple; //$calc = 44.28 / 0.36 = 123 $calc = 123.110; if(ceil($calc) == $calc) die("is integer"); else die("is not integer");

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.0100.01018.55
8.3.60.0110.00418.14
8.3.50.0100.00821.99
8.3.40.0110.00418.83
8.3.30.0100.00319.14
8.3.20.0000.00720.16
8.3.10.0080.00022.04
8.3.00.0040.00422.46
8.2.190.0030.01316.63
8.2.180.0000.01416.36
8.2.170.0070.00722.96
8.2.160.0040.01119.31
8.2.150.0050.00224.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0170.00319.33
8.2.110.0030.00619.32
8.2.100.0040.00818.04
8.2.90.0000.00917.97
8.2.80.0040.00417.97
8.2.70.0080.00017.50
8.2.60.0030.00618.04
8.2.50.0030.00518.07
8.2.40.0040.00418.28
8.2.30.0030.00518.11
8.2.20.0000.00717.82
8.2.10.0000.00717.73
8.2.00.0070.00017.76
8.1.280.0070.00725.92
8.1.270.0050.00322.26
8.1.260.0000.00826.35
8.1.250.0070.00428.09
8.1.240.0030.00622.23
8.1.230.0050.00520.96
8.1.220.0030.00617.79
8.1.210.0000.00820.22
8.1.200.0060.00317.36
8.1.190.0080.00017.41
8.1.180.0000.00820.57
8.1.170.0070.00318.55
8.1.160.0000.00722.20
8.1.150.0080.00018.68
8.1.140.0070.00217.34
8.1.130.0020.00517.87
8.1.120.0000.00717.50
8.1.110.0000.00817.47
8.1.100.0040.00417.55
8.1.90.0000.00717.41
8.1.80.0000.00817.52
8.1.70.0000.00717.49
8.1.60.0060.00317.55
8.1.50.0050.00217.56
8.1.40.0040.00417.44
8.1.30.0030.00617.61
8.1.20.0030.00517.69
8.1.10.0040.00417.55
8.1.00.0090.00317.52
8.0.300.0070.00320.15
8.0.290.0060.00316.59
8.0.280.0070.00018.39
8.0.270.0040.00417.18
8.0.260.0030.00316.96
8.0.250.0030.00317.13
8.0.240.0070.00017.07
8.0.230.0040.00417.06
8.0.220.0000.00616.92
8.0.210.0000.00717.03
8.0.200.0030.00316.93
8.0.190.0000.00716.97
8.0.180.0040.00416.88
8.0.170.0040.00416.93
8.0.160.0030.00516.94
8.0.150.0060.00316.94
8.0.140.0000.00716.81
8.0.130.0060.00013.39
8.0.120.0040.00416.82
8.0.110.0040.00416.96
8.0.100.0040.00416.72
8.0.90.0040.00417.00
8.0.80.0060.00916.93
8.0.70.0040.00416.80
8.0.60.0040.00416.98
8.0.50.0040.00416.82
8.0.30.0060.01417.19
8.0.20.0080.01017.40
8.0.10.0050.00317.15
8.0.00.0100.00716.88
7.4.330.0020.00215.00
7.4.320.0030.00316.54
7.4.300.0030.00316.55
7.4.290.0040.00416.53
7.4.280.0030.00316.62
7.4.270.0000.00716.54
7.4.260.0000.00716.43
7.4.250.0070.00016.50
7.4.240.0060.00216.58
7.4.230.0070.00016.46
7.4.220.0140.00716.60
7.4.210.0040.01016.71
7.4.200.0030.00316.62
7.4.190.0000.00716.41
7.4.160.0130.00316.46
7.4.150.0160.00417.40
7.4.140.0080.01017.86
7.4.130.0140.00616.55
7.4.120.0080.01116.74
7.4.110.0130.00316.56
7.4.100.0080.00916.41
7.4.90.0100.00716.56
7.4.80.0070.01119.39
7.4.70.0150.00916.41
7.4.60.0030.01216.58
7.4.50.0000.00816.60
7.4.40.0040.01122.77
7.4.30.0060.01316.78
7.4.00.0070.00715.00
7.3.330.0000.00513.13
7.3.320.0020.00213.21
7.3.310.0030.00316.22
7.3.300.0030.00316.23
7.3.290.0070.00716.32
7.3.280.0060.01116.35
7.3.270.0000.01717.40
7.3.260.0080.00816.40
7.3.250.0140.00416.45
7.3.240.0070.01016.70
7.3.230.0090.00716.39
7.3.210.0080.00816.38
7.3.200.0090.00619.39
7.3.190.0060.00916.36
7.3.180.0140.00716.41
7.3.170.0120.00316.54
7.3.160.0100.00716.43
7.3.120.0030.01014.79
7.3.10.0100.00016.49
7.3.00.0060.00316.29
7.2.330.0000.01816.78
7.2.320.0090.01516.71
7.2.310.0130.00316.64
7.2.300.0080.00816.37
7.2.290.0060.01016.54
7.2.130.0030.01016.29
7.2.120.0060.00916.52
7.2.110.0000.00916.55
7.2.100.0040.00816.73
7.2.90.0030.00916.59
7.2.80.0120.00016.80
7.2.70.0030.00616.34
7.2.60.0040.01116.90
7.2.50.0060.00616.45
7.2.40.0080.00316.51
7.2.30.0000.01316.70
7.2.20.0060.01016.47
7.2.10.0090.00616.30
7.2.00.0090.00316.74
7.1.250.0040.00815.35
7.1.70.0120.00416.98
7.1.60.0150.00619.82
7.1.50.0100.01317.00
7.1.00.0130.06722.50
7.0.200.0000.00816.79
7.0.140.0000.07322.06
7.0.60.0030.08719.91
7.0.50.0100.03317.88
7.0.40.0100.05020.04
7.0.30.0300.07720.00
7.0.20.0230.08020.11
7.0.10.0170.04320.18
7.0.00.0000.04720.11
5.6.280.0000.07720.96
5.6.210.0070.05720.73
5.6.200.0070.06318.09
5.6.190.0100.06720.33
5.6.180.3300.04020.57
5.6.170.0330.06020.52
5.6.160.0000.05720.46
5.6.150.0100.07018.21
5.6.140.0000.04718.18
5.6.130.0130.08018.18
5.6.120.0070.07020.97
5.6.110.0000.07321.03
5.6.100.0030.08020.94
5.6.90.0200.06720.99
5.6.80.0070.05720.39
5.6.70.0230.08020.47
5.5.350.0030.03720.39
5.5.340.0100.07717.91
5.5.330.0000.04720.20
5.5.320.0230.04020.21
5.5.310.0270.07720.26
5.5.300.0070.04018.07
5.5.290.0070.08018.01
5.5.280.0100.04020.84
5.5.270.0030.04020.83
5.5.260.0130.06320.83
5.5.250.0070.08720.60
5.5.240.0000.04020.25
5.4.450.0500.05019.13
5.4.440.0400.06019.63
5.4.430.0100.05319.24
5.4.420.0800.06319.63
5.4.410.0430.05719.14
5.4.400.0730.00018.62
5.4.390.0870.00018.72
5.4.380.0270.05718.71
5.4.370.0370.04318.70
5.4.360.0470.04018.64
5.4.350.0370.04718.74
5.4.340.0370.04718.52
5.4.320.0050.04512.45
5.4.310.0070.04312.45
5.4.300.0070.03812.45
5.4.290.0080.04412.45
5.4.280.0040.03612.34
5.4.270.0070.04412.35
5.4.260.0030.05718.89
5.4.250.0030.07318.89
5.4.240.0130.07318.63
5.4.230.0200.06719.03
5.4.220.0130.05018.82
5.4.210.0230.04718.63
5.4.200.0170.04318.87
5.4.190.0130.05018.76
5.4.180.0130.05018.66
5.4.170.0030.06318.81
5.4.160.0100.07319.00
5.4.150.0030.06718.86
5.4.140.0100.06316.40
5.4.130.0070.06016.47
5.4.120.0170.06316.21
5.4.110.0070.06316.48
5.4.100.0070.06716.22
5.4.90.0070.07016.52
5.4.80.0030.07316.47
5.4.70.0030.05316.24
5.4.60.0030.05316.46
5.4.50.0070.05716.37
5.4.40.0030.06016.52
5.4.30.0230.05316.21
5.4.20.0070.06016.45
5.4.10.0130.04716.13
5.4.00.0070.05015.68
5.3.290.0070.04012.80
5.3.280.0070.06714.36
5.3.270.0000.06314.45
5.3.260.0070.07014.64
5.3.250.0000.05714.64
5.3.240.0070.07714.48
5.3.230.0200.06014.59
5.3.220.0130.06714.71
5.3.210.0100.07714.65
5.3.200.0070.07014.42
5.3.190.0200.04314.61
5.3.180.0030.07714.48
5.3.170.0030.08014.25
5.3.160.0130.04714.43
5.3.150.0100.05314.61
5.3.140.0030.07714.42
5.3.130.0100.05314.38
5.3.120.0170.05714.24
5.3.110.0100.07714.59
5.3.100.0130.06014.02
5.3.90.0100.05314.02
5.3.80.0070.05013.93
5.3.70.0030.05314.02
5.3.60.0070.07013.93
5.3.50.0030.06013.86
5.3.40.0030.07713.79
5.3.30.0230.04713.68
5.3.20.0070.05013.68
5.3.10.0070.05013.66
5.3.00.0030.05313.63
5.2.170.0070.04311.29
5.2.160.0030.06011.13
5.2.150.0130.04011.25
5.2.140.0100.04311.06
5.2.130.0130.05011.10
5.2.120.0000.05011.10
5.2.110.0000.06011.00
5.2.100.0100.03710.86
5.2.90.0000.04311.01
5.2.80.0100.04311.10
5.2.70.0100.04311.01
5.2.60.0000.0175.08
5.2.50.0070.05010.91
5.2.40.0030.04711.02
5.2.30.0070.04710.98
5.2.20.0130.03310.87
5.2.10.0070.05310.93
5.2.00.0030.04710.81
5.1.60.0100.0439.89
5.1.50.0170.03710.05
5.1.40.0030.05010.04
5.1.30.0030.04010.24
5.1.20.0030.04710.33
5.1.10.0030.04310.12
5.1.00.0030.0379.95
5.0.50.0070.0308.45
5.0.40.0030.0308.63
5.0.30.0070.0408.28
5.0.20.0030.0278.38
5.0.10.0000.0438.13
5.0.00.0070.0508.10
4.4.90.0070.0205.81
4.4.80.0030.0305.76
4.4.70.0000.0275.76
4.4.60.0030.0275.78
4.4.50.0030.0205.90
4.4.40.0030.0475.79
4.4.30.0070.0235.76
4.4.20.0030.0235.74
4.4.10.0070.0175.80
4.4.00.0070.0375.93
4.3.110.0030.0235.69
4.3.100.0030.0275.71
4.3.90.0030.0305.72
4.3.80.0100.0375.65
4.3.70.0000.0335.73
4.3.60.0000.0305.66
4.3.50.0030.0275.60
4.3.40.0100.0405.61
4.3.30.0070.0205.08
4.3.20.0030.0475.08
4.3.10.0030.0275.08
4.3.00.0070.0239.25

preferences:
63.33 ms | 401 KiB | 5 Q