Source Code:
(back to article)
<?php // Program for illustrating the strval() function // once an array is passed as parameter // Input array $arr = [1, 2, 3, 4, 5]; // It prints just the type of value // being converted i.e. 'Array' echo strval($arr); ?>
Result:
Report an issue