3v4l.org

run code in 300+ PHP versions simultaneously
<?php $number = int(2.2 / 10); echo "$number";

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.0030.01618.31
8.3.60.0090.00616.75
8.3.50.0080.01121.11
8.3.40.0040.01118.72
8.3.30.0140.00018.81
8.3.20.0140.00420.20
8.3.10.0000.00823.52
8.3.00.0030.00520.95
8.2.190.0090.00916.58
8.2.180.0030.01418.41
8.2.170.0100.00322.96
8.2.160.0060.00920.47
8.2.150.0040.00424.18
8.2.140.0110.00724.66
8.2.130.0080.00019.25
8.2.120.0050.00326.35
8.2.110.0070.00320.90
8.2.100.0090.00317.91
8.2.90.0000.00919.05
8.2.80.0000.00917.97
8.2.70.0000.00917.50
8.2.60.0000.00817.80
8.2.50.0060.00318.07
8.2.40.0000.00822.04
8.2.30.0050.00320.51
8.2.20.0000.00717.69
8.2.10.0020.00518.04
8.2.00.0040.00417.87
8.1.280.0110.00425.92
8.1.270.0000.00820.13
8.1.260.0040.00428.09
8.1.250.0070.00028.09
8.1.240.0000.01020.76
8.1.230.0060.00617.76
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0000.00917.38
8.1.190.0050.00517.10
8.1.180.0040.00418.10
8.1.170.0070.00418.16
8.1.160.0040.00420.63
8.1.150.0000.00718.66
8.1.140.0040.00419.44
8.1.130.0040.00417.52
8.1.120.0040.00417.25
8.1.110.0040.00417.21
8.1.100.0040.00417.25
8.1.90.0000.00817.21
8.1.80.0050.00217.28
8.1.70.0070.00017.19
8.1.60.0050.00317.43
8.1.50.0000.00817.51
8.1.40.0040.00417.46
8.1.30.0040.00417.48
8.1.20.0020.00517.41
8.1.10.0000.00817.49
8.1.00.0030.00517.38
8.0.300.0000.00718.77
8.0.290.0020.00516.75
8.0.280.0100.00018.29
8.0.270.0070.00017.09
8.0.260.0040.00417.23
8.0.250.0030.00316.84
8.0.240.0000.00716.82
8.0.230.0000.00616.97
8.0.220.0070.00016.87
8.0.210.0040.00416.92
8.0.200.0000.00716.86
8.0.190.0000.00816.96
8.0.180.0030.00516.90
8.0.170.0070.00016.96
8.0.160.0000.00716.86
8.0.150.0040.00416.83
8.0.140.0000.00816.79
8.0.130.0030.00313.32
8.0.120.0040.00416.90
8.0.110.0070.00016.88
8.0.100.0040.00416.66
8.0.90.0000.00716.66
8.0.80.0100.00616.86
8.0.70.0000.00716.95
8.0.60.0070.00016.71
8.0.50.0040.00416.86
8.0.30.0110.00917.01
8.0.20.0100.00917.40
8.0.10.0040.00417.00
8.0.00.0100.00816.71
7.4.330.0050.00016.85
7.4.320.0060.00016.46
7.4.300.0000.00716.57
7.4.290.0000.01016.52
7.4.280.0050.00316.54
7.4.270.0040.00416.52
7.4.260.0030.00316.31
7.4.250.0000.00716.51
7.4.240.0000.00716.48
7.4.230.0000.00716.55
7.4.220.0190.00016.56
7.4.210.0150.00616.51
7.4.200.0030.00316.62
7.4.160.0100.00716.59
7.4.150.0100.00717.40
7.4.140.0110.00817.86
7.4.130.0130.00716.50
7.4.120.0080.01216.50
7.4.110.0150.00316.39
7.4.100.0130.01016.52
7.4.90.0150.00316.46
7.4.80.0030.01519.39
7.4.70.0030.01216.46
7.4.60.0100.00716.31
7.4.50.0110.00716.20
7.4.40.0110.00616.53
7.4.30.0070.01016.49
7.4.00.0040.01114.85
7.3.330.0020.00213.14
7.3.320.0000.00613.03
7.3.310.0000.00616.36
7.3.300.0000.00716.16
7.3.290.0120.00716.20
7.3.280.0100.00616.29
7.3.270.0140.00317.40
7.3.260.0040.01516.35
7.3.250.0140.00316.24
7.3.240.0150.00316.32
7.3.230.0120.00616.39
7.3.210.0070.01116.56
7.3.200.0120.00416.14
7.3.190.0090.00616.50
7.3.180.0040.01116.26
7.3.170.0150.00616.40
7.3.160.0170.00016.44
7.3.120.0130.00614.73
7.3.110.0100.00714.58
7.3.100.0070.00714.64
7.3.90.0060.00615.00
7.3.80.0100.00315.09
7.3.70.0040.00814.83
7.3.60.0090.00614.60
7.3.50.0070.00714.52
7.3.40.0060.00614.52
7.3.30.0120.00314.73
7.3.20.0030.00716.67
7.3.10.0070.00716.65
7.3.00.0080.00316.55
7.2.330.0110.00716.58
7.2.320.0120.00916.52
7.2.310.0130.01316.19
7.2.300.0130.00316.52
7.2.290.0060.01016.46
7.2.250.0060.00914.79
7.2.240.0080.01214.76
7.2.230.0030.00914.98
7.2.220.0000.01314.83
7.2.210.0030.00614.79
7.2.200.0000.01014.77
7.2.190.0030.01014.82
7.2.180.0060.00914.62
7.2.170.0120.00014.69
7.2.60.0040.01116.41
7.2.00.0050.00519.44
7.1.330.0030.01215.75
7.1.320.0060.00615.57
7.1.310.0030.00615.55
7.1.300.0030.01015.33
7.1.290.0030.00615.73
7.1.280.0060.00615.70
7.1.270.0000.01515.62
7.1.260.0080.00415.34
7.1.200.0030.00915.66
7.1.100.0040.00717.95
7.1.70.0000.00816.90
7.1.60.0100.01419.52
7.1.50.0030.01716.83
7.1.00.0000.08022.36
7.0.200.0000.00916.70
7.0.60.0030.08319.78
7.0.50.0170.05017.85
7.0.40.0030.04720.07
7.0.30.0270.07720.33
7.0.20.0200.04020.12
7.0.10.0030.09020.09
7.0.00.0130.08020.20
5.6.280.0030.05320.90
5.6.210.0070.08020.70
5.6.200.0000.07018.19
5.6.190.0030.08720.63
5.6.180.0270.06020.68
5.6.170.0270.06720.52
5.6.160.0030.08320.46
5.6.150.0070.03718.20
5.6.140.0100.07718.21
5.6.130.0000.04318.20
5.6.120.0030.08321.11
5.6.110.0030.09020.89
5.6.100.0070.08321.00
5.6.90.0100.08020.95
5.6.80.0070.08020.34
5.5.350.3000.03720.39
5.5.340.0000.04317.88
5.5.330.0070.08320.21
5.5.320.0300.03720.15
5.5.310.0330.04320.17
5.5.300.0070.08317.95
5.5.290.0070.04017.98
5.5.280.0030.07020.86
5.5.270.0130.07720.76
5.5.260.0230.07020.66
5.5.250.0030.08020.48
5.5.240.0100.05320.06

preferences:
72.32 ms | 401 KiB | 5 Q