Skip to content

Check if value is null before using array_key_exists #55

@wzul

Description

@wzul

array_key_exists will cause fatal error when the checked value is null.

if ( ! array_key_exists( 'id', $payment ) ) {

Metadata

Metadata

Assignees

No one assigned

    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