get last slash value in php

42

substr(strrchr(rtrim($url, '/'), '/'), 1)

Comments

Submit
0 Comments