Community
Participate
Working Groups
Hi, this was posted to PDT's newsgroup: After submitting a bug related to Ubuntu 10.04 and Eclipse colors (tooltips are invisibile because black on black with the default ubuntu theme) they asked me to see if 2.2 solve the problem. Really it solve 1/2 problem, but with the 2.2 all-in-one I lose some functions in code completion., e.g. checkdnsrr(), dns_get_record() , getmxrr()... So, I go back on 2.1 (I only renamed the dir) and following the declaration (CTRL+click on checkdnsrr) I see where it is defined: /opt/eclipse/plugins/org.eclipse.php.core_2.1.1.v20090921-11 00/Resources/language/php5/standard.php the same file where you can find sleep(), bin2hex(), strtoupper(), strpos() and many other common functions. With the 2.2, the same file is inside org.eclipse.php.core_2.2.0.v20100616-1900.jar and I suppose PDT don't enter the jar archive. But why strtolowe(), sleep(), etc., have code completion while checkdnsrr() and others, haven't? So I follow definition with 2.2 with CTRL+click on strtolower() and it goes on completely other path: workspace/.metadata/.plugins/org.eclipse.php.core/__language __/1b4486b - standard.php So finally I discovered that changing project PHP version from "5.1/5/2" to 5.3, make CA able to find checkdnsrr() But checkdnsrr() is also present on PHP4 http://de.php.net/manual/en/function.checkdnsrr.php so it must be a bug, isn't it?
It's probably due to the fact that the generation of the standard.php functions was invokked from within Windows. According to http://php.net/manual/en/function.dns-get-record.php this function was added to windows only in 5.3. Should we invoke the function generation in linux?
Fixed.
Verified fixed. Kalin Yanev kalin.a@zend.com