Php Array Spread Operator Python