468,290 Members | 2,044 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,290 developers. It's quick & easy.

Extending ArrayObject

Hi,

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:

http://phpno.info/pastebin/1145

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.

GTH

Jun 17 '07 #1
1 1332
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:

http://phpno.info/pastebin/1145

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?
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.
http://www.kratz.nl/
Jun 18 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Alicia Haumann | last post: by
1 post views Thread by Richard Townsend | last post: by
4 posts views Thread by Matt | last post: by
7 posts views Thread by A Traveler | last post: by
3 posts views Thread by Marco Meoni | last post: by
5 posts views Thread by vbgunz | last post: by
4 posts views Thread by Ian Richardson | last post: by
3 posts views Thread by katis | last post: by
reply views Thread by NPC403 | last post: by
2 posts views Thread by MrBee | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.