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 270290 - PHP7.0 function and const usages
Summary: PHP7.0 function and const usages
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@php
Depends on:
Reported: 2017-04-04 09:40 UTC by drodil
Modified: 2017-04-04 09:55 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description drodil 2017-04-04 09:40:35 UTC
There should be possibility to remove usages of functions and constants from PHP7.0 project settings. For example I would not like to see:

use function mb_strlen;

in my class files.
Comment 1 ljauhiai 2017-04-04 09:55:30 UTC
I don't see any reason for

use function mb_strlen;
use const PHP_EOL;

Is this accidental behavior or a bug?