3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); echo intdiv(round(13.5), 10);

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.5.10.0100.01116.62
8.5.00.0120.00819.85
8.4.160.0130.00823.91
8.4.150.0010.00014.05
8.4.140.0140.00717.56
8.4.130.0130.00617.96
8.4.120.0090.00220.68
8.4.110.0050.00420.57
8.4.100.0040.00717.80
8.4.90.0140.00717.78
8.4.80.0100.00618.10
8.4.70.0040.00417.88
8.4.60.0100.01018.67
8.4.50.0130.00818.63
8.4.40.0060.01317.50
8.4.30.0150.00419.00
8.4.20.0120.00918.13
8.4.10.0040.00419.27
8.3.280.0110.00918.43
8.3.270.0130.00816.54
8.3.260.0130.00616.66
8.3.250.0120.00718.84
8.3.240.0110.00816.86
8.3.230.0130.00716.71
8.3.220.0120.00816.66
8.3.210.0090.00518.27
8.3.200.0040.00416.84
8.3.190.0070.00117.14
8.3.180.0050.00416.86
8.3.170.0090.00918.65
8.3.160.0100.00717.25
8.3.150.0120.00420.79
8.3.140.0060.01318.80
8.3.130.0030.00518.54
8.3.120.0090.00018.43
8.3.110.0000.00820.94
8.3.100.0000.00824.06
8.3.90.0140.00426.77
8.3.80.0040.00418.30
8.3.70.0140.00716.58
8.3.60.0170.00018.43
8.3.50.0040.01516.62
8.3.40.0100.00322.03
8.3.30.0070.00718.76
8.3.20.0050.00324.18
8.3.10.0050.00324.66
8.3.00.0030.00526.16
8.2.290.0090.00218.77
8.2.280.0100.00718.25
8.2.270.0110.00818.99
8.2.260.0130.00416.54
8.2.250.0000.00816.91
8.2.240.0000.00717.28
8.2.230.0000.00822.58
8.2.220.0100.01037.54
8.2.210.0030.00526.77
8.2.200.0050.00518.18
8.2.190.0120.00616.75
8.2.180.0070.00725.92
8.2.170.0040.01118.91
8.2.160.0090.00622.96
8.2.150.0050.00325.66
8.2.140.0070.00724.66
8.2.130.0070.00026.16
8.2.120.0040.00419.23
8.2.110.0100.01422.36
8.2.100.0060.00620.58
8.2.90.0070.01120.51
8.2.80.0080.00420.36
8.2.70.0070.00320.62
8.2.60.0000.01020.45
8.2.50.0110.00020.35
8.2.40.0000.01020.44
8.2.30.0060.00320.60
8.2.20.0030.00720.51
8.2.10.0100.00020.56
8.2.00.0040.00720.47
8.1.330.0120.00716.84
8.1.320.0100.01016.36
8.1.310.0110.00418.61
8.1.300.0060.00319.45
8.1.290.0090.00030.84
8.1.280.0090.01525.92
8.1.270.0090.00023.89
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0040.00820.22
8.1.230.0060.00320.39
8.1.220.0070.00420.13
8.1.210.0050.00521.65
8.1.200.0030.00620.18
8.1.190.0060.00320.20
8.1.180.0090.00020.09
8.1.170.0060.00320.27
8.1.160.0000.00920.27
8.1.150.0060.00320.29
8.1.140.0060.00320.08
8.1.130.0100.00020.25
8.1.120.0100.00020.16
8.1.110.0100.00020.34
8.1.100.0110.00020.25
8.1.90.0030.00720.38
8.1.80.0060.00620.19
8.1.70.0070.00320.20
8.1.60.0070.00320.46
8.1.50.0080.00420.52
8.1.40.0040.00720.45
8.1.30.0060.00320.60
8.1.20.0060.00320.52
8.1.10.0090.00020.24
8.1.00.0000.01320.55
8.0.300.0060.00619.81
8.0.290.0110.00019.72
8.0.280.0040.00719.82
8.0.270.0060.00319.64
8.0.260.0030.00619.68
8.0.250.0080.00019.88
8.0.240.0090.00019.83
8.0.230.0030.00619.81
8.0.220.0110.00019.88
8.0.210.0080.00319.77
8.0.200.0090.00019.70
8.0.190.0030.00619.79
8.0.180.0030.00719.82
8.0.170.0060.00319.78
8.0.160.0060.00319.83
8.0.150.0030.00619.70
8.0.140.0040.00419.73
8.0.130.0030.00719.81
8.0.120.0100.00019.75
8.0.110.0060.00320.00
8.0.100.0090.00019.82
8.0.90.0030.00619.87
8.0.80.0060.00319.82
8.0.70.0060.00319.80
8.0.60.0090.00019.53
8.0.50.0100.00019.75
8.0.30.0030.00619.73
8.0.20.0090.00019.88
8.0.10.0070.00319.87

preferences:
122.32 ms | 403 KiB | 5 Q