3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test = str_replace('-150wi', '', 'http://marriott2.typepad.com/.a/6a0128763ee05d970c01a511f170d1970c-150wi'); var_dump($test);
Output for 4.3.0 - 7.1.0
string(66) "http://marriott2.typepad.com/.a/6a0128763ee05d970c01a511f170d1970c"