3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public static function isItInt(string $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.0060.00916.75
8.3.50.0120.00921.21
8.3.40.0070.01418.59
8.3.30.0070.00718.62
8.3.20.0080.00020.04
8.3.10.0080.00021.77
8.3.00.0030.00623.53
8.2.180.0070.01018.18
8.2.170.0140.00322.96
8.2.160.0070.00720.52
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00019.57
8.2.120.0070.00026.35
8.2.110.0060.00320.88
8.2.100.0110.00017.80
8.2.90.0000.00918.97
8.2.80.0030.00517.97
8.2.70.0030.00617.48
8.2.60.0040.00417.92
8.2.50.0070.00318.07
8.2.40.0090.00020.43
8.2.30.0040.00419.26
8.2.20.0000.00717.54
8.2.10.0040.00417.90
8.2.00.0050.00217.92
8.1.280.0100.00625.92
8.1.270.0120.00623.98
8.1.260.0070.00028.09
8.1.250.0040.00428.09
8.1.240.0070.00322.34
8.1.230.0110.00019.02
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0050.00317.10
8.1.180.0000.00818.10
8.1.170.0040.00418.62
8.1.160.0000.00820.50
8.1.150.0040.00418.63
8.1.140.0030.00619.32
8.1.130.0070.00017.56
8.1.120.0000.00717.29
8.1.110.0040.00417.28
8.1.100.0000.00717.26
8.1.90.0040.00417.32
8.1.80.0000.00717.38
8.1.70.0030.00317.30
8.1.60.0000.00717.41
8.1.50.0050.00317.51
8.1.40.0040.00417.48
8.1.30.0030.00517.55
8.1.20.0000.00817.55
8.1.10.0040.00417.49
8.1.00.0050.00217.34
8.0.300.0070.00018.77
8.0.290.0040.00416.63
8.0.280.0000.00718.36
8.0.270.0030.00317.05
8.0.260.0030.00317.18
8.0.250.0070.00016.84
8.0.240.0070.00016.89
8.0.230.0070.00016.89
8.0.220.0040.00716.72
8.0.210.0030.00316.84
8.0.200.0000.00616.86
8.0.190.0040.00416.77
8.0.180.0000.00716.87
8.0.170.0000.00816.82
8.0.160.0000.00716.73
8.0.150.0000.00716.63
8.0.140.0000.00816.74
8.0.130.0030.00313.14
8.0.120.0040.00416.58
8.0.110.0060.00316.59
8.0.100.0000.00816.71
8.0.90.0040.00416.80
8.0.80.0170.00416.76
8.0.70.0040.00416.81
8.0.60.0050.00316.82
8.0.50.0050.00216.66
8.0.30.0060.00916.74
8.0.20.0110.01017.40
8.0.10.0040.00416.82
8.0.00.0100.00816.54
7.4.330.0050.00016.85
7.4.320.0030.00316.27
7.4.300.0000.00816.35
7.4.290.0000.00716.48
7.4.280.0000.01016.43
7.4.270.0030.00316.38
7.4.260.0000.00716.37
7.4.250.0000.00716.40
7.4.240.0030.00416.50
7.4.230.0030.00316.55
7.4.220.0060.01216.47
7.4.210.0110.00316.55
7.4.200.0030.00316.62
7.4.160.0100.00616.23
7.4.150.0060.01217.40
7.4.140.0080.01017.86
7.4.130.0090.01116.36
7.4.120.0110.00916.44
7.4.110.0140.00416.36
7.4.100.0030.01516.39
7.4.90.0100.01316.44
7.4.80.0060.01219.39
7.4.70.0130.00616.55
7.4.60.0060.01016.34
7.4.50.0090.00616.43
7.4.40.0080.00816.29
7.4.30.0060.01216.53
7.4.00.0030.01414.96
7.3.330.0000.00513.09
7.3.320.0040.00313.14
7.3.310.0030.00316.21
7.3.300.0050.00216.25
7.3.290.0120.00416.21
7.3.280.0100.00516.24
7.3.270.0130.01317.40
7.3.260.0030.01316.30
7.3.250.0120.00816.24
7.3.240.0120.00816.18
7.3.230.0130.00416.39
7.3.210.0170.00016.30
7.3.200.0130.00419.39
7.3.190.0130.00616.47
7.3.180.0090.00616.22
7.3.170.0030.01316.34
7.3.160.0090.00816.25
7.2.330.0100.01016.34
7.2.320.0070.01016.55
7.2.310.0060.01216.28
7.2.300.0080.00816.61
7.2.290.0030.01316.49
7.2.80.0040.00416.41
7.2.60.0220.00716.42
7.2.00.0090.00319.24
7.1.200.0160.00815.34
7.1.100.0060.00317.83
7.1.70.0040.01116.96
7.1.60.0100.01319.18
7.1.50.0060.01616.95
7.1.00.0070.07322.33
7.0.200.0050.00316.30
7.0.60.0070.06721.72
7.0.50.0030.08317.88
7.0.40.0070.06720.09
7.0.30.0330.07320.06
7.0.20.0330.07320.34
7.0.10.0100.08020.23
7.0.00.0100.03720.23
5.6.280.0000.03321.07
5.6.210.0130.07320.54
5.6.200.0070.04018.15
5.6.190.0030.04320.64
5.6.180.0600.06720.61
5.6.170.0230.06720.39
5.6.160.0100.08720.58
5.6.150.0070.03718.29
5.6.140.0100.07018.29
5.6.130.0100.04718.15
5.6.120.0070.03721.00
5.6.110.0100.08020.93
5.6.100.0130.07020.97
5.6.90.0100.07720.93
5.6.80.0030.08020.29
5.5.350.0230.07720.45
5.5.340.0070.08017.95
5.5.330.0070.07720.32
5.5.320.0330.07720.34
5.5.310.0270.04020.26
5.5.300.0030.07718.07
5.5.290.0030.09017.99
5.5.280.0130.06720.80
5.5.270.0070.07320.76
5.5.260.0030.04020.87
5.5.250.0100.08320.77
5.5.240.0170.06320.37

preferences:
50.88 ms | 401 KiB | 5 Q