3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public $bar = 'baz'; } class FooProxy extends Foo { private $wrapped; public function __construct(Foo $foo) { $this->wrapped = $foo; unset($this->bar); } public function & __get($name) { return $this->wrapped->$name; } public function __set($name, $value) { $this->wrapped->$name = $value; } public function __isset($name) { return isset($this->wrapped->$name); } public function __unset($name) { return unset($this->wrapped->$name); } }

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)
5.4.160.0100.05319.18
5.4.150.0000.05718.85
5.4.140.0200.06316.43
5.4.130.0170.06016.55
5.4.120.0070.04016.34
5.4.110.0070.06316.53
5.4.100.0130.06316.44
5.4.90.0130.06316.39
5.4.80.0030.05016.46
5.4.70.0100.07016.46
5.4.60.0030.07716.41
5.4.50.0100.06316.46
5.4.40.0070.05316.27
5.4.30.0170.07016.27
5.4.20.0130.06316.50
5.4.10.0130.06716.36
5.4.00.0030.06015.77
5.3.260.0070.07314.63
5.3.250.0100.07714.65
5.3.240.0030.07714.63
5.3.230.0030.05314.61
5.3.220.0070.07014.60
5.3.210.0130.05714.57
5.3.200.0030.07714.57
5.3.190.0030.05714.64
5.3.180.0030.06014.61
5.3.170.0000.04014.57
5.3.160.0030.07014.63
5.3.150.0070.04714.57
5.3.140.0070.06014.62
5.3.130.0030.05714.57
5.3.120.0030.08014.58
5.3.110.0030.05314.71
5.3.100.0100.04314.14
5.3.90.0170.06314.10
5.3.80.0070.07714.06
5.3.70.0200.04714.10
5.3.60.0100.04313.98
5.3.50.0070.05013.95
5.3.40.0100.07014.11
5.3.30.0100.06313.92
5.3.20.0100.06013.70
5.3.10.0170.05713.59
5.3.00.0070.04713.70

preferences:
142.51 ms | 1394 KiB | 7 Q