I'm learning php oop, going through books etc and having a go at my own.
In my __construct I have a number of parameters that have default values (in fact all of them do). However when I try to write code to create a new object I'm having syntax error problems.
For example my construct statement has 6 parameters. I passed values to the first three, wanted to skip the next two and set a value for the last one. I simply put commas with nothing between them but it throws up a syntax error.
What should I put in place of nothing to accept the default value?
Thanks