3v4l.org

run code in 300+ PHP versions simultaneously
<?php $number = 135659.03; $decimal = $number*100; echo 5000/1000;

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.0120.00616.50
8.3.50.0100.00320.24
8.3.40.0060.00918.51
8.3.30.0130.00318.49
8.3.20.0070.00724.18
8.3.10.0030.00524.66
8.3.00.0070.00026.16
8.2.180.0110.00425.92
8.2.170.0170.00019.00
8.2.160.0180.00022.96
8.2.150.0070.00025.66
8.2.140.0070.00024.66
8.2.130.0000.00726.16
8.2.120.0040.00426.16
8.2.110.0090.00019.11
8.2.100.0030.00917.84
8.2.90.0040.00417.88
8.2.80.0000.01218.80
8.2.70.0040.00417.63
8.2.60.0080.00017.63
8.2.50.0060.00317.98
8.2.40.0040.00417.97
8.2.30.0000.00717.96
8.2.20.0040.00420.30
8.2.10.0040.00418.11
8.2.00.0040.00419.29
8.1.280.0110.00325.92
8.1.270.0020.00523.99
8.1.260.0050.00326.35
8.1.250.0050.00328.09
8.1.240.0030.00623.78
8.1.230.0080.00321.04
8.1.220.0080.00018.57
8.1.210.0040.00419.15
8.1.200.0080.00017.13
8.1.190.0030.00517.22
8.1.180.0030.00618.10
8.1.170.0040.00417.62
8.1.160.0080.00018.85
8.1.150.0090.00018.43
8.1.140.0030.00517.36
8.1.130.0070.00018.80
8.1.120.0000.00817.39
8.1.110.0020.00517.32
8.1.100.0000.00817.43
8.1.90.0030.00517.25
8.1.80.0050.00217.34
8.1.70.0100.00017.32
8.1.60.0150.00417.38
8.1.50.0070.00817.38
8.1.40.0100.00317.19
8.1.30.0140.00317.45
8.1.20.0080.01217.53
8.1.10.0110.00417.46
8.1.00.0150.00317.34
8.0.300.0070.00019.92
8.0.290.0060.00316.75
8.0.280.0070.00018.43
8.0.270.0030.00316.85
8.0.260.0030.00318.49
8.0.250.0000.00716.94
8.0.240.0040.00416.98
8.0.230.0030.00316.74
8.0.220.0050.00316.78
8.0.210.0030.00316.72
8.0.200.0110.00016.77
8.0.190.0100.00516.82
8.0.180.0050.00816.76
8.0.170.0130.00316.77
8.0.160.0170.00316.82
8.0.150.0110.00616.66
8.0.140.0170.00016.59
8.0.130.0100.00516.54
8.0.120.0100.00516.76
8.0.110.0110.00416.67
8.0.100.0050.01016.78
8.0.90.0120.00316.61
8.0.80.0080.00816.70
8.0.70.0130.00316.79
8.0.60.0120.00416.67
8.0.50.0140.00216.74
8.0.30.0120.00416.78
8.0.20.0080.00516.69
8.0.10.0090.00616.94
7.4.330.0000.00615.55
7.4.320.0030.00316.53
7.4.300.0050.00516.50
7.4.290.0080.00916.47
7.4.280.0090.00416.39
7.4.270.0110.00616.41
7.4.260.0120.00316.50
7.4.250.0120.00416.41
7.4.240.0110.00416.41
7.4.230.0120.00616.38
7.4.220.0110.00416.42
7.4.210.0150.00016.52
7.4.200.0100.00516.29
7.4.190.0120.00316.41
7.4.180.0100.00516.52
7.4.160.0090.00616.49
7.4.150.0120.00416.27
7.4.140.0150.00016.29
7.4.130.0160.00016.20
7.4.120.0140.00016.41
7.4.110.0160.00016.25
7.4.100.0100.00716.50
7.4.90.0110.00516.28
7.4.80.0110.00416.23
7.4.70.0140.00016.35
7.4.60.0090.00316.36
7.4.50.0130.00016.30
7.4.40.0070.00716.21
7.4.30.0130.00316.40
7.4.20.0090.00516.17
7.4.10.0070.00716.36
7.4.00.0090.00416.40

preferences:
59.12 ms | 400 KiB | 5 Q