3v4l.org

run code in 300+ PHP versions simultaneously
<?php $f = 1234.5678901234567; var_dump(ceil($f), round(ceil($f)));

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.4.20.0090.00017.85
8.4.10.0090.00019.35
8.3.150.0060.01217.16
8.3.140.0070.01116.39
8.3.130.0040.00418.36
8.3.120.0030.00720.46
8.3.110.0040.00416.50
8.3.100.0080.00016.16
8.3.90.0110.00626.77
8.3.80.0000.00816.50
8.3.70.0080.01116.58
8.3.60.0150.00018.31
8.3.50.0110.00317.31
8.3.40.0140.00718.67
8.3.30.0090.00618.58
8.3.20.0000.00824.18
8.3.10.0040.00424.66
8.3.00.0080.00026.16
8.2.260.0030.00618.79
8.2.250.0070.01016.47
8.2.240.0000.00918.97
8.2.230.0060.00320.94
8.2.220.0090.00024.06
8.2.210.0110.00726.77
8.2.200.0040.00416.63
8.2.190.0090.00616.58
8.2.180.0090.00925.92
8.2.170.0140.00319.01
8.2.160.0140.00022.96
8.2.150.0050.00325.66
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0000.00826.35
8.2.110.0070.00321.17
8.2.100.0080.00417.72
8.2.90.0030.00518.22
8.2.80.0060.00318.03
8.2.70.0040.00417.63
8.2.60.0040.00417.93
8.2.50.0080.00318.05
8.2.40.0040.00418.28
8.2.30.0000.00718.02
8.2.20.0040.00417.92
8.2.10.0040.00419.14
8.2.00.0040.00419.29
8.1.310.0000.00818.60
8.1.300.0060.00316.01
8.1.290.0100.00330.84
8.1.280.0100.00725.92
8.1.270.0080.00023.99
8.1.260.0030.00528.09
8.1.250.0080.00028.09
8.1.240.0090.00023.95
8.1.230.0070.00421.02
8.1.220.0000.00817.77
8.1.210.0040.00418.77
8.1.200.0060.00317.22
8.1.190.0040.00417.35
8.1.180.0000.00918.10
8.1.170.0040.00418.42
8.1.160.0110.00018.83
8.1.150.0000.00718.78
8.1.140.0050.00218.74
8.1.130.0040.00417.42
8.1.120.0030.00317.30
8.1.110.0040.00417.45
8.1.100.0000.00717.32
8.1.90.0040.00417.35
8.1.80.0000.00817.47
8.1.70.0080.00017.48
8.1.60.0050.00317.47
8.1.50.0040.00417.41
8.1.40.0000.00817.50
8.1.30.0040.00417.60
8.1.20.0000.00817.61
8.1.10.0000.00717.36
8.1.00.0060.00317.45
8.0.300.0040.00419.90
8.0.290.0040.00416.75
8.0.280.0050.00318.43
8.0.270.0000.00717.99
8.0.260.0000.00816.91
8.0.250.0000.00716.87
8.0.240.0030.00316.87
8.0.230.0000.00716.90
8.0.220.0000.00716.72
8.0.210.0030.00316.88
8.0.200.0020.00517.00
8.0.190.0080.00016.94
8.0.180.0030.00316.91
8.0.170.0040.00416.88
8.0.160.0040.00416.89
8.0.150.0040.00416.86
8.0.140.0000.00816.84
8.0.130.0050.00013.37
8.0.120.0080.00016.82
8.0.110.0000.00816.94
8.0.100.0030.00316.70
8.0.90.0000.00716.71
8.0.80.0120.00716.89
8.0.70.0040.00416.94
8.0.60.0000.00716.74
8.0.50.0040.00416.76
8.0.30.0150.00217.18
8.0.20.0100.01016.98
8.0.10.0120.00416.82
8.0.00.0060.01317.00
7.4.330.0020.00215.55
7.4.320.0030.00616.63
7.4.300.0000.00616.39
7.4.290.0070.00016.40
7.4.280.0030.00316.48
7.4.270.0000.00816.48
7.4.260.0030.00313.27
7.4.250.0080.00016.54
7.4.240.0020.00616.46
7.4.230.0000.00816.57
7.4.220.0040.00316.54
7.4.210.0080.00916.54
7.4.200.0000.00716.67
7.4.160.0120.00616.58
7.4.150.0100.00716.55
7.4.140.0130.00916.38
7.4.130.0000.01516.33
7.4.120.0060.01116.33
7.4.110.0040.01416.36
7.4.100.0090.00616.45
7.4.90.0130.00616.32
7.4.80.0080.00616.67
7.4.70.0090.00616.48
7.4.60.0000.01516.42
7.4.50.0040.01116.36
7.4.40.0150.00316.24
7.4.30.0000.01316.43
7.4.20.0030.01316.53
7.4.10.0080.00816.34
7.4.00.0090.00616.39
7.3.330.0000.00916.18
7.3.320.0030.00312.93
7.3.310.0050.00216.15
7.3.300.0030.00316.23
7.3.290.0050.01016.23
7.3.270.0080.00816.44
7.3.260.0130.01016.38
7.3.250.0120.00916.07
7.3.240.0030.01016.34
7.3.230.0050.01316.26
7.3.220.0100.01016.10
7.3.210.0100.00716.38
7.3.200.0090.00916.39
7.3.190.0150.00016.15
7.3.180.0070.00716.37
7.3.170.0120.00816.13
7.3.160.0000.01516.45
7.3.150.0120.00316.32
7.3.140.0060.01416.48
7.3.130.0110.00716.20
7.3.120.0110.00916.14
7.3.110.0060.00916.39
7.3.100.0070.01016.14
7.3.90.0140.00316.14
7.3.80.0090.00416.42
7.3.70.0110.00516.33
7.3.60.0070.01016.08
7.3.50.0030.01716.41
7.3.40.0120.01216.26
7.3.30.0080.01616.20
7.3.20.0130.01016.17
7.3.10.0230.00416.49
7.3.00.0090.01216.22
7.2.340.0300.00016.52
7.2.330.0280.00816.30
7.2.320.0280.00416.65
7.2.310.0240.00816.38
7.2.300.0220.01316.54
7.2.290.0260.00416.59
7.2.280.0290.00816.25
7.2.270.0310.00016.60
7.2.260.0290.00416.49
7.2.250.0220.01116.62
7.2.240.0210.01016.64
7.2.230.0330.00016.45
7.2.220.0200.00816.65
7.2.210.0240.00816.36
7.2.200.0190.00716.36
7.2.190.0290.00016.44
7.2.180.0260.00616.50
7.2.170.0300.00316.40
7.2.160.0220.00616.36
7.2.150.0230.01116.49
7.2.140.0160.01316.48
7.2.130.0250.01116.55
7.2.120.0270.00816.46
7.2.110.0250.00716.46
7.2.100.0290.00516.45
7.2.90.0230.01116.51
7.2.80.0230.02016.22
7.2.70.0270.00516.39
7.2.60.0200.01716.50
7.2.50.0300.00016.54
7.2.40.0330.00316.49
7.2.30.0210.01216.52
7.2.20.0190.01516.42
7.2.10.0320.00716.41
7.2.00.0280.00716.46
7.1.330.0220.00915.48
7.1.320.0180.01415.67
7.1.310.0170.01515.67
7.1.300.0190.00515.46
7.1.290.0250.00415.36
7.1.280.0230.00815.47
7.1.270.0290.00015.79
7.1.260.0240.00915.71
7.1.250.0200.01015.42
7.1.240.0160.01215.38
7.1.230.0260.00615.37
7.1.220.0250.00615.65
7.1.210.0350.00615.48
7.1.200.0180.01515.32
7.1.190.0200.01615.48
7.1.180.0190.00715.29
7.1.170.0260.00315.57
7.1.160.0180.01215.47
7.1.150.0250.00815.51
7.1.140.0250.01015.40
7.1.130.0160.01315.60
7.1.120.0240.00615.58
7.1.110.0850.00715.43
7.1.100.0170.00715.47
7.1.90.0250.00615.40
7.1.80.0200.01015.58
7.1.70.0240.00315.41
7.1.60.0150.01815.48
7.1.50.0160.01215.41
7.1.40.0180.01315.44
7.1.30.0580.01015.57
7.1.20.0190.01515.73
7.1.10.0190.00815.56
7.1.00.0160.01115.30
7.0.330.0140.01115.29
7.0.320.0300.00615.21
7.0.310.0150.00615.12
7.0.300.0220.00815.10
7.0.290.0270.00315.18
7.0.280.0240.00815.08
7.0.270.0220.00715.22
7.0.260.0210.01015.38
7.0.250.0210.00815.16
7.0.240.0170.01315.08
7.0.230.0190.00415.15
7.0.220.0150.01515.07
7.0.210.0190.01115.43
7.0.200.0160.01315.33
7.0.190.0260.00715.30
7.0.180.0180.01315.08
7.0.170.0140.01015.52
7.0.160.0170.01015.25
7.0.150.0180.00915.11
7.0.140.0160.01215.30
7.0.130.0290.00015.05
7.0.120.0220.01515.20
7.0.110.0140.01415.04
7.0.100.0240.00915.08
7.0.90.0130.01315.23
7.0.80.0150.01115.18
7.0.70.0170.01415.34
7.0.60.0250.00915.16
7.0.50.0190.00915.26
7.0.40.0180.01315.14
7.0.30.0230.00015.13
7.0.20.0220.01015.37
7.0.10.0200.00715.32
7.0.00.0210.00815.14
5.6.400.0180.01115.99
5.6.390.0200.01215.86
5.6.380.0180.01415.72
5.6.370.0180.01515.73
5.6.360.0220.00715.89
5.6.350.0170.01715.86
5.6.340.0290.00415.84
5.6.330.0190.01015.85
5.6.320.0210.00815.95
5.6.310.0210.01115.89
5.6.300.0200.00815.88
5.6.290.0130.01315.85
5.6.280.0140.01415.71
5.6.270.0280.00616.08
5.6.260.0260.00915.89
5.6.250.0200.01316.02
5.6.240.0210.01215.98
5.6.230.0130.01315.81
5.6.220.0190.01115.90
5.6.210.0220.01115.85
5.6.200.0220.01115.77
5.6.190.0260.00315.99
5.6.180.0110.02015.55
5.6.170.0160.01115.92
5.6.160.0200.01615.77
5.6.150.0180.01115.84
5.6.140.0220.00415.94
5.6.130.0280.00315.85
5.6.120.0310.00315.64
5.6.110.0270.00315.82
5.6.100.0280.00015.86
5.6.90.0230.00615.57
5.6.80.0140.01415.57
5.6.70.0150.01515.78
5.6.60.0120.01615.69
5.6.50.0210.01015.89
5.6.40.0280.00415.53
5.6.30.0230.00815.75
5.6.20.0230.00615.79
5.6.10.0140.01715.71
5.6.00.0210.00415.61
5.5.380.0160.01615.54
5.5.370.0180.01415.72
5.5.360.0190.01015.82
5.5.350.0250.00815.63
5.5.340.0240.01215.66
5.5.330.0240.00515.53
5.5.320.0210.01015.59
5.5.310.0180.00715.91
5.5.300.0270.00315.63
5.5.290.0150.01215.73
5.5.280.0110.02215.55
5.5.270.0200.01015.79
5.5.260.0170.01415.73
5.5.250.0110.02115.54
5.5.240.0180.01315.70
5.5.230.0210.00915.91
5.5.220.0100.01715.64
5.5.210.0140.01415.39
5.5.200.0180.00915.69
5.5.190.0260.00915.77
5.5.180.0180.01515.55
5.5.170.0210.00915.80
5.5.160.0200.01015.89
5.5.150.0190.00815.69
5.5.140.0170.00915.82
5.5.130.0220.00815.88
5.5.120.0190.00915.61
5.5.110.0210.00915.62
5.5.100.0230.01115.55
5.5.90.0210.01015.46
5.5.80.0140.01715.50
5.5.70.0160.01615.91
5.5.60.0210.00715.76
5.5.50.0130.01715.55
5.5.40.0200.01215.71
5.5.30.0220.00515.62
5.5.20.0200.00815.62
5.5.10.0210.00315.55
5.5.00.0160.01315.42
5.4.450.0190.00812.48
5.4.440.0120.01612.70
5.4.430.0120.00912.37
5.4.420.0080.01212.48
5.4.410.0180.00312.66
5.4.400.0200.00312.50
5.4.390.0060.01112.39
5.4.380.0190.00312.66
5.4.370.0120.00612.32
5.4.360.0130.00712.52
5.4.350.0120.01212.48
5.4.340.0170.00612.42
5.4.330.0130.00512.56
5.4.320.0190.00312.66
5.4.310.0180.00312.44
5.4.300.0160.00412.36
5.4.290.0120.00612.44
5.4.280.0110.01112.41
5.4.270.0150.00912.28
5.4.260.0190.00612.45
5.4.250.0090.01412.63
5.4.240.0120.00612.49
5.4.230.0130.00812.61
5.4.220.0220.00612.44
5.4.210.0170.00312.49
5.4.200.0120.01212.39
5.4.190.0200.01212.36
5.4.180.0130.00712.43
5.4.170.0160.00612.66
5.4.160.0110.01412.53
5.4.150.0190.00412.47
5.4.140.0170.00712.38
5.4.130.0140.00712.48
5.4.120.0150.00312.40
5.4.110.0130.00812.51
5.4.100.0090.01212.47
5.4.90.0130.00812.63
5.4.80.0090.01012.56
5.4.70.0140.00712.51
5.4.60.0190.01112.48
5.4.50.0180.00312.59
5.4.40.0210.00312.52
5.4.30.0170.00312.57
5.4.20.0150.00912.46
5.4.10.0180.00412.45
5.4.00.0130.00812.56
5.3.290.0140.00912.96
5.3.280.0070.01512.82
5.3.270.0160.00813.07
5.3.260.0120.01313.18
5.3.250.0110.00812.96
5.3.240.0450.00012.80
5.3.230.0070.01112.95
5.3.220.0150.00612.95
5.3.210.0160.01312.97
5.3.200.0140.01412.96
5.3.190.0150.00912.88
5.3.180.0160.00313.08
5.3.170.0180.00612.91
5.3.160.0150.00913.05
5.3.150.0180.00613.20
5.3.140.0150.01113.09
5.3.130.0160.00812.93
5.3.120.0130.00912.91
5.3.110.0140.00712.94
5.3.100.0170.00312.94
5.3.90.0160.00312.89
5.3.80.0230.00012.90
5.3.70.0130.00712.82
5.3.60.0040.01312.98
5.3.50.0130.00713.16
5.3.40.0120.01213.14
5.3.30.0200.00712.99
5.3.20.0170.00512.80
5.3.10.0140.01012.65
5.3.00.0210.00712.71
5.2.170.0080.00812.18
5.2.160.0170.00212.03
5.2.150.0100.00712.16
5.2.140.0090.00912.10
5.2.130.0160.00512.06
5.2.120.0090.01012.14
5.2.110.0080.01112.03
5.2.100.0100.00712.01
5.2.90.0100.01011.95
5.2.80.0190.00311.86
5.2.70.0060.01211.82
5.2.60.0160.00511.87
5.2.50.0150.00411.96
5.2.40.0120.00411.92
5.2.30.0110.00811.94
5.2.20.0130.00612.03
5.2.10.0080.00811.68
5.2.00.0100.00811.90
5.1.60.0150.00611.64
5.1.50.0090.00511.64
5.1.40.0060.00911.64
5.1.30.0110.00711.64
5.1.20.0110.00411.64
5.1.10.0080.00811.64
5.1.00.0130.00411.64
5.0.50.0000.01211.64
5.0.40.0110.00411.64
5.0.30.0130.00311.64
5.0.20.0090.00311.64
5.0.10.0120.00211.64
5.0.00.0110.00411.64
4.4.90.0050.00511.64
4.4.80.0040.00711.64
4.4.70.0040.00211.64
4.4.60.0080.00411.64
4.4.50.0080.00011.64
4.4.40.0110.00011.64
4.4.30.0090.00011.64
4.4.20.0110.00011.64
4.4.10.0050.00311.64
4.4.00.0050.00511.64
4.3.110.0050.00211.64
4.3.100.0060.00211.64
4.3.90.0120.00011.64
4.3.80.0050.00511.64
4.3.70.0080.00311.64
4.3.60.0090.00011.64
4.3.50.0040.00411.64
4.3.40.0050.00511.64
4.3.30.0060.00611.64
4.3.20.0080.00011.64
4.3.10.0040.00411.64
4.3.00.0060.00211.64

preferences:
18.56 ms | 403 KiB | 5 Q