Extending ArrayObject

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I've run into a small problem when making a class that extends from
the ArrayObject type. The code for my class(es) can be seen here:


The problem is on line 98. When that line is run PHP goes into some
sort of deadlock, and after a while give the "maximum execution time
exceeded" error. When I remove that codeline everything compiles at
runtime, but, of course, I'm lacking some data.
This code file is included from another file and the execution starts
in the PageTableAdapter ::GetFrontPage() function.
Does anyone know what might be causing this problem?

The server runs PHP 5.1.2 and Apache 2.0.


Re: Extending ArrayObject

Quoted text here. Click to load it

Maybe you must call the superclass constructor from your own class.
Traversing through the code, the constructor of ArrayObject needs at
least an array.

Hope this helps,
Willem Bogaerts

Application smith
Kratz B.V.

Site Timeline