Python Numpy Add To Array Php Functions With Parameters