3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public int $foo = 42; public function unset_me() { unset( $this->foo ); } public function __set($key, $value) { echo "__set called with {$value}\n"; } } $f = new Foo; $f->foo = 42; $f->unset_me(); $f->foo = 43;

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.5.30.0120.00519.47
8.5.20.0150.00519.62
8.5.10.0100.00720.09
8.5.00.0130.00920.09
8.4.180.0120.00825.75
8.4.170.0120.00823.89
8.4.160.0060.00523.88
8.4.150.0090.00416.93
8.4.140.0100.01117.61
8.4.130.0100.01018.04
8.4.120.0100.00920.75
8.4.110.0150.00618.78
8.4.100.0120.00817.90
8.4.90.0140.00722.45
8.4.80.0070.00118.68
8.4.70.0090.01119.07
8.4.60.0070.01320.37
8.4.50.0100.00918.61
8.4.40.0130.00619.73
8.4.30.0120.00620.67
8.4.20.0030.00522.54
8.4.10.0030.00723.64
8.3.300.0120.01022.66
8.3.290.0120.00918.21
8.3.280.0060.00617.06
8.3.270.0110.00816.37
8.3.260.0110.00816.48
8.3.250.0080.01018.90
8.3.240.0120.00916.68
8.3.230.0060.00416.56
8.3.220.0050.00318.76
8.3.210.0100.00816.68
8.3.200.0050.00416.63
8.3.190.0110.00917.18
8.3.180.0040.00418.98
8.3.170.0070.00716.92
8.3.160.0060.01318.60
8.3.150.0030.00616.67
8.3.140.0040.01120.82
8.3.130.0150.00318.32
8.3.120.0160.00020.86
8.3.110.0110.00020.94
8.3.100.0000.00724.06
8.3.90.0040.00426.77
8.3.80.0050.00516.63
8.3.70.0120.00916.63
8.3.60.0150.00018.56
8.3.50.0160.00318.44
8.3.40.0090.00620.34
8.3.30.0120.00318.85
8.3.20.0000.00724.18
8.3.10.0080.00024.66
8.3.00.0070.00026.16
8.2.300.0100.00918.06
8.2.290.0080.00416.54
8.2.280.0150.00618.20
8.2.270.0150.00416.76
8.2.260.0050.00317.16
8.2.250.0030.00518.46
8.2.240.0060.00317.38
8.2.230.0000.00822.58
8.2.220.0040.00437.54
8.2.210.0000.00926.77
8.2.200.0030.00618.29
8.2.190.0140.00718.54
8.2.180.0150.00725.92
8.2.170.0110.00419.14
8.2.160.0150.00022.96
8.2.150.0060.00325.66
8.2.140.0000.00824.66
8.2.130.0050.00226.16
8.2.120.0000.00726.16
8.2.110.0080.00321.03
8.2.100.0080.00317.66
8.2.90.0030.00619.16
8.2.80.0000.00817.97
8.2.70.0030.00517.38
8.2.60.0040.00418.04
8.2.50.0060.00318.10
8.2.40.0000.00822.05
8.2.30.0000.00817.96
8.2.20.0050.00220.49
8.2.10.0040.00418.25
8.2.00.0000.00719.30
8.1.340.0080.01217.55
8.1.330.0110.00816.91
8.1.320.0110.00815.99
8.1.310.0100.00718.43
8.1.300.0030.00615.86
8.1.290.0030.00730.84
8.1.280.0140.00325.92
8.1.270.0050.00324.66
8.1.260.0090.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00621.25
8.1.230.0090.00317.76
8.1.220.0050.00317.74
8.1.210.0060.00318.77
8.1.200.0030.00617.13
8.1.190.0030.00617.23
8.1.180.0040.00418.10
8.1.170.0040.00418.42
8.1.160.0070.00018.82
8.1.150.0040.00418.49
8.1.140.0020.00517.38
8.1.130.0100.00718.41
8.1.120.0080.00818.49
8.1.110.0170.00018.57
8.1.100.0130.00418.50
8.1.90.0150.00318.50
8.1.80.0100.00518.45
8.1.70.0140.00318.55
8.1.60.0060.01218.71
8.1.50.0100.01018.69
8.1.40.0150.00418.66
8.1.30.0120.00618.68
8.1.20.0090.00918.77
8.1.10.0120.00618.66
8.1.00.0130.00518.63
8.0.300.0000.00818.77
8.0.290.0000.00816.63
8.0.280.0030.00318.29
8.0.270.0000.00817.20
8.0.260.0100.00517.98
8.0.250.0060.01017.86
8.0.240.0080.00818.00
8.0.230.0130.00418.00
8.0.220.0080.00817.93
8.0.210.0120.00217.98
8.0.200.0050.00918.05
8.0.190.0070.00717.99
8.0.180.0110.00618.01
8.0.170.0080.00818.04
8.0.160.0130.00317.95
8.0.150.0150.00017.80
8.0.140.0090.00617.85
8.0.130.0150.00017.93
8.0.120.0050.01117.93
8.0.110.0110.00418.02
8.0.100.0090.00617.97
8.0.90.0110.00717.93
8.0.80.0070.01317.89
8.0.70.0120.00417.89
8.0.60.0120.00217.84
8.0.50.0160.00017.80
8.0.30.0100.00517.80
8.0.20.0000.01518.01
8.0.10.0060.00918.00

preferences:
40.63 ms | 1105 KiB | 5 Q