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

Reading

Reading is the action to access a value in a data container, to make use of it. The value is simply accessed, not changed.

Reading happens when a value is passed as an argument, used as an operand with an operator, or assigned to another variable.

This operation is usually the counterpart of writing. It may also happen at the same time.

<?php

$trunk = 1;

echo $trunk; // reading 1

?>

Documentation

See Also