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 $y //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.0080.04112.36
5.4.270.0170.06212.36
5.4.260.0150.06112.36
5.4.250.0090.04012.36
5.4.240.0080.04112.36
5.4.230.0070.04912.35
5.4.220.0080.04012.36
5.4.210.0060.03912.36
5.4.200.0080.04212.36
5.4.190.0070.04112.35
5.4.180.0080.03912.35
5.4.170.0100.05012.36
5.4.160.0050.04412.36
5.4.150.0060.04212.35
5.4.140.0070.04212.04
5.4.130.0080.06112.02
5.4.120.0110.07711.98
5.4.110.0130.08211.98
5.4.100.0130.06411.99
5.4.90.0110.05311.98
5.4.80.0080.04611.98
5.4.70.0170.10911.98
5.4.60.0120.07311.98
5.4.50.0100.07611.98
5.4.40.0140.05611.97
5.4.30.0080.06111.96
5.4.20.0070.03911.96
5.4.10.0100.03311.96
5.4.00.0050.04611.45
5.3.280.0100.06012.71
5.3.270.0130.05912.72
5.3.260.0150.07312.72
5.3.250.0120.07012.72
5.3.240.0100.05512.72
5.3.230.0080.05212.71
5.3.220.0060.05412.68
5.3.210.0060.04712.68
5.3.200.0080.04212.68
5.3.190.0210.07912.68
5.3.180.0170.06512.67
5.3.170.0090.04012.67
5.3.160.0040.04412.67
5.3.150.0090.04112.67
5.3.140.0110.05212.66
5.3.130.0090.04112.66
5.3.120.0090.05512.66
5.3.110.0110.05012.66
5.3.100.0160.07512.11
5.3.90.0120.04812.08
5.3.80.0080.03712.07
5.3.70.0080.03912.07
5.3.60.0060.04012.06
5.3.50.0110.04512.00
5.3.40.0060.05312.00
5.3.30.0090.05411.94
5.3.20.0130.04811.70
5.3.10.0070.04711.67
5.3.00.0130.06211.66
5.2.170.0100.0519.15
5.2.160.0090.0559.15
5.2.150.0090.0469.15
5.2.140.0080.0479.14
5.2.130.0130.0409.11
5.2.120.0100.0439.11
5.2.110.0050.0429.11
5.2.100.0280.0799.11
5.2.90.0080.0379.11
5.2.80.0120.0649.11
5.2.70.0050.0439.11
5.2.60.0100.0469.06
5.2.50.0130.0549.03
5.2.40.0130.0509.00
5.2.30.0120.0568.99
5.2.20.0060.0358.97
5.2.10.0070.0298.90
5.2.00.0120.0578.76
5.1.60.0030.0428.05
5.1.50.0070.0408.05
5.1.40.0090.0438.03
5.1.30.0110.0318.38
5.1.20.0080.0358.40
5.1.10.0030.0378.13
5.1.00.0080.0358.13
5.0.50.0090.0406.61
5.0.40.0090.0296.46
5.0.30.0050.0386.27
5.0.20.0020.0226.25
5.0.10.0040.0206.22
5.0.00.0050.0326.21
4.4.90.0040.0264.78
4.4.80.0050.0214.75
4.4.70.0040.0304.76
4.4.60.0060.0234.75
4.4.50.0040.0224.77
4.4.40.0040.0334.71
4.4.30.0080.0214.76
4.4.20.0040.0234.84
4.4.10.0060.0254.85
4.4.00.0050.0324.76
4.3.110.0030.0194.67
4.3.100.0010.0244.66
4.3.90.0070.0254.63
4.3.80.0030.0344.58
4.3.70.0040.0254.63
4.3.60.0070.0224.63
4.3.50.0030.0194.63
4.3.40.0050.0334.54
4.3.30.0010.0243.28
4.3.20.0040.0203.25
4.3.10.0010.0233.21
4.3.00.0030.0206.59

preferences:
144.33 ms | 1394 KiB | 7 Q