<?php $message = "Hello, World!"; // This creates a variable named $message and assigns the text "Hello, World!" to it. $number = 42; // This creates a variable named $number and assigns the value 42 to it. ?>
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter