3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t=5; $y= "92"; $z= $t, $y function practiceTest(); { global $x, $y; $y= $x * $y; } practiceTest(); echo $z //leader ?> </body> </html>

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.0070.05312.36
5.4.270.0120.04812.36
5.4.260.0140.04712.36
5.4.250.0100.04912.36
5.4.240.0110.06712.37
5.4.230.0090.04812.35
5.4.220.0070.04912.36
5.4.210.0130.04212.36
5.4.200.0070.05412.36
5.4.190.0110.04812.35
5.4.180.0120.04512.35
5.4.170.0090.04612.36
5.4.160.0100.04612.36
5.4.150.0050.04912.35
5.4.140.0070.04812.04
5.4.130.0100.04112.02
5.4.120.0090.05011.99
5.4.110.0140.04311.98
5.4.100.0100.04711.98
5.4.90.0060.05111.99
5.4.80.0120.04511.98
5.4.70.0080.04611.98
5.4.60.0070.04811.98
5.4.50.0060.05311.98
5.4.40.0080.04711.97
5.4.30.0140.04111.96
5.4.20.0080.04811.96
5.4.10.0070.05111.96
5.4.00.0110.04511.46
5.3.280.0110.04712.71
5.3.270.0140.04912.73
5.3.260.0100.04912.71
5.3.250.0110.05812.72
5.3.240.0090.05912.72
5.3.230.0120.04912.71
5.3.220.0100.05212.68
5.3.210.0090.05912.68
5.3.200.0120.05012.68
5.3.190.0070.07712.67
5.3.180.0080.05712.67
5.3.170.0090.05012.67
5.3.160.0110.04712.67
5.3.150.0120.07012.68
5.3.140.0100.07112.66
5.3.130.0150.07812.66
5.3.120.0150.08112.66
5.3.110.0080.08612.66
5.3.100.0130.06012.12
5.3.90.0140.07912.08
5.3.80.0100.06812.08
5.3.70.0090.06612.07
5.3.60.0080.06612.06
5.3.50.0050.06812.00
5.3.40.0110.06212.00
5.3.30.0130.06411.94
5.3.20.0110.05711.70
5.3.10.0070.05711.67
5.3.00.0080.05811.66
5.2.170.0050.0529.15
5.2.160.0060.0429.15
5.2.150.0040.0329.15
5.2.140.0050.0319.16
5.2.130.0060.0289.11
5.2.120.0060.0289.11
5.2.110.0060.0329.12
5.2.100.0080.0289.12
5.2.90.0090.0399.11
5.2.80.0060.0439.11
5.2.70.0060.0449.11
5.2.60.0050.0459.06
5.2.50.0100.0479.03
5.2.40.0180.0309.00
5.2.30.0080.0358.98
5.2.20.0090.0368.97
5.2.10.0080.0378.90
5.2.00.0080.0388.76
5.1.60.0080.0338.05
5.1.50.0060.0358.05
5.1.40.0080.0338.03
5.1.30.0070.0368.38
5.1.20.0060.0388.40
5.1.10.0090.0348.12
5.1.00.0060.0398.13
5.0.50.0080.0256.60
5.0.40.0050.0276.46
5.0.30.0030.0456.27
5.0.20.0050.0276.25
5.0.10.0070.0266.23
5.0.00.0110.0386.21
4.4.90.0080.0204.78
4.4.80.0040.0264.75
4.4.70.0070.0214.76
4.4.60.0040.0234.75
4.4.50.0070.0214.77
4.4.40.0180.0244.71
4.4.30.0110.0194.76
4.4.20.0050.0264.85
4.4.10.0050.0244.85
4.4.00.0080.0344.76
4.3.110.0050.0264.67
4.3.100.0060.0224.67
4.3.90.0070.0214.63
4.3.80.0030.0374.58
4.3.70.0040.0244.63
4.3.60.0040.0244.63
4.3.50.0090.0214.63
4.3.40.0180.0894.54
4.3.30.0070.0433.28
4.3.20.0060.0243.25
4.3.10.0030.0213.22
4.3.00.0070.03013.64

preferences:
144.03 ms | 1394 KiB | 7 Q