<?php $foo = "http://foo.com/"; echo substr_count($foo, '/');
You have javascript disabled. You will not be able to edit any code.