3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(area(5,2)); private function area($h, $w) { return $h*$w;}

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.230.0100.04312.36
5.4.220.0130.03912.36
5.4.210.0130.03812.36
5.4.200.0100.04012.36
5.4.190.0110.04312.35
5.4.180.0100.04312.36
5.4.170.0130.04112.36
5.4.160.0070.04212.35
5.4.150.0140.04412.35
5.4.140.0120.04512.04
5.4.130.0090.04312.02
5.4.120.0090.04311.99
5.4.110.0180.06311.98
5.4.100.0100.04311.98
5.4.90.0130.03911.98
5.4.80.0090.04311.98
5.4.70.0200.06211.98
5.4.60.0080.04311.98
5.4.50.0100.03811.98
5.4.40.0120.03711.97
5.4.30.0080.04211.96
5.4.20.0110.04011.96
5.4.10.0120.03911.96
5.4.00.0150.06511.46
5.3.280.0140.03812.71
5.3.270.0120.04112.72
5.3.260.0120.04212.72
5.3.250.0150.04112.72
5.3.240.0090.04412.72
5.3.230.0130.04312.71
5.3.220.0140.03812.68
5.3.210.0160.05812.68
5.3.200.0080.04412.68
5.3.190.0100.04312.68
5.3.180.0110.04312.68
5.3.170.0190.05212.67
5.3.160.0160.04312.67
5.3.150.0100.04312.67
5.3.140.0140.03712.66
5.3.130.0120.04212.65
5.3.120.0210.06412.66
5.3.110.0140.03812.66
5.3.100.0120.04012.12
5.3.90.0090.04312.08
5.3.80.0080.04212.08
5.3.70.0130.03912.07
5.3.60.0160.03812.06
5.3.50.0160.03812.00
5.3.40.0080.04512.00
5.3.30.0120.03911.94
5.3.20.0120.04011.70
5.3.10.0130.03511.66
5.3.00.0200.06311.64
5.2.170.0070.0349.15
5.2.160.0130.0439.15
5.2.150.0090.0329.15
5.2.140.0090.0399.14
5.2.130.0090.0319.10
5.2.120.0090.0309.11
5.2.110.0100.0329.11
5.2.100.0060.0389.11
5.2.90.0130.0279.10
5.2.80.0080.0349.10
5.2.70.0100.0349.10
5.2.60.0090.0329.05
5.2.50.0100.0319.03
5.2.40.0120.0279.00
5.2.30.0120.0298.97
5.2.20.0090.0338.96
5.2.10.0100.0298.88
5.2.00.0100.0318.75
5.1.60.0090.0258.04
5.1.50.0070.0298.04
5.1.40.0100.0258.02
5.1.30.0050.0308.36
5.1.20.0100.0278.39
5.1.10.0070.0348.12
5.1.00.0070.0328.11
5.0.50.0090.0216.59
5.0.40.0070.0216.45
5.0.30.0060.0336.27
5.0.20.0100.0216.23
5.0.10.0050.0236.21
5.0.00.0070.0316.21
4.4.90.0050.0174.78
4.4.80.0040.0164.75
4.4.70.0050.0184.76
4.4.60.0070.0164.75
4.4.50.0080.0144.77
4.4.40.0040.0284.71
4.4.30.0020.0214.76
4.4.20.0050.0164.85
4.4.10.0040.0184.85
4.4.00.0050.0294.76
4.3.110.0070.0164.67
4.3.100.0100.0304.67
4.3.90.0070.0154.63
4.3.80.0050.0254.58
4.3.70.0040.0184.63
4.3.60.0050.0154.63
4.3.50.0050.0194.63
4.3.40.0050.0274.54
4.3.30.0030.0183.28
4.3.20.0040.0163.26
4.3.10.0040.0183.22
4.3.00.0100.0207.46

preferences:
143.24 ms | 1386 KiB | 7 Q