3v4l.org

run code in 300+ PHP versions simultaneously
<?php $c = function('hi') { print "42"; }; echo var_export($c, true);

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.0100.03319.25
5.4.320.0030.04019.14
5.4.310.0070.07019.09
5.4.300.0070.05018.98
5.4.290.0000.08019.25
5.4.280.0000.05019.09
5.4.270.0000.06719.25
5.4.260.0000.08719.06
5.4.250.0070.06718.98
5.4.240.0030.04719.19
5.4.230.0030.07318.99
5.4.220.0000.04319.23
5.4.210.0070.07319.08
5.4.200.0030.07319.16
5.4.190.0030.07319.21
5.4.180.0030.05319.14
5.4.170.0070.03319.16
5.4.160.0030.05019.04
5.4.150.0130.03719.18
5.4.140.0030.07316.73
5.4.130.0070.06016.37
5.4.120.0000.04016.56
5.4.110.0000.04716.23
5.4.100.0000.07316.61
5.4.90.0070.07016.61
5.4.80.0070.07016.51
5.4.70.0070.05316.49
5.4.60.0070.04716.53
5.4.50.0070.03316.56
5.4.40.0030.03316.51
5.4.30.0000.03716.52
5.4.20.0070.03016.55
5.4.10.0030.04016.50
5.4.00.0070.04715.82
5.3.290.0030.07714.59
5.3.280.0030.03714.75
5.3.270.0030.07714.76
5.3.260.0000.04714.50
5.3.250.0000.03714.51
5.3.240.0070.06714.65
5.3.230.0000.04314.51
5.3.220.0030.07714.57
5.3.210.0030.07014.54
5.3.200.0030.07314.46
5.3.190.0030.06014.47
5.3.180.0100.05014.53
5.3.170.0030.07314.58
5.3.160.0070.07314.48
5.3.150.0030.05014.57
5.3.140.0030.04314.55
5.3.130.0030.07014.52
5.3.120.0030.04314.52
5.3.110.0000.04314.45
5.3.100.0000.03714.02
5.3.90.0070.05313.99
5.3.80.0000.05314.09
5.3.70.0030.05314.03
5.3.60.0030.05313.93
5.3.50.0100.04314.03
5.3.40.0000.07713.95
5.3.30.0070.07013.81
5.3.20.0000.07713.77
5.3.10.0030.03313.57
5.3.00.0070.06713.68
5.2.170.0030.04012.17
5.2.160.0070.03712.17
5.2.150.0000.05712.17
5.2.140.0000.05712.17
5.2.130.0000.06012.17
5.2.120.0030.04712.17
5.2.110.0030.02712.17
5.2.100.0070.06312.17
5.2.90.0000.05312.17
5.2.80.0000.04312.17
5.2.70.0000.05012.17
5.2.60.0030.04712.17
5.2.50.0000.04312.17
5.2.40.0000.05312.17
5.2.30.0000.04012.17
5.2.20.0100.05712.17
5.2.10.0000.06312.17
5.2.00.0030.06012.17
5.1.60.0070.02712.17
5.1.50.0070.02712.17
5.1.40.0100.02312.17
5.1.30.0070.03012.17
5.1.20.0030.05712.17
5.1.10.0070.04712.17
5.1.00.0070.04712.17
5.0.50.0000.04712.17
5.0.40.0000.02712.17
5.0.30.0000.03012.17
5.0.20.0000.02712.17
5.0.10.0000.04312.17
5.0.00.0000.04312.17
4.4.90.0030.03312.17
4.4.80.0000.03012.17
4.4.70.0070.01712.17
4.4.60.0000.01712.17
4.4.50.0000.04012.17
4.4.40.0030.05012.17
4.4.30.0000.03312.17
4.4.20.0030.03712.17
4.4.10.0000.02712.17
4.4.00.0070.05012.17
4.3.110.0030.02012.17
4.3.100.0030.03312.17
4.3.90.0030.03312.17
4.3.80.0030.03312.17
4.3.70.0030.01712.17
4.3.60.0030.03012.17
4.3.50.0030.03312.17
4.3.40.0000.04312.17
4.3.30.0030.02012.17
4.3.20.0030.01712.17
4.3.10.0030.01712.17
4.3.00.0030.03012.17

preferences:
143.85 ms | 939 KiB | 8 Q