Literal¶
A literal is a hard coded value in the source.
There can be literal of type int, float, boolean, null, array.
Objects and resources cannot be hardcoded, though their creation call may be.
<?php
// Literal 1 to $a
$a = 1;
// The object is created during execution.
$b = new X();
?>
Related : Destructor