3v4l.org

run code in 300+ PHP versions simultaneously
<?php class myclass { const NEW "New"; }

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.280.0060.04412.38
5.4.270.0080.04512.39
5.4.260.0070.04912.39
5.4.250.0090.04312.39
5.4.240.0080.04412.39
5.4.230.0070.04512.38
5.4.220.0100.04312.38
5.4.210.0080.04412.38
5.4.200.0070.04712.38
5.4.190.0070.04512.38
5.4.180.0090.04212.38
5.4.170.0080.04212.38
5.4.160.0080.04212.38
5.4.150.0070.04512.38
5.4.140.0090.04712.07
5.4.130.0080.03612.05
5.4.120.0110.05312.01
5.4.110.0110.04912.01
5.4.100.0080.05812.01
5.4.90.0090.05112.01
5.4.80.0150.05512.01
5.4.70.0110.04112.01
5.4.60.0140.05512.00
5.4.50.0120.06312.01
5.4.40.0080.06611.99
5.4.30.0180.06511.99
5.4.20.0110.05811.98
5.4.10.0090.06911.99
5.4.00.0120.06411.48
5.3.280.0140.06012.71
5.3.270.0110.05512.72
5.3.260.0080.04212.72
5.3.250.0090.05012.72
5.3.240.0090.06612.72
5.3.230.0070.06212.71
5.3.220.0070.05612.68
5.3.210.0070.06312.68
5.3.200.0100.05312.68
5.3.190.0100.05712.68
5.3.180.0070.05812.67
5.3.170.0100.04912.67
5.3.160.0090.05312.67
5.3.150.0100.06512.67
5.3.140.0140.07312.66
5.3.130.0110.07512.66
5.3.120.0130.08312.66
5.3.110.0140.06712.66
5.3.100.0130.04712.12
5.3.90.0110.06012.09
5.3.80.0090.05612.08
5.3.70.0110.05012.08
5.3.60.0090.07112.07
5.3.50.0080.05412.01
5.3.40.0120.07912.01
5.3.30.0080.06211.96
5.3.20.0050.04711.74
5.3.10.0070.04711.71
5.3.00.0070.04911.70
5.2.170.0080.0389.20
5.2.160.0080.0469.20
5.2.150.0100.0479.19
5.2.140.0100.0479.19
5.2.130.0090.0449.15
5.2.120.0090.0449.15
5.2.110.0090.0429.16
5.2.100.0120.0549.16
5.2.90.0070.0459.15
5.2.80.0120.0529.15
5.2.70.0090.0379.15
5.2.60.0100.0549.11
5.2.50.0060.0399.08
5.2.40.0070.0359.05
5.2.30.0090.0479.03
5.2.20.0110.0449.02
5.2.10.0090.0478.93
5.2.00.0080.0468.79
5.1.60.0100.0418.07
5.1.50.0060.0328.07
5.1.40.0110.0548.05
5.1.30.0060.0438.40
5.1.20.0080.0438.42
5.1.10.0120.0468.15
5.1.00.0070.0398.15
5.0.50.0050.0236.63
5.0.40.0040.0346.49
5.0.30.0050.0436.29
5.0.20.0050.0236.26
5.0.10.0040.0206.25
5.0.00.0020.0336.23
4.4.90.0030.0164.78
4.4.80.0040.0154.76
4.4.70.0030.0164.75
4.4.60.0030.0164.76
4.4.50.0040.0164.77
4.4.40.0040.0264.71
4.4.30.0040.0164.76
4.4.20.0040.0174.85
4.4.10.0040.0164.85
4.4.00.0050.0254.76
4.3.110.0060.0154.67
4.3.100.0040.0144.67
4.3.90.0050.0154.63
4.3.80.0020.0274.59
4.3.70.0040.0144.63
4.3.60.0050.0144.62
4.3.50.0020.0194.63
4.3.40.0040.0274.54
4.3.30.0020.0183.29
4.3.20.0010.0213.27
4.3.10.0040.0163.23
4.3.00.0130.0207.51

preferences:
139.92 ms | 1394 KiB | 7 Q