View Single Post
Old 11-27-2009, 11:13 PM   #1 (permalink)
Tanax
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default Does PHP allow this?

Does PHP allow multiple methods inside a class with the same name but with different arguments?

PHP Code:
public function myFunction($argument) { }

public function 
myFunction($argument$argument2) { } 
??
__________________
Tanax is offline  
Reply With Quote