User:Legoktm/pygments

From MediaWiki.org
Jump to navigation Jump to search
<?php echo 'Hello, world!'; ?>

or

<?php print ('Hello, world!'); ?>

or

<?= 'Hello, world!' ?>

or

Hello world

This works because PHP will echo by default.