<?php $string = 'heLlo woRld!'; var_dump( preg_replace( '#\s+#', '', strtolower( $string ) ) );
You have javascript disabled. You will not be able to edit any code.