Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005768 [Quercus] minor always 07-04-14 09:37 07-04-14 09:37
Reporter tobia View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version
Summary 0005768: ReflectionClass->getProperties() with an argument raises a warning
Description This affects the latest 4.0.39, but I couldn't find it in the version popup.

Calling getProperties() with a ReflectionProperty constant raises this warning:

    Warning: function 'getProperties' called with 1 arguments, but only expects 0 arguments

For example:

    ini_set("display_errors", "On");
    class MyClass {}
    new ReflectionClass('MyClass')->getProperties(ReflectionProperty::IS_PUBLIC);

This is triggered for example in Doctrine: [^]
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
07-04-14 09:37 tobia New Issue

Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
26 total queries executed.
24 unique queries executed.
Powered by Mantis Bugtracker