3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public $method = 'testing'; public function meh() { return {$this->method}::testing(); } public static function testing() { echo "Working\n"; } } $myClass = 'Test'; $myClass::testing();

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.270.0270.07018.87
5.4.260.0270.06719.25
5.4.250.0270.05319.08
5.4.240.0270.03019.16
5.4.230.0270.07019.14
5.4.220.0170.04019.12
5.4.210.0200.05019.30
5.4.200.0230.07319.16
5.4.190.0270.05718.83
5.4.180.0170.06018.97
5.4.170.0200.07319.07
5.4.160.0270.05719.13
5.4.150.0230.07319.09
5.4.140.0270.05016.32
5.4.130.0230.03316.41
5.4.120.0300.06316.30
5.4.110.0300.03716.19
5.4.100.0170.03716.54
5.4.90.0230.04316.36
5.4.80.0170.03716.31
5.4.70.0170.04716.34
5.4.60.0130.04016.34
5.4.50.0230.03316.49
5.4.40.0100.04716.52
5.4.30.0300.03716.22
5.4.20.0230.04316.40
5.4.10.0230.02716.51
5.4.00.0200.03715.96
5.3.280.0200.04314.60
5.3.270.0130.04714.61
5.3.260.0100.05014.51
5.3.250.0130.03714.83
5.3.240.0130.03714.69
5.3.230.0130.04714.57
5.3.220.0230.04014.48
5.3.210.0130.04014.64
5.3.200.0130.04314.59
5.3.190.0170.04014.57
5.3.180.0130.03714.46
5.3.170.0200.03314.49
5.3.160.0130.04014.79
5.3.150.0070.04314.64
5.3.140.0130.03714.46
5.3.130.0200.04314.70
5.3.120.0170.03714.54
5.3.110.0170.04314.66
5.3.100.0200.05014.01
5.3.90.0200.03713.95
5.3.80.0130.03713.93
5.3.70.0270.03014.07
5.3.60.0200.03714.02
5.3.50.0130.04314.06
5.3.40.0130.03713.88
5.3.30.0200.04313.98
5.3.20.0100.04013.60
5.3.10.0170.03013.73
5.3.00.0230.02713.61
5.2.170.0130.02712.29
5.2.160.0130.03312.29
5.2.150.0130.02712.29
5.2.140.0070.03312.29
5.2.130.0100.03312.29
5.2.120.0170.02712.29
5.2.110.0130.02712.29
5.2.100.0100.03012.29
5.2.90.0100.03012.29
5.2.80.0130.02712.29
5.2.70.0200.03012.29
5.2.60.0070.03312.29
5.2.50.0130.02712.29
5.2.40.0070.03012.29
5.2.30.0130.02312.29
5.2.20.0130.02712.29
5.2.10.0070.03312.29
5.2.00.0130.02312.29
5.1.60.0100.02312.29
5.1.50.0130.02012.29
5.1.40.0100.02312.29
5.1.30.0100.02312.29
5.1.20.0170.02012.29
5.1.10.0130.02312.29
5.1.00.0100.02312.29
5.0.50.0000.02312.29
5.0.40.0070.01712.29
5.0.30.0070.03012.29
5.0.20.0030.02012.29
5.0.10.0030.02012.29
5.0.00.0030.03712.29
4.4.90.0030.01712.29
4.4.80.0070.01312.29
4.4.70.0000.02012.29
4.4.60.0030.02012.29
4.4.50.0100.01312.29
4.4.40.0030.02712.29
4.4.30.0070.01312.29
4.4.20.0070.01712.29
4.4.10.0070.01312.29
4.4.00.0070.02012.29
4.3.110.0000.02012.29
4.3.100.0070.01312.29
4.3.90.0030.01712.29
4.3.80.0030.02712.29
4.3.70.0030.01712.29
4.3.60.0030.01312.29
4.3.50.0070.01312.29
4.3.40.0070.02312.29
4.3.30.0070.02012.29
4.3.20.0030.02312.29
4.3.10.0030.03712.29
4.3.00.0030.01312.29

preferences:
138.53 ms | 1394 KiB | 7 Q