![]() |
![]() | [Resolved] PHPed 5 freezes. | ![]() |
![]() |
![]() | ![]() |
Veteran
![]() |
![]() |
Ok. It is consistent now.
I have created a class class bExceptionBackendDev extends Exception {} in a file bExceptions.php This file is included in another PHP file, and in that I have this code. if (!property_exists($dataSource,$fieldName)) throw new bExceptio.. The code complete kicks in and displayes a list of classes and I select the bExceptionBackendDev class The code then changes to if (!property_exists($dataSource,$fieldName)) throw new bExceptionBackendDev:: I then try to change the :: to (), but the second I hit a cursor key, PHPed starts to eat memory, and frezes. I have added spl.php to the code insight in order to get PHPed to be able to code complete to work on core PHP classes, and I thought that it was messing code completion up and giving the memory leak, I then removed that, but the situation was the same. There is a memory leak with auto completion. ![]() |
|||||||||||
|
![]() |
![]() | ![]() |
Veteran
![]() |
![]() |
FOUND THE PROBLEM.
IT was me. I was tired yesteday and wrote class bExceptionBackendDev extends bExceptionBackendDev {} In stead of : class bExceptionBackendDev extends Exception {} That send autocompleteion into a indef. loop. My mistake.. This is actually an argument for the code analyze (the compile feature) because that tool could find such a situation and warn you if a class extends itself. |
|||||||||||
|
![]() |
![]() | [Resolved] PHPed 5 freezes. | ![]() |
|
||
![]() |
![]() |
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
![phpexpress](/images/poweredby-pe-3.0-small.gif)