3v4l.org

run code in 300+ PHP versions simultaneously
<?php public class Human { public $firstName; public $lastName; public $age; }

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.260.0300.06718.97
5.4.250.0230.07018.87
5.4.240.0200.05718.84
5.4.230.0200.07018.86
5.4.220.0230.04318.99
5.4.210.0130.04719.07
5.4.200.0230.06719.21
5.4.190.0270.05719.15
5.4.180.0170.05319.25
5.4.170.0200.07718.97
5.4.160.0200.07319.20
5.4.150.0270.07019.13
5.4.140.0230.07016.51
5.4.130.0130.06016.32
5.4.120.0270.05016.41
5.4.110.0230.05716.56
5.4.100.0230.04716.46
5.4.90.0130.06316.41
5.4.80.0170.05016.52
5.4.70.0200.03016.44
5.4.60.0130.03716.58
5.4.50.0270.05016.57
5.4.40.0170.05016.53
5.4.30.0230.06716.38
5.4.20.0200.07016.43
5.4.10.0170.07316.39
5.4.00.0170.07315.80
5.3.280.0200.07314.77
5.3.270.0200.04014.77
5.3.260.0230.06714.77
5.3.250.0200.04714.77
5.3.240.0200.07014.77
5.3.230.0230.07714.77
5.3.220.0070.04714.77
5.3.210.0170.03714.77
5.3.200.0170.06314.77
5.3.190.0300.03714.77
5.3.180.0170.05014.77
5.3.170.0200.05714.77
5.3.160.0230.05314.77
5.3.150.0170.06014.77
5.3.140.0230.05314.77
5.3.130.0170.06714.77
5.3.120.0170.03714.77
5.3.110.0170.07714.77
5.3.100.0200.07714.77
5.3.90.0270.06014.77
5.3.80.0300.03014.77
5.3.70.0170.07714.77
5.3.60.0200.06714.77
5.3.50.0230.05014.77
5.3.40.0230.07014.77
5.3.30.0200.04014.77
5.3.20.0170.04014.77
5.3.10.0170.05714.77
5.3.00.0170.07014.77
5.2.170.0170.04014.77
5.2.160.0170.06014.77
5.2.150.0100.05014.77
5.2.140.0270.02714.77
5.2.130.0130.06014.77
5.2.120.0230.04714.77
5.2.110.0200.05014.77
5.2.100.0200.05014.77
5.2.90.0130.05314.77
5.2.80.0270.03714.77
5.2.70.0130.03314.77
5.2.60.0230.03314.77
5.2.50.0170.03014.77
5.2.40.0030.04314.77
5.2.30.0170.04314.77
5.2.20.0170.05714.77
5.2.10.0130.04314.77
5.2.00.0230.04714.77
5.1.60.0200.04314.77
5.1.50.0030.04314.77
5.1.40.0130.04014.77
5.1.30.0170.05714.77
5.1.20.0100.05714.77
5.1.10.0170.03014.77
5.1.00.0100.05714.77
5.0.50.0070.02714.77
5.0.40.0070.02714.77
5.0.30.0030.04014.77
5.0.20.0000.05014.77
5.0.10.0100.04014.77
5.0.00.0070.06314.77
4.4.90.0000.03714.77
4.4.80.0070.01714.77
4.4.70.0130.02014.77
4.4.60.0100.03314.77
4.4.50.0100.03014.77
4.4.40.0000.03314.77
4.4.30.0000.02314.77
4.4.20.0100.01714.77
4.4.10.0070.02314.77
4.4.00.0230.02014.77
4.3.110.0030.02714.77
4.3.100.0030.03314.77
4.3.90.0100.02014.77
4.3.80.0030.04714.77
4.3.70.0030.03714.77
4.3.60.0070.03014.77
4.3.50.0100.02714.77
4.3.40.0030.05314.77
4.3.30.0070.02014.77
4.3.20.0030.03314.77
4.3.10.0000.01714.77
4.3.00.0030.02014.77

preferences:
162.02 ms | 1394 KiB | 7 Q