3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Potatoe { public $skin; protected $meat; private $roots; function __construct ( $s, $m, $r ) { $this->skin = $s; $this->meat = $m; $this->roots = $r; } } $a = new Potatoe(1,2,3); $vars = get_object_vars ( $Obj ); print_r ( $vars );

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.0100.01016.75
8.3.50.0070.00716.75
8.3.40.0080.00818.92
8.3.30.0060.00918.92
8.3.20.0070.00021.94
8.3.10.0050.00323.52
8.3.00.0080.00017.80
8.2.180.0120.00318.18
8.2.170.0100.00522.96
8.2.160.0070.00722.21
8.2.150.0040.00424.18
8.2.140.0090.00024.66
8.2.130.0050.00220.51
8.2.120.0000.00826.35
8.2.110.0090.00020.89
8.2.100.0080.00317.91
8.2.90.0040.00417.84
8.2.80.0000.00818.16
8.2.70.0090.00017.92
8.2.60.0040.00417.63
8.2.50.0050.00318.10
8.2.40.0000.00822.36
8.2.30.0000.00819.43
8.2.20.0000.00817.93
8.2.10.0040.00417.80
8.2.00.0050.00217.91
8.1.280.0070.00725.92
8.1.270.0040.00423.80
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0140.00422.47
8.1.230.0070.00420.85
8.1.220.0080.00017.74
8.1.210.0070.00618.77
8.1.200.0050.00317.38
8.1.190.0040.00417.12
8.1.180.0040.00418.10
8.1.170.0060.00318.84
8.1.160.0000.00718.86
8.1.150.0050.00319.02
8.1.140.0040.00317.58
8.1.130.0000.01018.86
8.1.120.0050.00217.38
8.1.110.0030.00517.41
8.1.100.0000.00717.32
8.1.90.0090.00017.29
8.1.80.0000.00817.44
8.1.70.0000.00717.41
8.1.60.0030.00517.49
8.1.50.0050.00317.41
8.1.40.0040.00417.50
8.1.30.0080.00017.48
8.1.20.0030.00717.46
8.1.10.0000.00817.44
8.1.00.0060.00317.55
8.0.300.0040.00419.85
8.0.290.0040.00416.58
8.0.280.0040.00418.27
8.0.270.0000.00717.20
8.0.260.0000.00716.73
8.0.250.0030.00316.88
8.0.240.0030.00316.86
8.0.230.0030.00316.91
8.0.220.0070.00016.81
8.0.210.0040.00416.79
8.0.200.0070.00016.89
8.0.190.0000.00716.94
8.0.180.0030.00316.97
8.0.170.0000.01016.78
8.0.160.0060.00316.96
8.0.150.0070.00016.91
8.0.140.0000.00716.88
8.0.130.0030.00313.37
8.0.120.0040.00416.85
8.0.110.0070.00017.00
8.0.100.0070.00016.75
8.0.90.0040.00416.84
8.0.80.0100.01016.95
8.0.70.0000.00716.93
8.0.60.0040.00416.94
8.0.50.0040.00416.86
8.0.30.0100.01117.06
8.0.20.0080.01217.40
8.0.10.0000.00716.87
8.0.00.0110.00816.85
7.4.330.0000.00415.55
7.4.320.0060.00316.54
7.4.300.0000.00916.55
7.4.290.0020.00516.50
7.4.280.0070.00416.42
7.4.270.0070.00016.60
7.4.260.0030.00316.35
7.4.250.0040.00416.47
7.4.240.0070.00016.62
7.4.230.0000.00716.30
7.4.220.0040.00416.30
7.4.210.0070.00716.63
7.4.200.0050.00316.43
7.4.160.0110.00516.55
7.4.140.0130.00617.86
7.4.130.0030.01616.63
7.4.120.0050.01416.46
7.4.110.0130.00316.57
7.4.100.0140.00716.51
7.4.90.0120.00616.43
7.4.80.0160.00319.39
7.4.70.0130.01016.44
7.4.60.0060.01316.44
7.4.50.0040.01216.40
7.4.40.0130.00316.55
7.4.00.0020.01114.84
7.3.330.0050.00013.27
7.3.320.0030.00313.14
7.3.310.0040.00416.28
7.3.300.0030.00316.25
7.3.290.0000.00716.18
7.3.280.0110.00716.32
7.3.260.0080.01016.37
7.3.240.0060.01016.41
7.3.230.0110.00616.38
7.3.210.0060.01616.49
7.3.200.0100.00616.21
7.3.190.0100.00716.33
7.3.180.0070.01016.30
7.3.170.0090.00616.41
7.3.160.0090.00616.34
7.3.120.0040.01014.59
7.3.110.0050.01214.86
7.3.100.0090.00614.71
7.3.90.0060.00814.62
7.3.80.0010.00714.60
7.3.70.0050.00814.84
7.3.60.0020.01414.79
7.3.50.0090.00514.55
7.3.40.0010.01114.82
7.3.30.0100.00714.75
7.3.20.0060.00716.51
7.3.10.0040.00716.73
7.3.00.0090.00716.55
7.2.330.0140.00316.45
7.2.320.0120.00616.38
7.2.310.0030.01316.30
7.2.300.0030.01316.25
7.2.290.0150.00316.46
7.2.250.0060.01215.14
7.2.240.0090.00914.92
7.2.230.0080.00915.10
7.2.220.0040.00814.93
7.2.210.0020.00914.86
7.2.200.0040.01014.99
7.2.190.0050.00915.04
7.2.180.0060.00614.85
7.2.170.0070.00714.77
7.2.160.0030.01014.75
7.2.150.0040.01116.76
7.2.140.0040.00816.84
7.2.130.0120.00316.75
7.2.120.0060.01316.85
7.2.110.0090.00616.93
7.2.100.0030.01016.73
7.2.90.0060.00316.93
7.2.80.0030.01017.07
7.2.70.0040.00916.98
7.2.60.0080.00516.90
7.2.50.0030.01316.75
7.2.40.0070.00716.89
7.2.30.0090.00717.31
7.2.20.0100.00917.21
7.2.10.0070.01217.30
7.2.00.0090.00917.44
7.1.330.0100.00515.64
7.1.320.0030.00715.95
7.1.310.0040.00715.82
7.1.300.0030.00815.82
7.1.290.0100.00215.71
7.1.280.0100.00615.69
7.1.270.0050.00915.82
7.1.260.0050.00815.69
7.1.250.0100.00715.39
7.1.200.0000.00915.75
7.1.150.0090.01016.75
7.1.140.0110.01516.87
7.1.130.0060.01616.76
7.1.120.0150.00816.49
7.1.110.0410.00915.99
7.1.100.0120.00815.94
7.1.90.0140.01416.15
7.1.80.0130.01516.17
7.1.70.0150.01515.18
7.1.60.0340.01733.29
7.1.50.0300.01333.06
7.1.40.0320.01932.59
7.1.30.0920.01632.84
7.1.20.0350.01732.57
7.1.10.0130.00914.67
7.1.00.0150.01514.78

preferences:
66.64 ms | 401 KiB | 5 Q