<?php echo basename(pathinfo('mastertest.ru/about/pupu/?lang=ru')['dirname']);
Standard input is empty
pupu
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!