Php Convert All Array Operations Numpy W3schools