<?php echo strtolower(preg_replace("/(?!^)([A-Z])/", '-$1', 'masterAtHome'));
Standard input is empty
master-at-home
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!