3v4l.org

run code in 300+ PHP versions simultaneously
<?php const FOO '1234'; print $foo

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.290.0170.08319.22
5.4.280.0200.04319.16
5.4.270.0270.06319.00
5.4.260.0130.04019.30
5.4.250.0230.07319.21
5.4.240.0230.06319.21
5.4.230.0170.03719.08
5.4.220.0170.04718.97
5.4.210.0230.04718.86
5.4.200.0200.03719.19
5.4.190.0200.07019.20
5.4.180.0330.06719.23
5.4.170.0270.04719.12
5.4.160.0230.03019.18
5.4.150.0170.06718.96
5.4.140.0300.05016.68
5.4.130.0230.06716.71
5.4.120.0170.04016.50
5.4.110.0230.06716.33
5.4.100.0230.06316.26
5.4.90.0230.04316.27
5.4.80.0200.07316.54
5.4.70.0230.06016.44
5.4.60.0200.04016.52
5.4.50.0270.06016.54
5.4.40.0200.06016.53
5.4.30.0170.05016.43
5.4.20.0270.06016.31
5.4.10.0300.03716.42
5.4.00.0300.06015.95
5.3.280.0300.06314.55
5.3.270.0230.07014.63
5.3.260.0200.03714.48
5.3.250.0330.06314.59
5.3.240.0230.03714.58
5.3.230.0270.06014.58
5.3.220.0270.07014.61
5.3.210.0300.06714.44
5.3.200.0230.06014.55
5.3.190.0230.03014.46
5.3.180.0230.06714.40
5.3.170.0200.06014.59
5.3.160.0270.04314.50
5.3.150.0270.04714.51
5.3.140.0270.06714.41
5.3.130.0200.05314.50
5.3.120.0170.05714.46
5.3.110.0200.05314.42
5.3.100.0230.07013.91
5.3.90.0170.04713.86
5.3.80.0130.04713.81
5.3.70.0200.04313.87
5.3.60.0170.04013.95
5.3.50.0200.07013.92
5.3.40.0330.03713.72
5.3.30.0370.06013.78
5.3.20.0200.07313.64
5.3.10.0230.06713.49
5.3.00.0230.06713.51
5.2.170.0130.04012.53
5.2.160.0170.05712.53
5.2.150.0230.05712.53
5.2.140.0200.04712.53
5.2.130.0200.05012.53
5.2.120.0270.05712.53
5.2.110.0230.05012.53
5.2.100.0300.02712.53
5.2.90.0270.04712.53
5.2.80.0230.05312.53
5.2.70.0270.04312.53
5.2.60.0230.03012.53
5.2.50.0100.06312.53
5.2.40.0070.06012.53
5.2.30.0230.05312.53
5.2.20.0170.03312.53
5.2.10.0130.05012.53
5.2.00.0200.05712.53
5.1.60.0170.04012.53
5.1.50.0200.05012.53
5.1.40.0170.04012.53
5.1.30.0100.04712.53
5.1.20.0200.05012.53
5.1.10.0170.05312.53
5.1.00.0100.03712.53
5.0.50.0100.02712.53
5.0.40.0070.02012.53
5.0.30.0170.03012.53
5.0.20.0170.03712.53
5.0.10.0070.02712.53
5.0.00.0100.03312.53
4.4.90.0130.03012.53
4.4.80.0100.03312.53
4.4.70.0070.03012.53
4.4.60.0070.02012.53
4.4.50.0070.03712.53
4.4.40.0070.04312.53
4.4.30.0070.04012.53
4.4.20.0070.03312.53
4.4.10.0130.03012.53
4.4.00.0030.02712.53
4.3.110.0070.03312.53
4.3.100.0070.02012.53
4.3.90.0030.02712.53
4.3.80.0130.02312.53
4.3.70.0100.03012.53
4.3.60.0100.01712.53
4.3.50.0070.03712.53
4.3.40.0100.02712.53
4.3.30.0070.03012.53
4.3.20.0030.02712.53
4.3.10.0030.02312.53
4.3.00.0070.02312.53

preferences:
167 ms | 1394 KiB | 7 Q