<?php
function display (){
    $args=func_get_args();
    switch (count($args)){
        case 1:
        echo"one argument:".$args[0]."\n";
        break;
        case 2:
        echo "two arguments:".$args[0]."and".$args[1]."\n";
        break;
        default:
        echo"No matching overload found\n";
    }
}
display("Hello");
display("Hello","world");
display();

Embed on website

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