Method Overloading ?

From: Date: Wed, 29 Apr 2009 08:13:29 +0000
Subject: Method Overloading ?
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-4565@lists.php.net to get a copy of this message
Dear Phpnet Web Masters; First I am sorry for my english. I need help for overloading. I have a php class and this class have six method but this methods for a single process. I need overlading methods. C#.NET syntax overlading namespace HaberService { class test { public void test() { Console.WriteLine("bla bla bla"); } public void test(string name) { Console.WriteLine(name + " bla bla bla"); } public void test(string name, int age) { Console.WriteLine(name + " is "+ age +" years old bla bla bla"); } } } i want to method overloading C#.net syntax with php? is it possible? Atilla ilhan KARTAL Web Application & Software Architect

« previous php.webmaster (#4565) next »