doNothing(); $c = $a + $b; $a = $c - $b; $c = $a * $b; $b = (int) ($c / $a); return $c; } } /* * Multi-line comment */ $foobar = new FooBar(); $baz = ['a' => 'b']; // C++ style comment $x = 3; # Perl-style comment $y = [ 1, 2, 3 ]; // Multi-line ternary statement $q = ($x !== 2) ? 'yes' : 'no'; /* Heredoc */$z = $x + $y; $sql = <<{x} TEMPLATE; ?>