Dreamweaver CC 2017 keeps crashing - bug
I was having issues with a specific php file causing Dreamweaver to crash repeatedly. I restarted the computer, reset preferences, cleared the cache.
i used notepad to move all the code inside the file to another differently named file.
Just opening that files caused Dreamweaver to crash.
By luck I noticed I had the following code:
class email {
private
public function sendemail() {
......
}
}
removing the "private" resolved the Dreamweaver crash problem. Just having that private in the code in that manner caused the crash, nothing more was required. Removing it with notepad resolved the issue. Reinserting it with notepad caused the issue to reoccur. I repeated it several times.
Next I tried just typing in "private" before a public function in striped down code. Allowing the selection menu to popup after typing in private caused Dreamweaver to crash.
<?
class test {
public function test2() {}
}
?>
Addition Information
Window 10, version 10.0.15063 Build 15063
Dreamweaver Release 2017.5, build 9878