Skip to content

PHP::type() must display resource type when resource is supplied #139

@PandaHugMonster

Description

@PandaHugMonster

Currently only type is displayed without additional sub-types/info.
What should be implemented:

  • Additional boolean argument to PHP::type() that by default is true what means that sub-types/info is displayed
  • In case if "resource" instance is supplied and sub-type parameter is not provided or true, with help of \get_resource_type() function the type of resource should be displayed in format:
    resource/stream
    

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions