codegurukool.com · Free coding tutorials & online compiler

Home › PHP Tutorial › PHP introduction

PHP introduction

A server-side language that powers much of the web.

PHP (PHP: Hypertext Preprocessor) runs on the server and sends plain HTML to the browser. It powers WordPress, Laravel and countless sites. PHP code lives between <?php and ?> tags, in files ending in .php.

Example code

<?php
echo "Hello, PHP!";
?>

Run this code in the online editor

← All commandsPHP installation →