When writing a PHP project with Zend Studio, it is normal to debug when calling system functions, but when writing code, the function is not defined as "call to undefined function", and the left-side syntax detection status area bar always displays an exclamation point of a small yellow triangle.
1. Modify the project. BuildPath file
<?xml version="1.0" encoding="UTF-8"?><buildpath> <buildpathentry kind="src" path=""/> <buildpathentry kind="con" path="org.eclipse.php.core.LANGUAGE"/># 新增一句 kind="con"</buildpath>
2. Resetting the Project compilation state
Clean all projects, Project, clean
3, recompile the project
4, Complete! And see if the little yellow cold number icon disappears.
Reminder: The PHP Language library contains system functions and definition prototypes of extension library functions that Zend Studio can follow to code hints and complements based on these definition prototypes when calling these functions during encoding.