<?php

class ABC{
    
    function __construct(){
        echo 'constructor invoked';
    }
    
    public function __call($name,$args){
        
        echo 'function '.$name." is called";
        //print_r($args);
    }
    
    public static function __callStatic($name,$args){
        
        echo 'static function '.$name." is called";
       // print_r($args);
    }
}

//(new ABC)->test(124,'sdsdsd');

ABC::statictest(12);

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: