Guys,

The use of __call on php classes feels like it should be bad practise to me.  
Am I missing something?

A few thoughts...

#1 won't __Call be called every time any method is called on the object? This 
feels inefficient.

#2 It hides functionality.  To remember what extra methods exist and their 
parameters you have to specifically look up the __call function or go to the 
source code.


Steven O'Brien




This e-mail and any attachment may contain confidential and/or privileged 
information. If you have received this e-mail and/or attachment in error, 
please notify the sender immediately and delete the e-mail and any attachment 
from your system. If you are not the intended recipient you must not copy, 
distribute, disclose or use the contents of the e-mail or any attachment. 
All e-mail sent to or from this address may be accessed by someone other than 
the recipient for system management and security reasons or for other lawful 
purposes. 
Airbus UK Limited is registered in England and Wales under company number 
3468788. The company's registered office is at New Filton House, Filton, 
Bristol, BS99 7AR.


Reply via email to