Type the command to execute the inline code 'echo phpversion();' directly from the terminal, without a file.
You want a fast one-off answer without creating a .php file.
Ready to try it?
Create a free account and try "Run a One-Line PHP Snippet" free for 7 days, no card required. Earn 80 XP and track your internship progress.
Already have an account? Sign in