3v4l.org

run code in 300+ PHP versions simultaneously
<?php class CTroll { public function hardTrolling(){echo "in hard trolling";} public funciton softTrolling(){echo "in soft trolling";} } $randomTroll = new CTroll(); $powerLevel = "hard"; $appended = $powerLevel . "Trolling"; $randomTroll->$appended();

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.280.0100.07912.38
5.4.270.0060.07612.38
5.4.260.0120.07512.38
5.4.250.0150.05812.38
5.4.240.0120.08012.38
5.4.230.0070.05712.38
5.4.220.0120.06612.38
5.4.210.0060.08212.38
5.4.200.0190.09512.37
5.4.190.0110.08412.37
5.4.180.0060.06212.37
5.4.170.0050.05712.38
5.4.160.0200.07912.38
5.4.150.0080.05812.37
5.4.140.0130.07812.06
5.4.130.0060.06012.04
5.4.120.0100.09112.00
5.4.110.0130.05112.00
5.4.100.0110.04912.00
5.4.90.0180.07812.00
5.4.80.0090.05612.00
5.4.70.0110.05212.00
5.4.60.0160.07412.00
5.4.50.0120.07212.00
5.4.40.0170.06811.99
5.4.30.0070.06511.98
5.4.20.0120.05811.98
5.4.10.0070.07111.99
5.4.00.0080.05811.48
5.3.280.0080.05612.71
5.3.270.0220.08712.73
5.3.260.0080.06412.72
5.3.250.0120.05712.72
5.3.240.0120.05112.72
5.3.230.0140.07812.70
5.3.220.0060.06212.68
5.3.210.0090.06412.68
5.3.200.0140.08912.68
5.3.190.0120.05412.68
5.3.180.0060.05812.68
5.3.170.0100.07712.67
5.3.160.0160.14812.67
5.3.150.0230.07412.67
5.3.140.0130.04712.66
5.3.130.0100.06312.66
5.3.120.0070.03812.66
5.3.110.0060.03812.66
5.3.100.0080.03612.12
5.3.90.0060.04012.09
5.3.80.0060.03812.07
5.3.70.0070.03712.08
5.3.60.0100.03612.06
5.3.50.0110.03612.00
5.3.40.0080.04812.00
5.3.30.0080.05011.95
5.3.20.0100.04611.73
5.3.10.0120.07311.70
5.3.00.0050.07911.69

preferences:
150.17 ms | 1394 KiB | 7 Q