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 246784 - Implementing and overloading function parameters
Summary: Implementing and overloading function parameters
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-29 22:14 UTC by sbrbot
Modified: 2016-08-29 06:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sbrbot 2014-08-29 22:14:16 UTC
I have the xy interface in file interfaces.php:

    interface xy
    {
       public function create(x,y);
    }

and class abc in file abc.php:

    require_once 'interfaces.php';

    class abc implements xy
    {
      public class()
      {
        ...
      }
    }

PHP editor does not report any problem with it (note: my class does not have x and y input variables), but when I want to load that class (require_once of abc.php in some PHP file) during execution PHP/Netbeans stops there without any error report or hint!
Comment 1 sbrbot 2014-08-29 22:18:21 UTC
Sorry,

    class abc implements xy
    {
      public function create()
      {
        ...
      }
    }