This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | [65cat] [php] String Break | ||
---|---|---|---|
Product: | php | Reporter: | nvarun <nvarun> |
Component: | Code | Assignee: | Petr Pisl <ppisl> |
Status: | NEW --- | ||
Severity: | blocker | CC: | pjiricka, tmysik |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
nvarun
2008-08-19 18:51:16 UTC
Changed the summary a bit to follow NetCAT etiquette. confirmed In PHP it is possible to have strings spanning across multiple lines. It is a common practice with SQL statements e.g. sprintf(' SELECT * FROM `table` WHERE `id` = %d `this` = \'that\' ', $id); So the break string functionality would be counterproductive for many users. We could still provide it as an option. I am changing the issue type to "enhancement" (based on feedback from Jacob Christophersen) We discussed this on the mailing list. Because this is a way how to write correct code in PHP. The enhancement is that there can be an option in the PHP editor setting, which will direct the behavior. The default one should be the current one. |