This site is mobile accessible. Press the "Tap Here" button to use a different font-size.


Smartphone icons created by Freepik - Flaticon

PHP Functions

Passing Arguments by Reference

7

<?php
// create function with argument by reference
function add_five(&$value) {
  $value += 5;
}

$num = 2;
add_five($num);
echo $num;
?>