News Feed
Sections
News Archive


Community Events






feed this:

Elizabeth Smith's Blog:
The Great Compile Project
0 comments :: posted Monday March 10, 2008 @ 10:29:00
voice your opinion now!

Elizabeth Smith has set out on something she calls the Great Compile Project - her effort to get all dependencies for PHP and PECL compiled on (at the least) Visual Studio 2005 transparently and provided openly.

Anyone crazy enough to help out is more than welcome. I'm currently working on the GTK dependency stack, which will hit quite a few PHP dependencies and PECL extension dependencies in the process. And yes I'd love to submit my hacks/fixes upstream, if someone could find me some information (where do you send libiconv patches?)

Her post mentions some of the things she's already been working on to help further the cause - compiling various Open Source libraries, figuring out issues surrounding MiniGW and some examples of more complex dependency issues she's come across.

tagged with: compile project windows visualstudio pecl dependency


Richard Lord's Blog:
PHP 5.2 - Nesting level too deep - recursive dependency?
1 comment :: posted Monday November 13, 2006 @ 10:02:00
voice your opinion now!

So, you've just upgraded to PHP 5.2 and all is going well until you come across a page in your application that gives the message "Nesting level too deep - recursive dependency?". With such a vague error message, you might have trouble locating the source of the problem. Thankfully, someone's already been there and figured out the issue - Richard Lord.

I installed PHP 5.2 on one of my testing servers today and a couple of bits of code that previously worked fine in version 5.1.6 threw fatal errors in the new version. The error message was "Nesting level too deep - recursive dependency?" and it took a little time to track down the root of the problem. Here's what I'd done wrong.

Basically, his problem was using the "non-strict" evaluation for checking if two objects were equal to each other (== instead of ===). This compares everything about them, down to the properties - even if they're references to other properties inside of the same class (which is where the problem lies).

So, the fix is simple - === instead of == when comparing those objects. You'll be happier for the change.

tagged with: php5 nesting level deep recursive dependency compare object php5 nesting level deep recursive dependency compare object


releases job package developer zend ajax book pecl security PEAR code cakephp release zendframework framework mysql PHP5 conference database application

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework