Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Value

A value is the piece of data that is inside a container, such as a variable, an array, a property or a constant. A value may take different types.

The absence of value is usually noted with null, which is, paradoxically, a value itself.

<?php

$variable = 'value';

?>

Documentation

See Also