Skip to content
This repository was archived by the owner on Mar 15, 2020. It is now read-only.
This repository was archived by the owner on Mar 15, 2020. It is now read-only.

Empty context in humbug_get_contents #7

Open
@waltertamboer

Description

@waltertamboer

For PHP versions >= 5.6 an empty context is passed to file_get_contents. See https://github.com/padraic/file_get_contents/blob/master/src/function.php#L29

Is this correct? Could you elaborate why CN_match is set for PHP versions less than 5.6 but peer_name is not set for >= 5.6? (ftr, CN_match is deprecated and peer_name should be used from 5.6+)

Thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions