Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想从文件中的特定函数中获取实际的编程代码文本。例如,我想在__construct(){}调用Examplein的类中获取代码ExampleClass.php。我怎样才能做到这一点?
__construct(){}
Example
ExampleClass.php
正则表达式是最好的方法还是有更好的方法?