3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a=null foreah( $a as $b) { }

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.320.0060.04512.49
5.4.310.0080.04412.49
5.4.300.0050.03812.49
5.4.290.0110.04212.49
5.4.280.0050.04412.39
5.4.270.0080.04312.39
5.4.260.0080.04712.39
5.4.250.0070.04212.39
5.4.240.0080.04212.39
5.4.230.0100.03612.38
5.4.220.0030.03912.38
5.4.210.0060.03512.38
5.4.200.0100.04312.38
5.4.190.0070.03812.38
5.4.180.0060.03712.38
5.4.170.0060.03812.38
5.4.160.0060.04212.38
5.4.150.0080.03912.38
5.4.140.0090.03412.07
5.4.130.0070.03812.05
5.4.120.0090.04212.02
5.4.110.0100.03512.01
5.4.100.0080.03312.01
5.4.90.0090.04212.01
5.4.80.0050.03812.01
5.4.70.0060.04012.00
5.4.60.0060.04012.00
5.4.50.0070.05812.00
5.4.40.0060.04612.00
5.4.30.0070.04212.00
5.4.20.0100.03611.98
5.4.10.0090.04211.99
5.4.00.0040.03611.48
5.3.290.0090.03812.80
5.3.280.0060.04512.71
5.3.270.0090.04112.73
5.3.260.0070.04812.72
5.3.250.0080.04012.72
5.3.240.0130.03912.72
5.3.230.0080.04812.70
5.3.220.0030.04012.68
5.3.210.0080.03812.68
5.3.200.0060.04112.68
5.3.190.0080.04512.68
5.3.180.0140.04612.67
5.3.170.0050.03812.66
5.3.160.0070.04012.68
5.3.150.0060.04112.67
5.3.140.0030.04412.66
5.3.130.0040.04112.66
5.3.120.0100.03512.66
5.3.110.0040.04212.66
5.3.100.0060.03812.12
5.3.90.0080.04912.09
5.3.80.0070.03412.08
5.3.70.0090.04312.08
5.3.60.0080.04912.06
5.3.50.0080.03612.00
5.3.40.0060.04312.00
5.3.30.0070.03811.95
5.3.20.0090.03211.73
5.3.10.0050.03511.70
5.3.00.0020.03911.68
5.2.170.0030.0329.18
5.2.160.0050.0289.18
5.2.150.0050.0309.18
5.2.140.0090.0319.18
5.2.130.0070.0319.14
5.2.120.0030.0319.14
5.2.110.0130.0299.14
5.2.100.0030.0429.14
5.2.90.0040.0299.14
5.2.80.0080.0419.14
5.2.70.0100.0379.14
5.2.60.0080.0389.09
5.2.50.0090.0349.06
5.2.40.0060.0279.04
5.2.30.0060.0329.01
5.2.20.0050.0319.00
5.2.10.0060.0378.92
5.2.00.0070.0358.78
5.1.60.0040.0358.07
5.1.50.0050.0248.06
5.1.40.0050.0248.04
5.1.30.0050.0318.40
5.1.20.0050.0358.42
5.1.10.0060.0248.14
5.1.00.0030.0338.14
5.0.50.0050.0306.62
5.0.40.0040.0276.48
5.0.30.0050.0396.29
5.0.20.0050.0286.26
5.0.10.0080.0326.24
5.0.00.0050.0316.23
4.4.90.0030.0184.78
4.4.80.0020.0254.76
4.4.70.0020.0224.75
4.4.60.0040.0194.75
4.4.50.0050.0224.77
4.4.40.0020.0324.70
4.4.30.0030.0204.76
4.4.20.0060.0224.84
4.4.10.0060.0264.85
4.4.00.0040.0234.76
4.3.110.0060.0204.67
4.3.100.0050.0144.66
4.3.90.0070.0294.64
4.3.80.0070.0304.58
4.3.70.0030.0204.63
4.3.60.0040.0244.63
4.3.50.0050.0284.63
4.3.40.0040.0364.53
4.3.30.0010.0253.28
4.3.20.0020.0153.26
4.3.10.0010.0243.22
4.3.00.0100.01314.93

preferences:
140.91 ms | 1394 KiB | 7 Q