3v4l.org

run code in 300+ PHP versions simultaneously
<?php class klas { public int a; public function inc() { $this->a++; } } echo 'a'; /* $x = new klas(); $x->a=0; $x->inc(); echo $x->a; */ ?>

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.40.0070.06316.50
5.4.30.0070.07016.33
5.4.20.0070.06716.34
5.4.10.0030.07016.44
5.4.00.0070.04015.89
5.3.140.0030.07314.54
5.3.130.0030.07714.59
5.3.120.0030.07314.60
5.3.110.0030.07714.64
5.3.100.0070.07314.04
5.3.90.0000.06314.07
5.3.80.0030.05314.06
5.3.70.0030.07014.07
5.3.60.0000.07313.98
5.3.50.0030.07014.00
5.3.40.0030.06013.92
5.3.30.0030.05013.89
5.3.20.0070.07313.67
5.3.10.0030.03313.68
5.3.00.0070.04713.68

preferences:
141.79 ms | 1398 KiB | 7 Q