3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo { const TRUE = 0; const true = 0; var_dump(true, 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.0300.07319.13
5.4.320.0300.07019.22
5.4.310.0300.06319.08
5.4.300.0330.03019.24
5.4.290.0270.05019.25
5.4.280.0330.04719.08
5.4.270.0330.04718.79
5.4.260.0270.07019.09
5.4.250.0370.06719.08
5.4.240.0300.04018.91
5.4.230.0270.03719.23
5.4.220.0330.07019.21
5.4.210.0230.04318.80
5.4.200.0330.04019.08
5.4.190.0270.05719.26
5.4.180.0330.07018.88
5.4.170.0330.06318.92
5.4.160.0300.05319.21
5.4.150.0270.06019.07
5.4.140.0230.04316.36
5.4.130.0300.04016.18
5.4.120.0400.05716.25
5.4.110.0270.07016.39
5.4.100.0300.06716.46
5.4.90.0300.04016.41
5.4.80.0300.05016.18
5.4.70.0300.06716.18
5.4.60.0270.04716.29
5.4.50.0270.05716.41
5.4.40.0230.06716.04
5.4.30.0370.06016.45
5.4.20.0270.04316.36
5.4.10.0230.04716.31
5.4.00.0300.03715.61
5.3.290.0370.06714.57
5.3.280.0200.04314.54
5.3.270.0230.05014.59
5.3.260.0330.06714.54
5.3.250.0230.06714.71
5.3.240.0270.07714.60
5.3.230.0300.07714.56
5.3.220.0300.06714.52
5.3.210.0270.05014.47
5.3.200.0270.06014.41
5.3.190.0230.08014.41
5.3.180.0270.07314.61
5.3.170.0270.07314.51
5.3.160.0270.06714.49
5.3.150.0400.06314.41
5.3.140.0270.06314.48
5.3.130.0270.06314.48
5.3.120.0370.02714.40
5.3.110.0400.04014.52
5.3.100.0300.03013.98
5.3.90.0270.03313.87
5.3.80.0200.04013.86
5.3.70.0200.04013.86
5.3.60.0300.06713.84
5.3.50.0270.03713.78
5.3.40.0270.07313.87
5.3.30.0300.06013.68
5.3.20.0400.06013.71
5.3.10.0300.03013.49
5.3.00.0300.03013.54
5.2.170.0200.03012.54
5.2.160.0270.02312.54
5.2.150.0230.05312.54
5.2.140.0200.03712.54
5.2.130.0230.03312.54
5.2.120.0300.04712.54
5.2.110.0270.02712.54
5.2.100.0230.05012.54
5.2.90.0270.04012.54
5.2.80.0200.04712.54
5.2.70.0170.03312.54
5.2.60.0130.03312.54
5.2.50.0200.02712.54
5.2.40.0130.03012.54
5.2.30.0200.03012.54
5.2.20.0170.02712.54
5.2.10.0130.03012.54
5.2.00.0100.03012.54
5.1.60.0170.02712.54
5.1.50.0130.02312.54
5.1.40.0170.02712.54
5.1.30.0100.03012.54
5.1.20.0170.02012.54
5.1.10.0070.03012.54
5.1.00.0130.03012.54
5.0.50.0070.02312.54
5.0.40.0070.02012.54
5.0.30.0070.03312.54
5.0.20.0030.02012.54
5.0.10.0070.02312.54
5.0.00.0070.03012.54
4.4.90.0070.01712.54
4.4.80.0070.01712.54
4.4.70.0100.01312.54
4.4.60.0100.01312.54
4.4.50.0030.01712.54
4.4.40.0030.02712.54
4.4.30.0030.01712.54
4.4.20.0070.01712.54
4.4.10.0030.01712.54
4.4.00.0070.02312.54
4.3.110.0030.01712.54
4.3.100.0030.02012.54
4.3.90.0070.01312.54
4.3.80.0070.02312.54
4.3.70.0030.01712.54
4.3.60.0100.01012.54
4.3.50.0030.01712.54
4.3.40.0070.02312.54
4.3.30.0030.01312.54
4.3.20.0000.01712.54
4.3.10.0030.01312.54
4.3.00.0030.01312.54

preferences:
138.72 ms | 1394 KiB | 7 Q