3v4l.org

run code in 300+ PHP versions simultaneously
<?php class KlasaA { public function __construct(string $a, int $b, bool $c = false) { } } var_dump(get_class_methods('KlasaA'));

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.0000.01418.30
8.3.50.0100.01018.21
8.3.40.0130.00718.54
8.3.30.0150.00618.42
8.3.20.0080.00018.90
8.3.10.0050.00319.21
8.3.00.0040.00423.50
8.2.180.0110.00418.41
8.2.170.0090.00922.96
8.2.160.0080.00820.39
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00419.70
8.2.120.0050.00326.35
8.2.110.0090.00019.30
8.2.100.0090.00317.60
8.2.90.0030.00519.10
8.2.80.0000.00917.97
8.2.70.0080.00017.91
8.2.60.0000.00817.80
8.2.50.0040.00718.10
8.2.40.0050.00219.11
8.2.30.0040.00419.26
8.2.20.0000.00717.98
8.2.10.0000.00717.97
8.2.00.0030.00519.27
8.1.280.0060.00925.92
8.1.270.0000.00722.11
8.1.260.0050.00326.35
8.1.250.0000.00828.09
8.1.240.0030.00620.86
8.1.230.0060.00619.07
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0030.00617.10
8.1.190.0060.00317.10
8.1.180.0050.00318.10
8.1.170.0090.00018.57
8.1.160.0030.00618.65
8.1.150.0050.00218.79
8.1.140.0040.00417.48
8.1.130.0030.00318.88
8.1.120.0030.00317.35
8.1.110.0030.00317.18
8.1.100.0040.00417.32
8.1.90.0040.00417.32
8.1.80.0000.00717.32
8.1.70.0030.00317.28
8.1.60.0040.00417.37
8.1.50.0080.00017.36
8.1.40.0030.00617.40
8.1.30.0040.00417.50
8.1.20.0050.00217.34
8.1.10.0030.00517.42
8.1.00.0000.00817.18
8.0.300.0040.00418.77
8.0.290.0050.00216.63
8.0.280.0000.00718.31
8.0.270.0050.00317.12
8.0.260.0000.00817.11
8.0.250.0000.00816.82
8.0.240.0030.00616.79
8.0.230.0040.00416.84
8.0.220.0030.00716.63
8.0.210.0000.00816.82
8.0.200.0000.00716.84
8.0.190.0040.00416.81
8.0.180.0050.00216.67
8.0.170.0040.00416.68
8.0.160.0040.00416.78
8.0.150.0060.00316.57
8.0.140.0050.00316.66
8.0.130.0050.00013.19
8.0.120.0040.00416.77
8.0.110.0040.00416.59
8.0.100.0000.00716.62
8.0.90.0040.00416.83
8.0.80.0100.00916.77
8.0.70.0000.00716.75
8.0.60.0050.00316.74
8.0.50.0040.00416.57
8.0.30.0130.00617.07
8.0.20.0140.00517.40
8.0.10.0000.00816.75
8.0.00.0130.01016.70
7.4.330.0050.00015.55
7.4.320.0000.00616.38
7.4.300.0060.00016.29
7.4.290.0070.00016.38
7.4.280.0070.00016.38
7.4.270.0070.00016.45
7.4.260.0030.00316.35
7.4.250.0030.00316.29
7.4.240.0000.00716.37
7.4.230.0070.00016.56
7.4.220.0040.00416.57
7.4.210.0030.01416.46
7.4.200.0070.00016.52
7.4.160.0090.00816.33
7.4.140.0130.00617.86
7.4.130.0150.00616.36
7.4.120.0120.00716.37
7.4.110.0110.00616.27
7.4.100.0070.01016.18
7.4.90.0070.01016.57
7.4.80.0070.01519.39
7.4.70.0090.00916.50
7.4.60.0060.01016.43
7.4.50.0120.00316.43
7.4.40.0060.01516.41
7.3.330.0000.00613.10
7.3.320.0060.00013.18
7.3.310.0000.00716.02
7.3.300.0040.00416.10
7.3.290.0030.00616.01
7.3.280.0060.00916.16
7.3.260.0090.01116.25
7.3.240.0120.00616.27
7.3.230.0050.01316.45
7.3.210.0120.00616.18
7.3.200.0090.00616.37
7.3.190.0120.00616.35
7.3.180.0040.01316.36
7.3.170.0120.00916.19
7.3.160.0080.00816.27
7.2.330.0050.01416.60
7.2.320.0110.01116.54
7.2.310.0110.00716.34
7.2.300.0150.00616.46
7.2.290.0170.00016.43

preferences:
65.55 ms | 401 KiB | 5 Q