← All tasks
💻
Programming Beginner

Run a One-Line PHP Snippet

⏱ 3 min ⭐ 80 XP 🔁 3 attempts allowed

What you'll do

Type the command to execute the inline code 'echo phpversion();' directly from the terminal, without a file.

Scenario

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