noPath() 공개 정적인 메소드

Returns basename(value).
public static noPath ( mixed $value ) : mixed
$value mixed
리턴 mixed
예제 #1
0
 /**
  *
  */
 public function testNoPath()
 {
     $input = './../../../../../../../../../etc/passwd';
     $expect = 'passwd';
     $this->assertSame($expect, Inspekt::noPath($input));
 }