Demo: http://sandbox.onlinephpfunctions.com/code/7e233637bef2aa3136239cfa6d59f9a3beb65cfe
If Demo doesn't work, alternatively you can copy and paste code onto http://sandbox.onlinephpfunctions.com/
Demo: http://sandbox.onlinephpfunctions.com/code/7e233637bef2aa3136239cfa6d59f9a3beb65cfe
If Demo doesn't work, alternatively you can copy and paste code onto http://sandbox.onlinephpfunctions.com/