Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Set project mapping for debuggingUse a php script for editing>
Last updated: Sat, 30 Dec 2023

HOWTO: Code Completion for php SPL, DOM and PDO (PHP v5)

While PHP SPL, DOM and PDO are builtin into PHP, you can get code completion for them easily.
Support for their code completion comes with spl.php, dom.php and pdo.php files that define all the things available in those libraries.
Download spl.zip, dom.zip and pdo.zip, unpack them into phped\include_lib directory, open your project settings and include full path to the files into "Code Insight Includes" list.

PLEASE NOTE: make sure .php file extension is associated with PHP5, not PHP4. Otherwise you'd change it or rename files to have them with .php5 extension, not php.

The same way you may get code completion for other libraries, but in this case you'd write such interface file yourself.


<Set project mapping for debuggingUse a php script for editing>
Last updated: Sat, 30 Dec 2023