Fri, 17 May 2024


How to use call_user_func in PHP to call a function?

By: Peter, NetArt Media
Sun, 12 December 2021

<?php

function SimpleTest($x)
{
echo "Hallo ".$x;
}

call_user_func('SimpleTest',"netart");
?>


Category: PHP Examples
Share this post:



See All Scripts






Subscribe for our newsletter

Receive the latest blog posts direct in your mailbox