3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( 8.75 * 3600 ); var_dump( 8.75 * 3600.00 ); define( 'HOUR_IN_SECONDS', 60 * 60 ); $gmt_offset = '8.75'; $num = (float) $gmt_offset * HOUR_IN_SECONDS; var_dump( $num, (int) $num );

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.0100.01019.53
8.4.10.0110.00819.29
8.3.150.0080.00016.36
8.3.140.0080.00016.45
8.3.130.0060.00316.63
8.3.120.0030.00620.73
8.3.110.0110.00818.34
8.3.100.0160.00318.19
8.3.90.0200.00018.14
8.3.80.0190.00016.50
8.3.70.0070.01118.30
8.3.60.0130.00716.63
8.3.50.0070.01316.38
8.3.40.0150.00617.50
8.3.30.0130.00717.38
8.3.20.0070.01617.50
8.3.10.0060.00317.50
8.3.00.0000.00817.50
8.2.270.0150.00316.36
8.2.260.0110.00316.27
8.2.250.0080.00016.73
8.2.240.0060.00318.85
8.2.230.0040.00416.44
8.2.220.0150.00016.33
8.2.210.0100.00316.65
8.2.200.0110.00716.63
8.2.190.0120.00018.41
8.2.180.0100.00016.38
8.2.170.0080.00317.50
8.2.160.0060.00317.72
8.2.150.0000.00817.63
8.2.140.0000.00817.63
8.2.130.0100.00017.50
8.2.120.0000.00917.50
8.2.110.0060.00317.50
8.2.100.0060.00319.23
8.2.90.0030.00619.23
8.2.80.0090.00019.11
8.2.70.0100.00017.43
8.2.60.0030.00617.25
8.2.50.0060.00317.50
8.2.40.0090.00017.50
8.2.30.0060.00317.50
8.2.20.0060.00317.38
8.2.10.0090.00017.75
8.2.00.0060.00317.62
8.1.310.0090.00916.27
8.1.300.0060.00916.59
8.1.290.0040.00416.00
8.1.280.0060.00316.00
8.1.270.0090.00017.47
8.1.260.0100.00017.25
8.1.250.0060.00317.36
8.1.240.0040.00417.35
8.1.230.0050.00317.36
8.1.220.0030.00617.48
8.1.210.0080.00017.11
8.1.200.0030.00317.23
8.1.190.0060.00318.89
8.1.180.0060.00319.01
8.1.170.0090.00019.13
8.1.160.0040.00417.22
8.1.150.0040.00417.13
8.1.140.0040.00417.22
8.1.130.0040.00417.35
8.1.120.0050.00317.22
8.1.110.0060.00317.35
8.1.100.0040.00417.35
8.1.90.0040.00417.35
8.1.80.0080.00017.22
8.1.70.0080.00017.23
8.1.60.0090.00017.47
8.1.50.0060.00317.35
8.1.40.0060.00317.47
8.1.30.0060.00317.60
8.1.20.0080.00017.47
8.1.10.0040.00417.25
8.1.00.0080.00017.22
8.0.300.0110.00716.50
8.0.290.0150.00316.50
8.0.280.0180.00016.63
8.0.270.0340.00916.38
8.0.260.0310.01116.38
8.0.250.0360.00716.75
8.0.240.0340.00716.38
8.0.230.0400.00716.63
8.0.220.0360.00316.50
8.0.210.0280.01416.50
8.0.200.0290.00316.38
8.0.190.0140.00416.63
8.0.180.0210.00016.25
8.0.170.0180.00016.63
8.0.160.0210.00816.13
8.0.150.0280.00616.50
8.0.140.0330.00716.38
8.0.130.0280.01116.50
8.0.120.0290.00716.38
8.0.110.0280.00316.63
8.0.100.0280.00316.50
8.0.90.0290.00316.63
8.0.80.0230.00916.50
8.0.70.0310.00716.50
8.0.60.0310.00316.63
8.0.50.0230.01216.38
8.0.30.0250.00816.50
8.0.20.0130.00416.74
8.0.10.0280.00316.75
8.0.00.0260.01016.75
7.4.330.0150.00416.38
7.4.320.0310.00016.25
7.4.300.0220.00716.25
7.4.290.0310.00616.25
7.4.280.0300.00716.13
7.4.270.0260.01116.38
7.4.260.0320.00616.25
7.4.250.0280.01416.13
7.4.240.0260.01116.00
7.4.230.0330.00416.13
7.4.220.0340.00016.00
7.4.210.0230.00816.13
7.4.200.0250.00416.25
7.4.190.0200.00816.25
7.4.180.0080.00816.10
7.4.160.0150.00816.25
7.4.150.0180.00016.25
7.4.140.0180.00715.88
7.4.130.0120.00815.99
7.4.120.0120.00616.25
7.4.110.0230.00616.00
7.4.100.0120.00416.24
7.4.90.0110.00516.25
7.4.80.0130.00316.13
7.4.70.0140.00916.00
7.4.60.0160.00316.25
7.4.50.0080.00816.25
7.4.40.0180.00016.12
7.4.30.0170.00316.25
7.4.20.0160.00016.00
7.4.10.0170.00316.25
7.4.00.0260.00416.00
7.3.330.0080.00816.00
7.3.320.0120.00415.88
7.3.310.0050.01016.13
7.3.300.0080.00816.00
7.3.290.0160.00016.00
7.3.280.0160.00015.87
7.3.270.0120.00416.13
7.3.260.0240.00016.13
7.3.250.0120.00515.88
7.3.240.0200.00015.88
7.3.230.0240.00515.87
7.3.220.0330.00315.88
7.3.210.0310.00515.88
7.3.200.0230.01315.88
7.3.190.0320.00015.88
7.3.180.0330.00316.00
7.3.170.0280.00815.75
7.3.160.0290.00716.00
7.3.150.0320.00615.75
7.3.140.0300.00916.09
7.3.130.0280.00416.00
7.3.120.0290.00015.88
7.3.110.0280.01015.88
7.3.100.0310.00415.75
7.3.90.0160.00016.25
7.3.80.0300.00015.88
7.3.70.0160.00016.00
7.3.60.0130.00316.00
7.3.50.0160.00016.13
7.3.40.0130.00316.12
7.3.30.0120.00416.12
7.3.20.0130.00317.89
7.3.10.0150.00017.97
7.3.00.0270.00017.61
7.2.340.0220.00415.50
7.2.330.0180.00915.73
7.2.320.0300.00415.75
7.2.310.0270.00815.63
7.2.300.0180.01815.75
7.2.290.0220.01315.75
7.2.280.0210.01315.88
7.2.270.0240.01115.88
7.2.260.0330.00415.88
7.2.250.0350.00515.63
7.2.240.0250.01015.88
7.2.230.0280.00615.75
7.2.220.0230.01315.63
7.2.210.0280.00815.88
7.2.200.0290.00715.86
7.2.190.0310.00416.11
7.2.180.0280.00616.13
7.2.170.0290.00616.13
7.2.160.0220.01315.88
7.2.150.0250.01117.94
7.2.140.0230.00617.75
7.2.130.0190.00617.93
7.2.120.0190.00718.13
7.2.110.0180.00717.75
7.2.100.0150.00318.13
7.2.90.0210.00717.63
7.2.80.0090.00617.88
7.2.70.0070.00718.13
7.2.60.0190.01217.88
7.2.50.0230.00418.14
7.2.40.0130.00718.13
7.2.30.0160.00317.89
7.2.20.0120.00317.88
7.2.10.0110.00418.01
7.2.00.0100.00318.01
7.1.330.0040.00816.87
7.1.320.0090.00317.00
7.1.310.0150.01216.87
7.1.300.0140.00017.15
7.1.290.0260.00016.99
7.1.280.0200.00717.07
7.1.270.0180.00717.19
7.1.260.0130.01317.11
7.1.250.0230.00317.02
7.1.240.0280.00316.94
7.1.230.0200.00616.98
7.1.220.0190.00816.94
7.1.210.0200.00916.81
7.1.200.0200.00817.04
7.1.190.0130.01317.11
7.1.180.0220.00416.98
7.1.170.0250.00616.98
7.1.160.0280.00316.86
7.1.150.0210.00817.11
7.1.140.0250.00616.81
7.1.130.0160.01016.86
7.1.120.0130.00816.86
7.1.110.0100.00616.87
7.1.100.0300.00016.95
7.1.90.0360.00016.90
7.1.80.0280.00316.77
7.1.70.0280.00316.87
7.1.60.0180.00716.85
7.1.50.0270.00417.12
7.1.40.0280.00317.11
7.1.30.0250.00616.78
7.1.20.0330.00616.89
7.1.10.0290.00316.78
7.1.00.0220.00916.82
7.0.330.0310.00016.64
7.0.320.0250.00616.48
7.0.310.0280.00316.73
7.0.300.0180.01216.69
7.0.290.0260.00416.93
7.0.280.0240.00716.73
7.0.270.0300.00016.73
7.0.260.0200.01016.74
7.0.250.0170.01417.12
7.0.240.0290.00016.87
7.0.230.0230.00816.64
7.0.220.0280.00316.95
7.0.210.0250.00616.62
7.0.200.0190.00617.11
7.0.190.0220.00416.57
7.0.180.0280.01017.00
7.0.170.0240.00717.12
7.0.160.0260.00316.62
7.0.150.0190.00616.82
7.0.140.0260.00016.74
7.0.130.0170.00716.87
7.0.120.0110.01416.74
7.0.110.0200.00416.78
7.0.100.0190.01016.74
7.0.90.0230.00316.83
7.0.80.0180.00816.58
7.0.70.0310.00016.75
7.0.60.0220.00316.65
7.0.50.0240.00716.58
7.0.40.0310.00316.58
7.0.30.0270.00316.64
7.0.20.0310.00016.90
7.0.10.0240.00716.75
7.0.00.0270.00416.32
5.6.400.0210.01015.63
5.6.390.0270.00715.75
5.6.380.0270.00815.50
5.6.370.0230.01115.63
5.6.360.0300.00315.50
5.6.350.0270.00815.38
5.6.340.0230.00915.38
5.6.330.0190.01315.50
5.6.320.0270.00415.50
5.6.310.0230.00815.75
5.6.300.0250.00415.50
5.6.290.0260.00415.63
5.6.280.0220.00415.50
5.6.270.0270.00615.50
5.6.260.0310.00015.50
5.6.250.0250.00615.63
5.6.240.0200.01115.50
5.6.230.0200.01215.75
5.6.220.0200.01215.63
5.6.210.0270.00415.50
5.6.200.0270.00415.75
5.6.190.0240.00715.88
5.6.180.0220.00315.63
5.6.170.0210.01215.50
5.6.160.0100.00615.75
5.6.150.0210.00415.50
5.6.140.0140.00015.63
5.6.130.0140.00415.75
5.6.120.0240.00815.63
5.6.110.0260.00015.50
5.6.100.0280.00415.25
5.6.90.0220.01015.63
5.6.80.0260.00615.50
5.6.70.0190.01115.63
5.6.60.0240.00815.75
5.6.50.0260.00415.38
5.6.40.0240.00615.50
5.6.30.0240.00715.50
5.6.20.0310.00015.25
5.6.10.0190.01115.75
5.6.00.0240.00715.38
5.5.380.0210.01115.50
5.5.370.0280.00315.50
5.5.360.0250.00615.63
5.5.350.0260.00615.63
5.5.340.0240.00815.50
5.5.330.0310.00415.38
5.5.320.0380.00015.38
5.5.310.0190.00615.38
5.5.300.0160.01215.25
5.5.290.0230.00315.25
5.5.280.0300.00315.38
5.5.270.0200.01115.38
5.5.260.0280.00415.63
5.5.250.0320.00015.50
5.5.240.0240.00515.50
5.5.230.0210.01015.75
5.5.220.0260.00915.50
5.5.210.0220.00915.38
5.5.200.0260.00415.50
5.5.190.0190.00815.63
5.5.180.0240.00015.63
5.5.170.0120.01215.50
5.5.160.0200.01015.38
5.5.150.0300.00015.13
5.5.140.0230.00715.50
5.5.130.0150.01215.50
5.5.120.0190.01115.13
5.5.110.0220.00415.25
5.5.100.0240.00015.88
5.5.90.0250.00815.75
5.5.80.0210.00315.50
5.5.70.0120.00415.50
5.5.60.0180.00315.25
5.5.50.0170.00415.50
5.5.40.0210.00315.63
5.5.30.0160.00815.50
5.5.20.0240.00015.63
5.5.10.0100.00315.50
5.5.00.0100.00315.63
5.4.450.0170.00014.46
5.4.440.0070.00414.46
5.4.430.0160.00814.46
5.4.420.0240.00014.46
5.4.410.0120.01214.46
5.4.400.0240.00014.46
5.4.390.0200.00414.46
5.4.380.0170.00314.46
5.4.370.0170.00714.46
5.4.360.0200.00314.46
5.4.350.0120.00814.46
5.4.340.0180.00614.46
5.4.330.0220.00414.46
5.4.320.0240.00014.46
5.4.310.0140.01114.46
5.4.300.0220.00314.46
5.4.290.0240.00314.46
5.4.280.0230.00314.46
5.4.270.0160.01014.46
5.4.260.0190.00714.46
5.4.250.0270.00014.46
5.4.240.0190.00514.46
5.4.230.0150.00414.46
5.4.220.0150.00814.46
5.4.210.0160.00814.46
5.4.200.0080.01214.46
5.4.190.0170.00714.46
5.4.180.0190.00414.46
5.4.170.0140.00614.46
5.4.160.0160.00314.46
5.4.150.0140.00314.46
5.4.140.0090.00314.46
5.4.130.0040.00814.46
5.4.120.0200.00014.46
5.4.110.0230.00014.46
5.4.100.0150.00814.46
5.4.90.0150.00414.46
5.4.80.0210.00314.46
5.4.70.0190.00414.46
5.4.60.0150.00414.46
5.4.50.0180.00714.46
5.4.40.0160.00314.46
5.4.30.0170.00714.46
5.4.20.0160.00814.46
5.4.10.0200.00714.46
5.4.00.0130.00514.46
5.3.290.0160.00414.46
5.3.280.0250.00014.46
5.3.270.0240.00014.46
5.3.260.0150.00014.46
5.3.250.0130.00314.46
5.3.240.0120.01214.46
5.3.230.0150.00914.46
5.3.220.0180.01114.46
5.3.210.0180.00314.46
5.3.200.0090.00314.46
5.3.190.0080.00414.46
5.3.180.0160.00014.46
5.3.170.0070.00514.46
5.3.160.0090.00614.46
5.3.150.0040.01114.46
5.3.140.0060.00614.46
5.3.130.0110.00014.46
5.3.120.0110.00014.46
5.3.110.0110.00014.46
5.3.100.0100.00314.46
5.3.90.0110.00014.46
5.3.80.0050.00514.46
5.3.70.0050.00514.46
5.3.60.0120.00814.46
5.3.50.0190.00414.46
5.3.40.0160.00814.46
5.3.30.0160.00614.46
5.3.20.0090.00914.46
5.3.10.0190.00414.46
5.3.00.0130.01014.46
5.2.170.0100.01014.46
5.2.160.0110.00814.46
5.2.150.0160.00314.46
5.2.140.0240.00414.46
5.2.130.0150.00514.46
5.2.120.0180.00314.46
5.2.110.0190.00014.46
5.2.100.0170.00314.46
5.2.90.0120.00814.46
5.2.80.0110.00714.46
5.2.70.0150.00414.46
5.2.60.0150.00514.46
5.2.50.0160.00414.46
5.2.40.0150.00414.46
5.2.30.0080.00814.46
5.2.20.0160.00014.46
5.2.10.0120.00414.46
5.2.00.0080.00814.46
5.1.60.0110.00314.46
5.1.50.0090.00514.46
5.1.40.0050.00914.46
5.1.30.0090.00914.46
5.1.20.0150.00314.46
5.1.10.0140.00314.46
5.1.00.0080.00814.46
5.0.50.0040.00814.46
5.0.40.0050.00914.46
5.0.30.0060.00614.46
5.0.20.0090.00314.46
5.0.10.0060.00614.46
5.0.00.0070.00714.46
4.4.90.0090.00014.46
4.4.80.0090.00014.46
4.4.70.0000.00814.46
4.4.60.0050.00514.46
4.4.50.0070.00214.46
4.4.40.0090.00014.46
4.4.30.0090.00014.46
4.4.20.0090.00014.46
4.4.10.0070.00214.46
4.4.00.0090.00014.46
4.3.110.0080.00014.46
4.3.100.0040.00414.46
4.3.90.0090.00014.46
4.3.80.0080.00014.46
4.3.70.0040.00414.46
4.3.60.0080.00014.46
4.3.50.0090.00014.46
4.3.40.0080.00014.46
4.3.30.0000.00714.46
4.3.20.0070.00014.46
4.3.10.0070.00014.46
4.3.00.0050.00214.46

preferences:
48.29 ms | 403 KiB | 5 Q