Extending ArrayObject

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • gthvidsten@gmail.com

    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:



    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 PageTableAdapte r ::GetFrontPage( ) function.
    Does anyone know what might be causing this problem?

    The server runs PHP 5.1.2 and Apache 2.0.

    GTH

  • Willem Bogaerts

    #2
    Re: Extending ArrayObject

    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 PageTableAdapte r ::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.

    Comment

    Working...