<?php $path = array('Foo', 'Bar', 'Baz_Bav'); $className = str_replace('_', '/', array_pop($path)); var_dump($className);
You have javascript disabled. You will not be able to edit any code.