I have test.php
like below:
<?
class Track{
public function displaySong($title, $duration){
$data = $title + $duration
return $data;
}
}
?>
how to run it on CMD?... like if i do like this with cmd
song1 = Track("Britney - Toxic", "0:3:51")
song2->displaySong()
It returns
Song : Britney - Toxic, Duration: 0:3:51
on cmd display