RE: [PHP] how to pass variable argument list in a childconstructor to parent constructor, ideas wanted

2009-08-03 Thread Ford, Mike
-Original Message- From: Ralph Deffke [mailto:ralph_def...@yahoo.de] Sent: 03 August 2009 02:41 problem: __ construct( $something ... variable argument list ){ parent::__construct( ??? ); } I tried with func_get_args, but the problem is that it gives an indexed array

Re: [PHP] how to pass variable argument list in a childconstructor to parent constructor, ideas wanted

2009-08-02 Thread Jonathan Tapicer
I don't understand completely your problem, but think that something like this may help you: ?php class A { function __construct() { var_dump(func_get_args()); } } class B extends A { function __construct() { $args =