<?php$target="Test.Test1.Test2.";$search = ".";$replace = "/";print(str_replace($search, $replace, $target));
Standard input is empty
Test/Test1/Test2/
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!