3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Example { public $unset; public function __construct() { unset($this->unset); } } var_dump(get_class_vars(Example::class)); var_dump(get_object_vars(new Example()));

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.0150.00018.43
8.3.50.0070.01316.20
8.3.40.0070.01118.40
8.3.30.0110.00418.47
8.3.20.0030.00620.68
8.3.10.0040.00423.61
8.3.00.0060.00319.54
8.2.180.0060.01216.50
8.2.170.0110.00422.96
8.2.160.0070.00720.70
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0070.00019.77
8.2.110.0030.00622.08
8.2.100.0040.00717.72
8.2.90.0070.00018.09
8.2.80.0040.00417.97
8.2.70.0000.00817.91
8.2.60.0000.00817.80
8.2.50.0040.00418.05
8.2.40.0000.00718.03
8.2.30.0080.00019.44
8.2.20.0000.00817.92
8.2.10.0040.00419.04
8.2.00.0030.00319.04
8.1.280.0100.01025.92
8.1.270.0030.00520.62
8.1.260.0090.00026.35
8.1.250.0000.00728.09
8.1.240.0040.00418.88
8.1.230.0080.00321.04
8.1.220.0000.00817.74
8.1.210.0040.00418.85
8.1.200.0060.00317.23
8.1.190.0030.00617.10
8.1.180.0000.00918.10
8.1.170.0040.00417.62
8.1.160.0070.00018.66
8.1.150.0000.01018.67
8.1.140.0000.00820.59
8.1.130.0030.00320.16
8.1.120.0050.00517.32
8.1.110.0020.00517.27
8.1.100.0000.00717.21
8.1.90.0040.00417.34
8.1.80.0000.00817.23
8.1.70.0000.00717.33
8.1.60.0000.00817.50
8.1.50.0040.00417.36
8.1.40.0040.00417.33
8.1.30.0000.00717.50
8.1.20.0080.00017.51
8.1.10.0000.00717.30
8.1.00.0060.00317.37
8.0.300.0040.00419.91
8.0.290.0050.00216.63
8.0.280.0030.00318.36
8.0.270.0070.00017.84
8.0.260.0000.00720.00
8.0.250.0000.00716.91
8.0.240.0000.00616.93
8.0.230.0000.00716.70
8.0.220.0070.00016.75
8.0.210.0070.00016.71
8.0.200.0030.00316.84
8.0.190.0050.00316.71
8.0.180.0000.00816.82
8.0.170.0090.00016.61
8.0.160.0040.00416.73
8.0.150.0000.00716.75
8.0.140.0030.00516.61
8.0.130.0050.00013.27
8.0.120.0000.00716.74
8.0.110.0090.00016.58
8.0.100.0030.00516.61
8.0.90.0030.00616.83
8.0.80.0070.01016.77
8.0.70.0000.00816.82
8.0.60.0000.00816.82
8.0.50.0000.00716.86
8.0.30.0210.00316.82
8.0.20.0080.01217.26
8.0.10.0020.00516.73
8.0.00.0070.01116.50
7.4.330.0050.00016.89
7.4.320.0000.00716.47
7.4.300.0060.00016.42
7.4.290.0000.00716.52
7.4.280.0000.00816.40
7.4.270.0040.00416.41
7.4.260.0030.00313.22
7.4.250.0040.00416.30
7.4.240.0040.00316.45
7.4.230.0070.00016.43
7.4.220.0020.00516.46
7.4.210.0100.00716.42
7.4.200.0080.00016.61
7.4.130.0120.00616.47
7.4.120.0100.01316.50
7.4.110.0110.00816.46
7.4.100.0120.00616.27
7.4.90.0090.01216.32
7.4.80.0120.01419.39
7.4.70.0060.01216.59
7.4.60.0140.00816.50
7.4.50.0070.00816.11
7.4.40.0100.00716.54
7.4.20.0060.00916.35
7.4.10.0040.01116.28
7.4.00.0070.00716.43
7.3.330.0030.00616.23
7.3.320.0020.00213.00
7.3.310.0000.00716.23
7.3.300.0070.00016.11
7.3.290.0090.00616.19
7.3.280.0120.00316.17
7.3.260.0090.00816.37
7.3.240.0070.00916.27
7.3.230.0080.01216.43
7.3.210.0160.00416.38
7.3.200.0040.01216.11
7.3.190.0090.00916.20
7.3.180.0080.00816.04
7.3.170.0030.01316.24
7.3.160.0150.00016.21
7.3.140.0070.00716.25
7.3.130.0110.00616.15
7.3.120.0070.00716.20
7.3.110.0080.00616.42
7.3.100.0070.00716.18
7.3.90.0000.01516.27
7.3.80.0060.00916.45
7.3.70.0090.00616.19
7.3.60.0060.00916.37
7.3.50.0060.00916.38
7.3.40.0070.00716.13
7.3.30.0060.00916.06
7.3.20.0040.01116.24
7.3.10.0090.00616.29
7.3.00.0000.01416.14
7.2.330.0100.00716.45
7.2.320.0070.01016.59
7.2.310.0080.00816.28
7.2.300.0110.01216.58
7.2.290.0160.00016.46
7.2.270.0110.00416.64
7.2.260.0070.00716.59
7.2.250.0110.00316.34
7.2.240.0070.00716.34
7.2.230.0000.01516.47
7.2.220.0060.00916.58
7.2.210.0030.01216.41
7.2.200.0000.01416.31
7.2.190.0060.01016.51
7.2.180.0120.00316.48
7.2.170.0110.00316.48
7.2.160.0000.01516.50
7.2.150.0090.00616.36
7.2.140.0070.00716.48
7.2.130.0000.01516.33
7.2.120.0120.00316.39
7.2.110.0040.01116.45
7.2.100.0070.00716.45
7.2.90.0090.00616.61
7.2.80.0110.00416.46
7.2.70.0070.00716.31
7.2.60.0090.00616.39
7.2.50.0090.00616.39
7.2.40.0100.00516.50
7.2.30.0120.00316.63
7.2.20.0030.01216.48
7.2.10.0150.00016.39
7.2.00.0030.01316.64

preferences:
60.68 ms | 400 KiB | 5 Q