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.

Bug 237399 - Error control operator misuse
Summary: Error control operator misuse
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-21 08:08 UTC by aeoris
Modified: 2013-10-21 08:13 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aeoris 2013-10-21 08:08:50 UTC
According to this blog post: https://blogs.oracle.com/netbeansphp/entry/improve_your_code_with_new there's some cases where the error control operator (@) is allowed, being fopen one of them.

This said, I guess file_get_contents should be one of those cases as well, as it serves almost the same purpose as fopen usually does (yep, I know fopen does some other fancy stuff, but still).