3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Example { private $test; public function __construct() { unset($this->test); } public function __set($name, $value) { echo "$name=$value"; } } $t = new Example(); $property = new ReflectionProperty($t, 'test'); $property->setAccessible(true); $property->setValue($t, '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.0120.00418.56
8.3.50.0090.00821.10
8.3.40.0040.01118.80
8.3.30.0090.00618.59
8.3.20.0040.00421.48
8.3.10.0090.00021.79
8.3.00.0040.00423.66
8.2.180.0160.00025.92
8.2.170.0090.00922.96
8.2.160.0000.01422.08
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0050.00226.16
8.2.110.0100.01020.35
8.2.100.0070.00417.78
8.2.90.0000.00817.75
8.2.80.0040.00418.73
8.2.70.0070.00417.63
8.2.60.0000.00817.63
8.2.50.0000.00818.10
8.2.40.0000.00819.27
8.2.30.0000.00719.27
8.2.20.0040.00417.95
8.2.10.0040.00419.13
8.2.00.0000.00719.20
8.1.280.0090.00925.92
8.1.270.0030.00523.96
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0030.00623.97
8.1.230.0060.00619.01
8.1.220.0030.00517.74
8.1.210.0080.00018.77
8.1.200.0030.00617.35
8.1.190.0040.00417.23
8.1.180.0030.00518.10
8.1.170.0000.00818.76
8.1.160.0070.00018.71
8.1.150.0050.00218.71
8.1.140.0040.00420.93
8.1.130.0040.00720.05
8.1.120.0040.00417.42
8.1.110.0080.00017.30
8.1.100.0080.00017.46
8.1.90.0000.00817.33
8.1.80.0030.00517.45
8.1.70.0000.00717.30
8.1.60.0060.00317.61
8.1.50.0040.00417.58
8.1.40.0060.00317.57
8.1.30.0000.00817.64
8.1.20.0050.00317.66
8.1.10.0040.00417.44
8.1.00.0050.00217.41
8.0.300.0040.00419.70
8.0.290.0000.00716.88
8.0.280.0000.00918.46
8.0.270.0000.00816.75
8.0.260.0030.00319.96
8.0.250.0030.00517.00
8.0.240.0030.00316.87
8.0.230.0000.00816.89
8.0.220.0070.00016.82
8.0.210.0000.00716.91
8.0.200.0040.00416.98
8.0.190.0040.00416.84
8.0.180.0080.00016.91
8.0.170.0090.00016.94
8.0.160.0040.00416.80
8.0.150.0040.00416.86
8.0.140.0040.00416.87
8.0.130.0000.00513.38
8.0.120.0040.00416.86
8.0.110.0020.00516.92
8.0.100.0040.00416.90
8.0.90.0060.00316.72
8.0.80.0100.00716.91
8.0.70.0000.00816.97
8.0.60.0030.00516.80
8.0.50.0040.00416.73
8.0.30.0170.00417.02
8.0.20.0110.00916.96
8.0.10.0040.00416.94
8.0.00.0100.00916.82
7.4.330.0000.00515.55
7.4.320.0040.00416.54
7.4.300.0080.00016.54
7.4.290.0000.00716.51
7.4.280.0000.00716.61
7.4.270.0060.00316.67
7.4.260.0000.00613.28
7.4.250.0000.00716.48
7.4.240.0020.00516.50
7.4.230.0030.00316.60
7.4.220.0040.00416.70
7.4.210.0060.01216.61
7.4.200.0080.00016.45
7.4.140.0090.00917.86
7.4.130.0100.00716.49
7.4.120.0090.01416.41
7.4.110.0100.01116.60
7.4.100.0170.00016.44
7.4.90.0100.00716.43
7.4.80.0210.00019.39
7.4.70.0030.01516.50
7.4.60.0120.00616.49
7.4.50.0030.01216.49
7.4.40.0100.00716.69
7.4.00.0060.01014.94
7.3.330.0000.00716.20
7.3.320.0050.00013.12
7.3.310.0030.00316.21
7.3.300.0030.00316.27
7.3.290.0030.00316.32
7.3.280.0080.00716.34
7.3.260.0080.01216.51
7.3.240.0120.00516.32
7.3.230.0060.01516.33
7.3.210.0130.00316.54
7.3.200.0070.01416.30
7.3.190.0130.00816.59
7.3.180.0090.00916.33
7.3.170.0140.00316.45
7.3.160.0110.00516.48
7.3.120.0070.01014.84
7.3.110.0030.01314.41
7.3.100.0030.01014.84
7.3.90.0070.00314.83
7.3.80.0090.00514.70
7.3.70.0080.00614.64
7.3.60.0040.01314.71
7.3.50.0060.00814.78
7.3.40.0090.00614.53
7.3.30.0050.01014.78
7.3.20.0120.00515.46
7.3.10.0120.01015.65
7.3.00.0130.00615.61
7.2.330.0060.01116.52
7.2.320.0080.00916.70
7.2.310.0060.01016.63
7.2.300.0040.01216.77
7.2.290.0070.01016.37
7.2.250.0100.01014.94
7.2.240.0060.01015.00
7.2.230.0060.00914.91
7.2.220.0070.00714.82
7.2.210.0100.00714.99
7.2.200.0110.00214.97
7.2.190.0040.01214.73
7.2.180.0040.01215.03
7.2.170.0030.01314.88
7.2.160.0130.00014.98
7.2.150.0130.00614.93
7.2.140.0190.00614.89
7.2.130.0190.00514.88
7.2.120.0150.01214.68
7.2.110.0150.01514.90
7.2.100.0780.01414.79
7.2.90.0130.01015.03
7.2.80.0180.00914.90
7.2.70.0180.00414.86
7.2.60.0200.00714.87
7.2.50.0060.01214.71
7.2.40.0110.01814.75
7.2.30.0110.00714.82
7.2.20.0210.00415.20
7.2.10.0200.00014.93
7.2.00.0190.00714.94
7.1.330.0040.00715.86
7.1.320.0100.00315.70
7.1.310.0100.01014.72
7.1.300.0120.00514.64
7.1.290.0100.00714.72
7.1.280.0120.00714.77
7.1.270.0090.00814.66
7.1.260.0060.00814.73
7.1.250.0040.01513.66

preferences:
44.13 ms | 401 KiB | 5 Q