Echoing a function that echoes something and returns nothing in PHP
<?php
function print_name()
{
echo 'Name';
}
echo 'Hello'.print_name().' World.';
/* Output:
Name
Hello World
*/
?>
function print_name()
{
echo 'Name';
}
echo 'Hello'.print_name().' World.';
/* Output:
Name
Hello World
*/
?>
Comments
Post a Comment