3v4l.org

run code in 300+ PHP versions simultaneously
<?php function as() { return "stdClass"; } $obj = [];

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.340.0200.05719.11
5.4.320.0200.04719.21
5.4.310.0200.04719.09
5.4.300.0230.06718.86
5.4.290.0230.03319.03
5.4.280.0170.05718.95
5.4.270.0230.04719.23
5.4.260.0170.03719.23
5.4.250.0230.07019.12
5.4.240.0330.05319.08
5.4.230.0230.04319.19
5.4.220.0170.07019.19
5.4.210.0170.07019.19
5.4.200.0100.04319.07
5.4.190.0300.06019.20
5.4.180.0200.07019.17
5.4.170.0200.04319.08
5.4.160.0270.06719.10
5.4.150.0230.07319.23
5.4.140.0100.04316.32
5.4.130.0200.07016.32
5.4.120.0170.03316.41
5.4.110.0170.07716.28
5.4.100.0200.05016.55
5.4.90.0200.04016.19
5.4.80.0230.04016.54
5.4.70.0230.04316.44
5.4.60.0300.06016.43
5.4.50.0370.05716.42
5.4.40.0200.07716.34
5.4.30.0200.04316.53
5.4.20.0270.02716.55
5.4.10.0330.06316.51
5.4.00.0330.05715.77
5.3.290.0370.06014.57
5.3.280.0270.04714.45
5.3.270.0170.04014.45
5.3.260.0430.05314.51
5.3.250.0170.07714.55
5.3.240.0300.04314.70
5.3.230.0330.06714.63
5.3.220.0230.06014.55
5.3.210.0230.07314.66
5.3.200.0230.07014.39
5.3.190.0170.04714.66
5.3.180.0270.05314.41
5.3.170.0270.03314.40
5.3.160.0300.06714.51
5.3.150.0230.07314.41
5.3.140.0270.06014.49
5.3.130.0270.07014.49
5.3.120.0230.07314.43
5.3.110.0300.05314.38
5.3.100.0270.05713.88
5.3.90.0270.07013.87
5.3.80.0200.03713.89
5.3.70.0370.05313.96
5.3.60.0400.03013.79
5.3.50.0230.07013.93
5.3.40.0230.05713.93
5.3.30.0270.03013.85
5.3.20.0270.04013.64
5.3.10.0200.03313.45
5.3.00.0230.05713.54
5.2.170.0330.02312.16
5.2.160.0200.03712.16
5.2.150.0200.05312.16
5.2.140.0200.05712.16
5.2.130.0200.06012.16
5.2.120.0200.02712.16
5.2.110.0170.02712.16
5.2.100.0130.03012.16
5.2.90.0130.03312.16
5.2.80.0230.05312.16
5.2.70.0200.06012.16
5.2.60.0200.05712.16
5.2.50.0270.03312.16
5.2.40.0200.05012.16
5.2.30.0230.03312.16
5.2.20.0130.05712.16
5.2.10.0170.05012.16
5.2.00.0130.05012.16
5.1.60.0170.03012.16
5.1.50.0170.04012.16
5.1.40.0170.04012.16
5.1.30.0230.05012.16
5.1.20.0200.02712.16
5.1.10.0130.04712.16
5.1.00.0170.03012.16
5.0.50.0070.02712.16
5.0.40.0130.03312.16
5.0.30.0130.03312.16
5.0.20.0100.02312.16
5.0.10.0130.02012.16
5.0.00.0070.03312.16
4.4.90.0070.03312.16
4.4.80.0100.02312.16
4.4.70.0130.01312.16
4.4.60.0030.01712.16
4.4.50.0030.01712.16
4.4.40.0070.02312.16
4.4.30.0100.01712.16
4.4.20.0070.03712.16
4.4.10.0070.02012.16
4.4.00.0130.04712.16
4.3.110.0100.02012.16
4.3.100.0130.03012.16
4.3.90.0100.01712.16
4.3.80.0070.02312.16
4.3.70.0070.01312.16
4.3.60.0030.02012.16
4.3.50.0070.03312.16
4.3.40.0100.04712.16
4.3.30.0030.02312.16
4.3.20.0030.02312.16
4.3.10.0000.02012.16
4.3.00.0030.01312.16

preferences:
145.23 ms | 1394 KiB | 7 Q