3v4l.org

run code in 300+ PHP versions simultaneously
<?php #declare(strict_types=1); class Foo { public static function isItInt(integer $i) { var_dump(is_int($i)); } } Foo::isItInt("1");

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.01216.75
8.3.50.0090.01021.04
8.3.40.0180.00318.80
8.3.30.0040.01118.52
8.3.20.0070.00020.07
8.3.10.0080.00023.47
8.3.00.0030.00523.66
8.2.180.0040.01116.63
8.2.170.0070.00722.96
8.2.160.0070.00720.35
8.2.150.0050.00324.18
8.2.140.0030.00624.66
8.2.130.0040.00419.58
8.2.120.0080.00026.35
8.2.110.0030.00621.05
8.2.100.0070.00417.72
8.2.90.0060.00318.95
8.2.80.0050.00317.97
8.2.70.0000.00817.38
8.2.60.0040.00417.93
8.2.50.0050.00318.10
8.2.40.0090.00022.23
8.2.30.0030.00319.43
8.2.20.0040.00417.73
8.2.10.0000.00818.04
8.2.00.0040.00417.86
8.1.280.0120.00625.92
8.1.270.0060.00323.97
8.1.260.0000.00728.09
8.1.250.0040.00428.09
8.1.240.0030.00623.84
8.1.230.0090.00319.36
8.1.220.0000.00817.74
8.1.210.0030.00518.77
8.1.200.0000.00917.11
8.1.190.0040.00417.23
8.1.180.0030.00518.10
8.1.170.0050.00318.66
8.1.160.0000.00820.61
8.1.150.0040.00418.75
8.1.140.0040.00419.54
8.1.130.0000.00717.58
8.1.120.0040.00417.37
8.1.110.0000.00717.32
8.1.100.0040.00417.36
8.1.90.0040.00417.30
8.1.80.0000.00817.24
8.1.70.0000.00717.21
8.1.60.0040.00417.47
8.1.50.0000.00817.34
8.1.40.0080.00017.35
8.1.30.0110.00017.41
8.1.20.0040.00417.55
8.1.10.0040.00417.48
8.1.00.0000.00817.32
8.0.300.0040.00418.77
8.0.290.0080.00016.75
8.0.280.0040.00418.32
8.0.270.0000.00817.17
8.0.260.0000.00817.25
8.0.250.0000.00716.98
8.0.240.0050.00316.91
8.0.230.0000.00716.96
8.0.220.0000.00816.82
8.0.210.0040.00416.76
8.0.200.0000.00716.87
8.0.190.0000.00816.98
8.0.180.0040.00416.93
8.0.170.0040.00416.81
8.0.160.0080.00016.88
8.0.150.0000.00716.82
8.0.140.0000.00816.88
8.0.130.0060.00013.36
8.0.120.0080.00016.84
8.0.110.0000.00816.93
8.0.100.0020.00516.77
8.0.90.0080.00016.81
8.0.80.0160.00616.86
8.0.70.0000.00716.92
8.0.60.0070.00016.84
8.0.50.0040.00316.71
8.0.30.0100.00816.97
8.0.20.0100.01117.40
8.0.10.0050.00216.89
8.0.00.0050.01316.69
7.4.330.0020.00216.84
7.4.320.0070.00016.29
7.4.300.0040.00416.55
7.4.290.0000.00716.48
7.4.280.0090.00016.42
7.4.270.0000.00616.45
7.4.260.0030.00316.56
7.4.250.0050.00216.53
7.4.240.0030.00316.41
7.4.230.0040.00416.43
7.4.220.0070.01616.39
7.4.210.0080.01116.50
7.4.200.0030.00316.45
7.4.160.0100.00516.44
7.4.150.0030.01417.40
7.4.140.0070.01617.86
7.4.130.0150.00316.47
7.4.120.0160.00516.54
7.4.110.0100.00716.50
7.4.100.0100.00716.52
7.4.90.0110.00616.38
7.4.80.0130.01019.39
7.4.70.0130.00316.41
7.4.60.0060.01016.40
7.4.50.0030.01016.23
7.4.40.0130.00316.46
7.4.30.0100.00916.61
7.4.00.0070.00714.68
7.3.330.0000.00513.28
7.3.320.0030.00313.36
7.3.310.0040.00416.28
7.3.300.0030.00316.27
7.3.290.0000.00616.42
7.3.280.0090.01016.35
7.3.270.0110.00717.40
7.3.260.0110.00616.36
7.3.250.0060.01216.43
7.3.240.0030.01316.38
7.3.230.0100.00916.39
7.3.210.0110.00616.41
7.3.200.0110.00919.39
7.3.190.0140.00416.21
7.3.180.0100.01016.33
7.3.170.0060.01016.66
7.3.160.0000.01516.43
7.2.330.0150.00616.47
7.2.320.0180.00716.56
7.2.310.0140.00316.64
7.2.300.0130.00916.43
7.2.290.0090.00916.61
7.2.60.0090.00016.71
7.2.00.0090.00619.43
7.1.200.0090.00615.58
7.1.100.0150.00018.00
7.1.70.0020.00516.83
7.1.60.0000.01419.30
7.1.50.0090.01216.70
7.1.00.0030.07722.45
7.0.200.1800.01014.69
7.0.60.0130.07721.72
7.0.50.0070.04017.84
7.0.40.0070.04320.38
7.0.30.0200.05020.16
7.0.20.0230.08720.21
7.0.10.0070.08020.33
7.0.00.0070.06020.05
5.6.280.0070.03021.10
5.6.210.0030.04020.51
5.6.200.0200.03018.18
5.6.190.0100.07720.61
5.6.180.0430.06320.66
5.6.170.0370.07720.55
5.6.160.0000.05020.48
5.6.150.0100.07318.18
5.6.140.0000.04318.18
5.6.130.0070.06318.28
5.6.120.0070.04021.12
5.6.110.0100.07021.09
5.6.100.0130.07721.00
5.6.90.0000.06021.02
5.6.80.0100.08320.51
5.5.350.0100.04020.34
5.5.340.0170.05317.92
5.5.330.0070.04720.25
5.5.320.0530.04320.30
5.5.310.0230.04320.27
5.5.300.0030.04017.92
5.5.290.0100.06718.08
5.5.280.0070.08720.80
5.5.270.0100.08020.86
5.5.260.0200.07020.73
5.5.250.0030.04720.69
5.5.240.0200.06020.05

preferences:
48.51 ms | 401 KiB | 5 Q