Community
Participate
Working Groups
Steps to reproduce: 1. Extract some php archives under same folder e.g. C:\php \php-5.3.3-nts-Win32-VC9-x86 \dev \ext \extras \PEAR \php-5.3.3-Win32-VC6-x86 \dev \ext \extras \PEAR 2. Open Preferences > PHP > PHP Executables 3. Click Search and select C:\php to search in 4. Following entries will be appeared PHP 5.3.3 (CLI) : Zend Debugger : C:\php\php-5.3.3-nts-Win32-VC9-x86\php.exe PHP 5.3.3 (CLI) : Zend Debugger : C:\php\php-5.3.3-Win32-VC6-x86\php.exe 5. Click OK to close preferences and reopen it again 6. Now you can see only PHP 5.3.3 (CLI) : Zend Debugger : C:\php\php-5.3.3-Win32-VC6-x86\php.exe Cause: org.eclipse.php.internal.debug.ui.preferences.phps.InstalledPHPsBlock.search() 737: String nameCopy = new String(phpExe.getName()); 738: int i = 1; 739: while (isDuplicateName(nameCopy)) { 740: nameCopy = phpExe.getName() + '[' + i++ + ']'; 741: } // 746: if (phpExe.getExecutable() != null) { 747: fPHPexes.add(phpExe); 748: phpExes.addItem(phpExe); 749: fPHPExeList.refresh(); 750: } nameCopy is not used.
Created attachment 181154 [details] patch Thanks, izumi
committed to head,thank you,guys!
Thank you guys, but I don't like such as PHP 5.3.3 (CLI) PHP 5.3.3 (CLI)[1] PHP 5.3.3 (CLI)[1][2] my code >while (isDuplicateName(nameCopy)) { > nameCopy = phpExe.getName() + " [" + i++ + "]"; >} >phpExe.setName(nameCopy);
Created attachment 181353 [details] new patch I'm so sorry. My fault.
committed to head,thanks Xu and Izumi
Thank you so much :-)
change status
Verified.