for /f %%A in ('forfiles /s /m *.php /c "cmd /c echo @relpath"'
) do (
set inFile=%%~A
echo.%inFile%
for /f "usebackq delims=" %%n in (%%~A) do (
set strLine=%%n
echo.%strLine%
)
)
pause
echo.%inFile%
echo.%strLine%