undefined symbol: zephir_is_true in Unknown on line 0

Hi,

zephir building still has some quirks, every so many days I have to init my project again, move my file directory & libtool over, to be able to build. It is annoying, but so far this always meant I could continue.

At the moment I encountered an issue which I cannot fix by reinitializing.

When I call php on the command line I get an error, in the browser my module is just not loaded without error. Example during building, see error on first line (which is basically zephir calling PHP):

[email protected]:/var/www/alba# zephir build; service apache2 restart
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/alba.so' - /usr/lib/php5/20100525/alba.so: undefined symbol: zephir_is_true in Unknown on line 0
Compiling...
Installing...
Extension installed!
Add extension=alba.so to your php.ini
Don't forget to restart your web server
[ ok ] Restarting web server: apache2 ... waiting .

The compilation gives no errors.

After removing some code, I found that this change caused the error:

public function getClassConfig() -> array
{
    if is_null(this->_classConfig) {
        // ...
    }
}

TO

public function getClassConfig(forceReload = false) -> array
{
    if forceReload || is_null(this->_classConfig) {
        // ...
    }
}

Anyone have an idea why this does not work?

If I change the code to the following it works again:

public function getClassConfig(bool forceReload = false) -> array
{
    if forceReload || is_null(this->_classConfig) {
        // ...
    }
}

Is this intended behavior?

Can you please create an issue on Github? and I will help you https://github.com/phalcon/zephir/issues/new