- Output for 5.6.0 - 5.6.27, 7.0.0 - 7.0.13
- Parse error: syntax error, unexpected 'number' (T_STRING) in /in/5th7v on line 4
Process exited with code 255.
<?php
Console.WriteLine();
int number=Convert.ToInt32(Console.ReadLine());
int a=1;
Console.Write("{0}",a)
int b=1;
Console.Write("{1}",b)
int s=0;
while (number>=s)
{
s=a+b;
Console.Write("{0}",s);
a=b;
b=s;
}