3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * This is fucking stupid */ class ConfusingClass{ /** * Private property */ private $property = 'fucking stupid'; /** * Why does this keep happening? * * @bullshit true */ private function bullshit() { return false; } public function derp() { echo "test: ", $this->property), "\n"; } } class ConfusedBullshit extends ConfusingClass { private function bullshit() { return $this->property; } } $f = new ConfusedBullshit; $f->derp(); $d = new ReflectionClass('ConfusedBullshit'); var_dump($d); var_dump($d->getProperties());

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.5.20.0100.07017.27
5.5.10.0030.04017.22
5.5.00.0030.05317.20
5.4.180.0100.06019.00
5.4.170.0170.06719.04
5.4.160.0100.04018.87
5.4.150.0070.08319.07
5.4.140.0000.06716.33
5.4.130.0130.07016.43
5.4.120.0070.07316.46
5.4.110.0100.05716.32
5.4.100.0070.03716.40
5.4.90.0100.04716.38
5.4.80.0130.05316.29
5.4.70.0100.06316.44
5.4.60.0130.07016.56
5.4.50.0030.04316.45
5.4.40.0070.05016.46
5.4.30.0000.05716.36
5.4.20.0130.03016.45
5.4.10.0030.07016.55
5.4.00.0170.03315.86
5.3.270.0200.06314.64
5.3.260.0070.03714.66
5.3.250.0100.07014.57
5.3.240.0130.03314.56
5.3.230.0030.04314.70
5.3.220.0030.08314.58
5.3.210.0000.06314.78
5.3.200.0170.03314.63
5.3.190.0100.07714.61
5.3.180.0030.04014.52
5.3.170.0030.03714.41
5.3.160.0070.04014.61
5.3.150.0070.07014.78
5.3.140.0070.05314.56
5.3.130.0100.07314.54
5.3.120.0030.07014.55
5.3.110.0070.06014.51
5.3.100.0100.07714.11
5.3.90.0070.05313.97
5.3.80.0030.04314.04
5.3.70.0130.06714.02
5.3.60.0070.07714.07
5.3.50.0000.07714.02
5.3.40.0070.07313.99
5.3.30.0000.04713.96
5.3.20.0070.07313.59
5.3.10.0030.07713.72
5.3.00.0070.04713.53

preferences:
141.67 ms | 1394 KiB | 7 Q