Pass PHP arrays to Python by reference.

Thanks armin.