Toggle navigation
Jurjen Beukenhorst
Home
Tools
Blog
PHPIpsum
Basic hello world
<?php echo 'Hello world';
Foreach
foreach ($array as $item) { echo $item; }
For
for ($i=0; $i<=10; $i++) { echo $i; }
Array
$array = [ 'item' => 'data' ];
Function
function name() { return true; }
Class
class ClassName { function method() { return true; } }
← Click here to go back.