3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(is_a('foo', 'bar', true), is_a('DateTimeImmutable', 'bar', true), is_a('foo', DateTimeImmutable::class, true));

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.70.0150.00318.30
8.3.60.0110.00318.18
8.3.50.0070.01417.94
8.3.40.0120.00318.54
8.3.30.0110.00418.63
8.3.20.0040.00421.63
8.3.10.0080.00020.43
8.3.00.0060.00317.34
8.2.190.0060.01016.58
8.2.180.0060.00916.32
8.2.170.0070.00722.96
8.2.160.0100.00322.07
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0040.00417.96
8.2.120.0070.00026.35
8.2.110.0040.00420.95
8.2.100.0070.00417.79
8.2.90.0050.00317.75
8.2.80.0030.00517.97
8.2.70.0060.00317.90
8.2.60.0000.00718.09
8.2.50.0000.00818.10
8.2.40.0000.00819.17
8.2.30.0000.00719.15
8.2.20.0030.00617.98
8.2.10.0000.00718.99
8.2.00.0040.00417.91
8.1.280.0140.00725.92
8.1.270.0000.00818.80
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0030.00623.90
8.1.230.0120.00022.78
8.1.220.0030.00617.74
8.1.210.0000.00818.77
8.1.200.0110.00316.97
8.1.190.0040.00417.09
8.1.180.0030.00518.10
8.1.170.0080.00418.56
8.1.160.0040.00418.68
8.1.150.0080.00018.81
8.1.140.0040.00418.75
8.1.130.0000.00820.05
8.1.120.0040.00417.26
8.1.110.0050.00217.29
8.1.100.0000.00717.31
8.1.90.0040.00717.22
8.1.80.0000.00717.21
8.1.70.0070.00017.36
8.1.60.0030.00517.37
8.1.50.0120.00017.37
8.1.40.0000.00817.28
8.1.30.0070.00017.59
8.1.20.0050.00317.53
8.1.10.0030.00617.42
8.1.00.0000.00717.20
8.0.300.0070.00019.96
8.0.290.0030.00616.63
8.0.280.0050.00218.32
8.0.270.0080.00017.17
8.0.260.0030.00518.32
8.0.250.0070.00016.76
8.0.240.0030.00616.74
8.0.230.0070.00016.80
8.0.220.0030.00616.80
8.0.210.0050.00216.63
8.0.200.0060.00016.74
8.0.190.0030.00516.78
8.0.180.0050.00316.77
8.0.170.0040.00416.78
8.0.160.0000.00716.78
8.0.150.0050.00316.80
8.0.140.0070.00016.63
8.0.130.0030.00313.12
8.0.120.0000.00816.56
8.0.110.0040.00416.73
8.0.100.0050.00316.78
8.0.90.0000.00716.67
8.0.80.0090.00616.70
8.0.70.0000.00816.70
8.0.60.0070.00016.54
8.0.50.0050.00216.64
8.0.30.0070.01016.92
8.0.20.0100.01116.73
8.0.10.0050.00216.70
8.0.00.0080.01116.71
7.4.330.0040.00015.55
7.4.320.0030.00316.35
7.4.300.0060.00016.37
7.4.290.0030.00316.46
7.4.280.0030.00616.48
7.4.270.0000.00716.49
7.4.260.0030.00316.49
7.4.250.0030.00316.23
7.4.240.0030.00316.44
7.4.230.0000.00716.25
7.4.220.0000.00816.49
7.4.210.0060.01116.40
7.4.200.0070.00016.37
7.4.160.0080.00816.30
7.4.130.0120.00616.26
7.4.120.0120.00916.35
7.4.110.0120.00616.51
7.4.100.0060.01516.15
7.4.90.0090.01216.29
7.4.80.0090.00919.39
7.4.70.0030.01316.23
7.4.60.0060.01016.24
7.4.50.0050.01316.32
7.4.40.0080.00816.39
7.4.00.0120.00514.81
7.3.330.0060.00013.02
7.3.320.0000.00512.88
7.3.310.0040.00416.20
7.3.300.0060.00016.08
7.3.290.0040.00415.96
7.3.280.0090.00616.09
7.3.260.0100.00816.18
7.3.240.0100.01016.27
7.3.230.0090.00916.32
7.3.210.0110.00716.47
7.3.200.0100.00716.34
7.3.190.0080.00816.12
7.3.180.0120.00316.09
7.3.170.0110.00616.04
7.3.160.0060.01216.44
7.3.120.0030.00714.67
7.3.110.0070.01014.73
7.3.100.0060.01014.66
7.3.90.0000.01414.72
7.3.80.0060.00614.64
7.3.70.0030.00614.66
7.3.60.0060.00614.54
7.3.50.0060.00314.62
7.3.40.0030.00514.56
7.3.30.0000.01414.27
7.3.20.0030.01016.62
7.3.10.0190.01215.43
7.3.00.0220.00515.48
7.2.330.0130.00516.34
7.2.320.0090.01316.38
7.2.310.0130.00316.40
7.2.300.0110.00816.41
7.2.290.0130.01016.48
7.2.250.0140.00314.89
7.2.240.0070.00714.45
7.2.230.0060.00615.11
7.2.220.0040.01114.84
7.2.210.0090.00914.60
7.2.200.0060.00914.70
7.2.190.0050.00514.89
7.2.180.0070.00714.49
7.2.170.0070.00414.84
7.2.160.0090.00314.57
7.2.150.0060.01016.68
7.2.140.0100.00016.74
7.2.130.0240.00815.77
7.2.120.0330.00315.79
7.2.110.0210.00815.65
7.2.100.0210.01015.75
7.2.90.0210.00315.77
7.2.80.0680.00315.82
7.2.70.0190.00715.68
7.2.60.0240.00615.65
7.2.50.0180.00615.85
7.2.40.0140.00915.78
7.2.30.0170.00515.56
7.2.20.0190.00315.54
7.2.10.0180.01015.45
7.2.00.0180.00915.73
7.1.330.0090.00615.70
7.1.320.0070.00715.52
7.1.310.0070.01015.64
7.1.300.0030.01015.65
7.1.290.0090.00315.73
7.1.280.0080.00415.68
7.1.270.0030.01015.89
7.1.260.0030.00615.60
7.1.250.0220.01014.73
7.1.240.0070.00315.75
7.1.230.0060.00615.69
7.1.220.0060.01015.61
7.1.210.0030.00615.78
7.1.200.0060.00615.35
7.1.190.0000.01415.42
7.1.180.0070.00715.70
7.1.170.0070.00715.68
7.1.160.0030.00615.67
7.1.150.0090.00015.82
7.1.140.0030.00615.51
7.1.130.0000.01215.79
7.1.120.0040.00815.70
7.1.110.0040.01115.80
7.1.100.0060.00315.33
7.1.90.0000.00815.67
7.1.80.0120.00315.74
7.1.70.0040.00915.73
7.1.60.0000.01415.70
7.1.50.0070.00415.24
7.1.40.0070.00415.34
7.1.30.0110.00415.75
7.1.20.0000.01315.65
7.1.10.0030.00915.50
7.1.00.0060.00915.57

preferences:
57.16 ms | 401 KiB | 5 Q