martomo / SublimeTextXdebug

Xdebug debugger client for Sublime Text
MIT License
564 stars 89 forks source link

PHP: XDebug always stop on property_exists? #108

Open johnathanz opened 10 years ago

johnathanz commented 10 years ago

I'm running into a case where XDebug always stops on a line with property_exists() despite no known breakpoint being set on the line.

Run XDebug on the following code, *with no breakpoints and see how it stops on line


<html>
    <head>
    <title>Test - Modular</title>
    </head>
    <body>

    <?php

    Class A {
        public $testProperty;
    }

    $testObj = new A();
    $exist = property_exists(testObj, testProperty);

    echo "<h1>Hello World!</h1>";

    ?>

    </body>
    </html>