Fri, 17 May 2024


Example of calling variable functions

By: Nathalie, NetArt Media
Thu, 6 May 2021

<?php
$variable="netart";

${$variable.'_media'}();
?>

will call the function netart_media()


Category: PHP Examples
Share this post:



See All Scripts






Subscribe for our newsletter

Receive the latest blog posts direct in your mailbox