3v4l.org

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

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.0190.00016.63
8.3.50.0110.01120.05
8.3.40.0120.00318.72
8.3.30.0100.00618.52
8.3.20.0000.00724.18
8.3.10.0050.00324.66
8.3.00.0070.00026.16
8.2.180.0110.00325.92
8.2.170.0070.00718.79
8.2.160.0110.00422.96
8.2.150.0040.00425.66
8.2.140.0110.00424.66
8.2.130.0040.00426.16
8.2.120.0080.00026.16
8.2.110.0060.00319.39
8.2.100.0060.00617.78
8.2.90.0040.00419.04
8.2.80.0080.00017.97
8.2.70.0050.00317.50
8.2.60.0120.00817.40
8.2.50.0030.00618.07
8.2.40.0040.00418.09
8.2.30.0040.00418.16
8.2.20.0040.00420.48
8.2.10.0040.00418.14
8.2.00.0030.00619.39
8.1.280.0060.00925.92
8.1.270.0040.00423.99
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0000.00922.07
8.1.230.0070.00318.87
8.1.220.0040.00417.78
8.1.210.0030.00618.77
8.1.200.0100.00017.23
8.1.190.0050.00317.22
8.1.180.0030.00618.10
8.1.170.0080.00018.50
8.1.160.0000.00718.71
8.1.150.0060.00318.48
8.1.140.0040.00417.45
8.1.130.0000.00718.68
8.1.120.0040.00417.38
8.1.110.0040.00417.39
8.1.100.0040.00417.39
8.1.90.0040.00417.34
8.1.80.0040.00417.42
8.1.70.0040.00417.33
8.1.60.0040.00417.51
8.1.50.0070.00017.41
8.1.40.0040.00417.46
8.1.30.0030.00617.52
8.1.20.0060.00317.39
8.1.10.0080.00417.25
8.1.00.0080.00817.21
8.0.300.0030.00518.77
8.0.290.0080.00016.58
8.0.280.0070.00018.49
8.0.270.0000.00716.86
8.0.260.0040.00418.38
8.0.250.0080.00016.83
8.0.240.0000.00816.98
8.0.230.0030.00316.80
8.0.220.0000.00716.84
8.0.210.0020.00516.72
8.0.200.0050.00216.75
8.0.190.0070.00716.64
8.0.180.0110.00016.30
8.0.170.0080.00416.53
8.0.160.0090.00416.53
8.0.150.0110.00416.27
8.0.140.0000.01416.44
8.0.130.0090.00416.39
8.0.120.0060.00616.18
8.0.110.0100.00516.20
8.0.100.0140.00016.59
8.0.90.0120.00216.46
8.0.80.0060.00616.40
8.0.70.0070.00716.28
8.0.60.0130.00016.52
8.0.50.0070.00716.45
8.0.30.0140.00015.94
8.0.20.0080.00316.60
8.0.10.0100.00316.29
7.4.330.0060.00015.55
7.4.320.0000.00716.45
7.4.300.0020.00516.17
7.4.290.0100.00716.31
7.4.280.0000.01115.96
7.4.270.0000.01216.04
7.4.260.0120.00316.00
7.4.250.0140.00016.15
7.4.240.0140.00016.12
7.4.230.0110.00415.98
7.4.220.0070.00716.44
7.4.210.0040.00916.01
7.4.200.0070.01016.09
7.4.190.0060.00616.00
7.4.180.0090.00216.37
7.4.160.0080.00816.23
7.4.150.0110.00315.85
7.4.140.0100.00716.09
7.4.130.0100.00416.25
7.4.120.0110.00215.98
7.4.110.0090.00416.04
7.4.100.0150.00015.81
7.4.90.0140.00015.87
7.4.80.0050.00615.96
7.4.70.0140.00016.35
7.4.60.0130.00016.23
7.4.50.0030.00815.80
7.4.40.0090.00415.96
7.4.30.0080.00515.93
7.4.20.0110.00215.97
7.4.10.0110.00215.96
7.4.00.0070.00915.77

preferences:
33.78 ms | 400 KiB | 5 Q