PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I'm pretty sure that PHP isn't going to let you initialize that private member variable with a function call in it. Just initialize your private member, then make your function call in your constructor. I think that should work for you: