3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo{ public $x = 42; } $foo = new Foo; var_dump(is_a($foo, "Foo")); var_dump(is_a((unset)$foo, "Foo"));

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.0070.00718.55
8.3.50.0140.00016.25
8.3.40.0090.00618.75
8.3.30.0090.00618.60
8.3.20.0050.00321.77
8.3.10.0040.00421.80
8.3.00.0040.00418.89
8.2.180.0090.01218.27
8.2.170.0030.01022.96
8.2.160.0070.00722.11
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00422.30
8.2.120.0080.00026.35
8.2.110.0030.00622.18
8.2.100.0040.00817.78
8.2.90.0100.00017.72
8.2.80.0090.00017.97
8.2.70.0040.00417.38
8.2.60.0040.00417.50
8.2.50.0040.00417.50
8.2.40.0050.00317.93
8.2.30.0000.00819.10
8.2.20.0000.00717.80
8.2.10.0040.00417.88
8.2.00.0040.00417.97
8.1.280.0080.00825.92
8.1.270.0060.00324.02
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0100.00023.98
8.1.230.0070.00421.04
8.1.220.0080.00017.74
8.1.210.0060.00318.77
8.1.200.0080.00017.22
8.1.190.0000.00817.10
8.1.180.0060.00318.10
8.1.170.0050.00317.62
8.1.160.0040.00418.94
8.1.150.0040.00418.66
8.1.140.0040.00419.35
8.1.130.0030.00318.71
8.1.120.0000.01017.39
8.1.110.0050.00217.21
8.1.100.0000.00717.32
8.1.90.0000.00817.31
8.1.80.0000.00717.31
8.1.70.0030.00517.23
8.1.60.0040.00417.45
8.1.50.0030.00617.29
8.1.40.0000.00717.39
8.1.30.0000.00717.54
8.1.20.0040.00417.43
8.1.10.0050.00217.36
8.1.00.0060.00317.22
8.0.300.0050.00319.77
8.0.290.0000.00816.75
8.0.280.0040.00418.22
8.0.270.0040.00417.12
8.0.260.0000.00718.59
8.0.250.0070.00016.78
8.0.240.0040.00416.89
8.0.230.0050.00216.92
8.0.220.0000.00716.69
8.0.210.0030.00316.77
8.0.200.0000.00716.94
8.0.190.0000.00916.86
8.0.180.0030.00616.84
8.0.170.0030.00316.75
8.0.160.0070.00016.81
8.0.150.0030.00316.86
8.0.140.0080.00016.76
8.0.130.0030.00313.28
8.0.120.0040.00416.80
8.0.110.0070.00016.88
8.0.100.0070.00016.77
8.0.90.0070.00016.84
8.0.80.0130.00316.87
8.0.70.0050.00216.69
8.0.60.0040.00416.64
8.0.50.0050.00316.70
8.0.30.0090.00616.98
8.0.20.0140.00617.40
8.0.10.0000.00716.91
8.0.00.0130.01016.66
7.4.330.0000.00615.55
7.4.320.0030.00316.50
7.4.300.0030.00316.61
7.4.290.0040.00416.52
7.4.280.0050.00316.59
7.4.270.0040.00416.54
7.4.260.0000.00613.28
7.4.250.0030.00516.57
7.4.240.0070.00016.60
7.4.230.0000.00616.54
7.4.220.0120.00616.55
7.4.210.0070.01016.63
7.4.200.0000.00716.50
7.4.160.0100.00816.38
7.4.150.0090.00917.40
7.4.140.0150.00417.86
7.4.130.0150.00916.57
7.4.120.0120.00516.52
7.4.110.0060.00916.39
7.4.100.0070.01016.60
7.4.90.0130.00716.61
7.4.80.0060.01219.39
7.4.70.0100.01116.46
7.4.60.0050.01016.50
7.4.50.0000.01516.38
7.4.40.0030.01316.50
7.4.30.0000.01716.48
7.4.00.0030.00815.18
7.3.330.0020.00213.13
7.3.320.0030.00313.27
7.3.310.0030.00316.19
7.3.300.0060.00316.30
7.3.290.0060.00916.28
7.3.280.0100.00716.28
7.3.270.0140.00317.40
7.3.260.0130.00816.40
7.3.250.0110.01016.41
7.3.240.0080.01216.35
7.3.230.0120.00616.33
7.3.210.0130.00316.30
7.3.200.0090.00816.31
7.3.190.0100.00616.38
7.3.180.0120.00916.48
7.3.170.0160.00516.63
7.3.160.0070.00716.49
7.2.330.0090.00916.39
7.2.320.0140.00316.45
7.2.310.0130.00316.32
7.2.300.0030.01316.49
7.2.290.0100.00516.30
7.2.60.0150.00416.90
7.2.50.0090.00616.64
7.2.00.0000.01319.40
7.1.200.0030.01015.64
7.1.70.0000.00816.95
7.1.60.0470.01733.27
7.1.50.0700.02032.93
7.1.40.0500.01332.48
7.1.30.1430.02032.60
7.1.20.0470.01332.66
7.1.10.0270.01014.76
7.1.00.0530.01014.72
7.0.200.0630.01314.79
7.0.190.0600.01314.77
7.0.180.0400.00714.30
7.0.170.0470.00314.41
7.0.160.0370.00314.48
7.0.150.0300.01014.17
7.0.140.0370.01014.49
7.0.130.0600.01014.64
7.0.120.0570.01014.78
7.0.110.0630.01014.51
7.0.100.0530.01314.39
7.0.90.0570.01314.38
7.0.80.0500.01314.39
7.0.70.0630.01014.34
7.0.60.0530.00714.18
7.0.50.0530.01014.39
7.0.40.0530.01014.60
7.0.30.0400.01314.51
7.0.20.0400.01014.49
7.0.10.0570.00314.50
7.0.00.0400.01314.57

preferences:
62.88 ms | 401 KiB | 5 Q