midgard-php or ZEND2 issues again

Posted on 2007-02-13 13:28:47 EET.

I just created new thread on mailing.www.php-dev.

I started to refactor midgard-php extension , so we get better PHP language bindings. Current problem is "quite trivial":

<?php

$obj = new midgard_config();
$obj->read_file("my_config");

echo "Got configuration file for $obj->dbname database \n";

?>

This works very fine. But another line in the code:

print_r($obj);

just prints properties without variables being set. This is not important from application's point of view , but in "debugging" mode , it can be quite confusing.

BTW, if anyone has good url for zend-dev mailing list. Please let me know.

Back

Layout Copyright © 2006 Finnish Teleservice Center Ltd Oy - Site Powered by Midgard CMS