3v4l.org

run code in 300+ PHP versions simultaneously
<?php class h extends stdClass { public $data = array(); function __set($name, $val) { $this->data[$name] = $val; } function __debugInfo() { return $this->data; } } $cl = new h(); $id = "373556941768884244"; $cl->$id = 'hallo'; var_dump($cl);

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.140.0070.00716.48
8.3.130.0120.00418.51
8.3.120.0110.00718.88
8.3.110.0060.00320.94
8.3.100.0060.00324.06
8.3.90.0100.01026.77
8.3.80.0030.00616.50
8.3.70.0070.00716.75
8.3.60.0110.01118.43
8.3.50.0100.01018.33
8.3.40.0060.01318.79
8.3.30.0070.00718.79
8.3.20.0040.00420.30
8.3.10.0050.00318.77
8.3.00.0000.01421.59
8.2.250.0040.00418.69
8.2.240.0060.00317.09
8.2.230.0060.00322.58
8.2.220.0060.00337.54
8.2.210.0000.00826.77
8.2.200.0060.00316.75
8.2.190.0040.01116.58
8.2.180.0170.00318.34
8.2.170.0110.00422.96
8.2.160.0070.00721.11
8.2.150.0020.00524.18
8.2.140.0120.00324.66
8.2.130.0000.00820.41
8.2.120.0100.00726.35
8.2.110.0070.00322.14
8.2.100.0090.00317.91
8.2.90.0060.00318.34
8.2.80.0000.00818.05
8.2.70.0090.00017.90
8.2.60.0020.00518.22
8.2.50.0060.00618.10
8.2.40.0050.00319.32
8.2.30.0000.00719.33
8.2.20.0030.00618.00
8.2.10.0040.00418.09
8.2.00.0040.00418.00
8.1.300.0120.00417.73
8.1.290.0080.00418.88
8.1.280.0120.00325.92
8.1.270.0080.00023.96
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00322.02
8.1.230.0070.00420.93
8.1.220.0050.00317.78
8.1.210.0040.00418.98
8.1.200.0030.00617.47
8.1.190.0030.00617.22
8.1.180.0000.00818.10
8.1.170.0030.00618.70
8.1.160.0040.00418.89
8.1.150.0040.00418.80
8.1.140.0040.00418.99
8.1.130.0000.00718.93
8.1.120.0040.00417.45
8.1.110.0000.00717.36
8.1.100.0050.00317.43
8.1.90.0030.00517.36
8.1.80.0020.00517.51
8.1.70.0000.00817.54
8.1.60.0040.00417.61
8.1.50.0000.00917.56
8.1.40.0040.00417.41
8.1.30.0040.00417.50
8.1.20.0060.00317.66
8.1.10.0050.00217.54
8.1.00.0040.00417.31
8.0.300.0000.00819.60
8.0.290.0000.00916.75
8.0.280.0070.00018.45
8.0.270.0000.00816.82
8.0.260.0000.00716.87
8.0.250.0000.00716.84
8.0.240.0000.00916.86
8.0.230.0030.00316.92
8.0.220.0080.00016.76
8.0.210.0020.00516.86
8.0.200.0000.00616.85
8.0.190.0040.00417.00
8.0.180.0040.00416.82
8.0.170.0000.00716.95
8.0.160.0060.00316.81
8.0.150.0030.00516.88
8.0.140.0000.00816.86
8.0.130.0030.00313.25
8.0.120.0070.00016.71
8.0.110.0070.00016.95
8.0.100.0040.00416.70
8.0.90.0070.00016.75
8.0.80.0060.00916.91
8.0.70.0040.00416.95
8.0.60.0000.00816.91
8.0.50.0040.00416.78
8.0.30.0060.01117.23
8.0.20.0100.00917.40
8.0.10.0000.00716.90
8.0.00.0140.00616.91
7.4.330.0050.00015.55
7.4.320.0030.00316.58
7.4.300.0000.00616.46
7.4.290.0000.00816.64
7.4.280.0060.00616.62
7.4.270.0040.00416.60
7.4.260.0070.00016.39
7.4.250.0000.00716.48
7.4.240.0070.00016.41
7.4.230.0000.00716.42
7.4.220.0130.00616.60
7.4.210.0140.00716.57
7.4.200.0040.00416.39
7.4.160.0090.00816.40
7.4.150.0110.00717.40
7.4.140.0120.00717.86
7.4.130.0100.01016.49
7.4.120.0100.01016.48
7.4.110.0030.01316.45
7.4.100.0100.00716.52
7.4.90.0130.00516.53
7.4.80.0130.00319.39
7.4.70.0060.01016.45
7.4.60.0090.00616.58
7.4.50.0060.00916.31
7.4.40.0140.00316.34
7.4.30.0040.01816.45
7.4.10.0060.01515.02
7.4.00.0070.01014.81
7.3.330.0050.00013.06
7.3.320.0060.00013.37
7.3.310.0030.00316.19
7.3.300.0000.00616.31
7.3.290.0050.01116.33
7.3.280.0090.00616.31
7.3.270.0130.01017.40
7.3.260.0130.00516.52
7.3.250.0090.00816.41
7.3.240.0120.00916.43
7.3.230.0070.01116.36
7.3.210.0110.00616.29
7.3.200.0000.01716.63
7.3.190.0130.00316.44
7.3.180.0100.00716.28
7.3.170.0090.01016.33
7.3.160.0090.00616.23
7.3.130.0070.00714.52
7.3.120.0080.00814.63
7.3.110.0080.00914.99
7.3.100.0010.01314.76
7.3.90.0090.00414.83
7.3.80.0070.00714.72
7.3.70.0090.00914.65
7.3.60.0080.00514.68
7.3.50.0060.00614.84
7.3.40.0080.00614.69
7.3.30.0050.01014.84
7.3.20.0060.00516.67
7.3.10.0050.00816.66
7.3.00.0030.00916.57
7.2.330.0110.00616.51
7.2.320.0000.01816.56
7.2.310.0060.01216.38
7.2.300.0030.01516.48
7.2.290.0080.00816.51
7.2.260.0070.01014.93
7.2.250.0020.01414.99
7.2.240.0080.00914.98
7.2.230.0060.00614.95
7.2.220.0040.01414.93
7.2.210.0070.00714.92
7.2.200.0100.00814.94
7.2.190.0080.00615.10
7.2.180.0080.00815.09
7.2.170.0060.00814.99
7.2.160.0030.01014.94
7.2.150.0040.01217.07
7.2.140.0070.01016.80
7.2.130.0050.00816.74
7.2.120.0060.00916.88
7.2.110.0100.00316.96
7.2.100.0050.00716.81
7.2.90.0060.00916.83
7.2.80.0040.01216.98
7.2.70.0020.01517.07
7.2.60.0110.01216.80
7.2.50.0040.01316.87
7.2.40.0060.00716.89
7.2.30.0050.00816.86
7.2.20.0020.00916.78
7.2.10.0070.00716.84
7.2.00.0090.00617.36
7.1.330.0060.00915.89
7.1.320.0050.00615.66
7.1.310.0060.01115.84
7.1.300.0020.01015.61
7.1.290.0070.00715.82
7.1.280.0050.01015.74
7.1.270.0040.00515.58
7.1.260.0040.00815.75
7.1.250.0030.01215.74
7.1.240.0040.00815.71
7.1.230.0080.00415.89
7.1.220.0000.01415.59
7.1.210.0090.00615.93
7.1.200.0070.00315.69
7.1.190.0060.00915.98
7.1.180.0000.01015.68
7.1.170.0070.00715.74
7.1.160.0030.01015.68
7.1.150.0110.00015.55
7.1.140.0070.00715.84
7.1.130.0070.00715.87
7.1.120.0060.00716.40
7.1.110.0050.00916.02
7.1.100.0110.00216.15
7.1.90.0090.00516.04
7.1.80.0080.00816.00
7.1.70.0080.00815.58
7.1.60.0080.01324.55
7.1.50.0130.00824.49
7.1.40.0080.01024.14
7.1.30.0070.01324.14
7.1.20.0130.00724.36
7.1.10.0030.00915.13
7.1.00.0080.00715.30
7.0.330.0040.00815.52
7.0.320.0070.00715.30
7.0.310.0070.00715.37
7.0.300.0100.00315.24
7.0.290.0000.01415.34
7.0.280.0030.00615.34
7.0.270.0100.00315.37
7.0.260.0030.00615.07
7.0.250.0040.00715.32
7.0.240.0090.00015.39
7.0.230.0000.00915.59
7.0.220.0050.00315.28
7.0.210.0100.00315.31
7.0.200.0100.00315.23
7.0.190.0030.00615.45
7.0.180.0070.00315.39
7.0.170.0000.01615.34
7.0.160.0090.00315.18
7.0.150.0000.01215.18
7.0.140.0000.01115.31
7.0.130.0090.00615.57
7.0.120.0060.00615.27
7.0.110.0030.00715.45
7.0.100.0000.01515.53
7.0.90.0060.00615.23
7.0.80.0080.00315.38
7.0.70.0070.01015.43
7.0.60.0030.00615.61
7.0.50.0100.00315.09
7.0.40.0060.01213.41
7.0.30.0100.00313.56
7.0.20.0000.00813.38
7.0.10.0040.00713.30
7.0.00.0060.00613.44
5.6.400.0030.01014.54
5.6.390.0060.00314.43
5.6.380.0070.00414.78
5.6.370.0110.00314.66
5.6.360.0070.00314.68
5.6.350.0100.00614.54
5.6.340.0000.00814.40
5.6.330.0040.00814.65
5.6.320.0060.00614.16
5.6.310.0030.00714.68
5.6.300.0060.01214.66
5.6.290.0090.00614.62
5.6.280.0060.00314.39
5.6.270.0070.00714.70
5.6.260.0120.00014.61
5.6.250.0000.01014.29
5.6.240.0060.00714.32
5.6.230.0100.00014.78
5.6.220.0000.00914.39
5.6.210.0000.01514.20
5.6.200.0100.00714.23
5.6.190.0030.01214.14
5.6.180.0110.00414.35
5.6.170.0080.00014.15
5.6.160.0030.00614.48
5.6.150.0110.00314.28
5.6.140.0070.00414.42
5.6.130.0120.00614.07
5.6.120.0040.00714.62
5.6.110.0070.00714.54
5.6.100.0150.00314.47
5.6.90.0030.00914.55
5.6.80.0000.01314.62
5.6.70.0080.00814.43
5.6.60.0000.01414.39
5.6.50.0040.01214.40
5.6.40.0000.01014.41
5.6.30.0050.00814.31
5.6.20.0060.01014.44
5.6.10.0070.00714.33
5.6.00.0110.00314.66

preferences:
45 ms | 403 KiB | 5 Q