1--TEST-- 2ReflectionObject::getFileName(), ReflectionObject::getStartLine(), ReflectionObject::getEndLine() - basic function 3--FILE-- 4<?php 5$rc = new ReflectionObject(new C); 6var_dump($rc->getFileName()); 7var_dump($rc->getStartLine()); 8var_dump($rc->getEndLine()); 9 10$rc = new ReflectionObject(new stdclass); 11var_dump($rc->getFileName()); 12var_dump($rc->getStartLine()); 13var_dump($rc->getEndLine()); 14 15Class C { 16 17} 18?> 19--EXPECTF-- 20string(%d) "%sReflectionObject_FileInfo_basic.php" 21int(12) 22int(14) 23bool(false) 24bool(false) 25bool(false) 26