3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test(int $number) { echo $number; } test(3.4);

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.00418.56
8.3.50.0100.01016.61
8.3.40.0070.00718.78
8.3.30.0120.00418.84
8.3.20.0040.00420.24
8.3.10.0040.00421.73
8.3.00.0050.00317.80
8.2.180.0100.01018.54
8.2.170.0150.00322.96
8.2.160.0070.00720.89
8.2.150.0050.00324.18
8.2.140.0000.00724.66
8.2.130.0070.00020.35
8.2.120.0000.00826.35
8.2.110.0030.00621.12
8.2.100.0030.00918.21
8.2.90.0000.00819.13
8.2.80.0000.00817.97
8.2.70.0000.00817.50
8.2.60.0040.00417.91
8.2.50.0000.00918.10
8.2.40.0000.00720.46
8.2.30.0040.00419.05
8.2.20.0040.00418.04
8.2.10.0070.00018.11
8.2.00.0030.00518.22
8.1.280.0120.00625.92
8.1.270.0110.00624.05
8.1.260.0030.00526.35
8.1.250.0060.00328.09
8.1.240.0030.00623.76
8.1.230.0120.00018.97
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0090.00017.36
8.1.190.0080.00017.23
8.1.180.0030.00518.10
8.1.170.0040.00418.53
8.1.160.0000.00718.67
8.1.150.0070.00020.05
8.1.140.0040.00419.42
8.1.130.0000.00718.93
8.1.120.0040.00417.36
8.1.110.0040.00417.33
8.1.100.0000.00817.30
8.1.90.0070.00017.26
8.1.80.0040.00417.23
8.1.70.0040.00417.20
8.1.60.0060.00317.39
8.1.50.0030.00517.48
8.1.40.0040.00417.46
8.1.30.0040.00417.49
8.1.20.0060.00317.54
8.1.10.0070.00017.47
8.1.00.0070.00017.31
8.0.300.0000.00818.77
8.0.290.0040.00416.63
8.0.280.0020.00518.34
8.0.270.0080.00017.12
8.0.260.0070.00018.91
8.0.250.0070.00317.03
8.0.240.0070.00016.97
8.0.230.0040.00216.85
8.0.220.0000.00816.82
8.0.210.0030.00316.78
8.0.200.0040.00416.98
8.0.190.0040.00416.91
8.0.180.0000.00816.95
8.0.170.0030.00716.89
8.0.160.0070.00016.77
8.0.150.0070.00016.73
8.0.140.0030.00416.78
8.0.130.0060.00013.30
8.0.120.0050.00316.77
8.0.110.0030.00516.84
8.0.100.0040.00416.91
8.0.90.0080.00016.99
8.0.80.0080.01216.84
8.0.70.0060.00316.83
8.0.60.0000.00916.87
8.0.50.0040.00416.75
8.0.30.0090.00816.97
8.0.20.0090.01017.40
8.0.10.0080.00016.98
8.0.00.0060.01316.87
7.4.330.0000.00515.55
7.4.320.0060.00016.36
7.4.300.0000.00716.50
7.4.290.0000.00716.54
7.4.280.0060.00316.56
7.4.270.0050.00316.53
7.4.260.0070.00316.50
7.4.250.0030.00316.38
7.4.240.0060.00316.52
7.4.230.0000.00716.50
7.4.220.0130.00616.38
7.4.210.0060.01016.42
7.4.200.0000.00716.41
7.4.160.0080.00716.48
7.4.150.0130.01017.40
7.4.140.0090.01017.86
7.4.130.0070.01016.47
7.4.120.0100.01116.41
7.4.110.0030.01516.41
7.4.100.0000.01716.41
7.4.90.0100.00716.52
7.4.80.0060.01819.39
7.4.70.0090.01216.32
7.4.60.0080.00816.55
7.4.50.0070.01016.54
7.4.40.0060.01016.63
7.4.30.0150.00316.26
7.4.00.0090.00815.07
7.3.330.0000.00613.10
7.3.320.0000.00513.30
7.3.310.0050.00216.25
7.3.300.0000.00716.16
7.3.290.0030.00316.24
7.3.280.0070.00916.30
7.3.270.0060.01017.40
7.3.260.0130.01216.45
7.3.250.0110.00816.47
7.3.240.0130.00816.45
7.3.230.0100.00716.44
7.3.210.0090.01316.32
7.3.200.0030.01516.35
7.3.190.0140.00416.25
7.3.180.0070.01316.34
7.3.170.0130.00716.61
7.3.160.0100.01316.29
7.3.120.0100.00514.83
7.3.110.0090.00614.80
7.3.100.0070.01014.93
7.3.90.0070.00714.84
7.3.80.0030.01014.74
7.3.70.0060.01014.91
7.3.60.0100.00714.72
7.3.50.0000.00914.87
7.3.40.0000.01414.64
7.3.30.0070.00414.94
7.3.20.0070.01016.71
7.3.10.0030.01316.61
7.3.00.0000.01216.48
7.2.330.0110.00716.32
7.2.320.0090.00916.69
7.2.310.0120.00616.63
7.2.300.0090.00916.17
7.2.290.0060.01016.63
7.2.250.0110.00714.83
7.2.240.0100.01014.80
7.2.230.0000.01514.99
7.2.220.0060.00614.63
7.2.210.0090.00315.16
7.2.200.0060.00914.66
7.2.190.0070.01114.92
7.2.180.0110.00414.93
7.2.170.0030.00915.02
7.2.110.0230.01316.20
7.2.60.0070.00716.54
7.2.00.0030.00919.01
7.1.330.0030.01415.78
7.1.320.0140.00015.57
7.1.310.0030.00816.01
7.1.300.0110.00315.66
7.1.290.0040.00815.88
7.1.280.0030.00915.83
7.1.270.0070.00715.65
7.1.260.0090.00615.70
7.1.200.0130.00015.72
7.1.70.0450.01215.36
7.1.60.0460.01315.34
7.1.50.0500.00415.14
7.1.40.0430.00714.80
7.1.30.0420.01314.89
7.1.20.0570.00414.72
7.1.10.0460.01014.88
7.1.00.0580.01014.81
7.0.200.0440.00614.93
7.0.190.0610.00714.97
7.0.180.0520.00314.39
7.0.170.0470.01114.30
7.0.160.0560.00014.50
7.0.150.9620.00714.52
7.0.140.0690.00014.46
7.0.130.0510.00614.64
7.0.120.0570.00714.35
7.0.110.0620.00714.39
7.0.100.0490.00714.13
7.0.90.0500.01114.38
7.0.80.0640.01414.43
7.0.70.0910.01114.33
7.0.60.0590.00714.09
7.0.50.0560.00714.42
7.0.40.0140.00014.20
7.0.30.0070.00414.55
7.0.20.0070.00914.16
7.0.10.0000.01314.15
7.0.00.0060.00614.29

preferences:
79.68 ms | 401 KiB | 5 Q