User:Legoktm/pygments

<?php echo 'Hello, world!'; ?>

or

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

or

<?= 'Hello, world!' ?>

or

Hello world

This works because PHP will echo by default.