1.2.606. Is An Extension Interface

This is an interface defined in a PHP C extension.

<?php

// MyInterface is not recognized as an extension interface
function foo ( MyInterface $a) {
    // \ArrayAccess is recognized as a native PHP extension
    if ($a instanceof \ArrayAccess) {
        // doSomething()
    }
}

?>

1.2.606.1. Specs

Short name

Interfaces/IsExtInterface

Rulesets

All, CE, Changed Behavior

Exakat since

0.8.4

PHP Version

All

Severity

Time To Fix

Precision

Very high

Features

interface

Available in

Entreprise Edition, Community Edition, Exakat Cloud