3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php #include #include int main() { int x,men; printf("Ingrese un numero distinto de 0: "); scanf("%d",&x); men=x; while (x!=0) { scanf("%d",&x); if (x!=0) { if (x<men) { men=x; } } } printf("El menor numero es: %d\n",men); system("pause"); return 0; } ?>
Output for 5.4.0 - 5.4.30
Parse error: syntax error, unexpected 'main' (T_STRING) in /in/4jCbq on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING in /in/4jCbq on line 5
Process exited with code 255.