The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

<?php
include 'Somefile';
const CONSTANT1 = 1;
const CONSTANT2 = 2;
if ($something) {
echo 'hi';
}
$var = myFunction();
print_r($var);
echo $object->define();
echo $object -> define();
Foo::define();
$c = new class extends Something{
public function someMethod()
{
// ...
}
};