Multiplication¶
Multiplication is the mathematical multiplication. It applies to numbers: integers and float.
It also works with booleans and null, which are converted to integers. Other types are not allowed for multiplication and yield a fatal error.
<?php
$a = 10 * 2.3; // 23.0
?>
See also Array operators, Combining arrays using + versus array_merge in PHP
Related : Array, integer, Floating Point Numbers