FAQ
this is with current php-src: it looks related to recent changes to
zend_API, maybe, i haven't tracked it down yet, figured someone here
could do that faster - and fix it too, heh:

sh-2.05a# php -v
PHP 5.0.0b2-dev (cli) (built: Aug 24 2003 12:40:08) (DEBUG)

sh-2.05a# php -r 'class foo { var $x = array(); }'

Fatal error: Internal zval's can't be arrays, objects or resources in
Unknown on line 0

Search Discussions

  • Brad Bulger at Aug 24, 2003 at 10:06 pm
    Yes, just moving the ARRAY cases in zend_API.c and zend_variables.c
    stopped the error, and so far it *seems* to work. that can't be
    real fix, but i hope it is helpful (diffs attached)

    Brad Bulger wrote:
    this is with current php-src: it looks related to recent changes to
    zend_API, maybe, i haven't tracked it down yet, figured someone here
    could do that faster - and fix it too, heh:

    sh-2.05a# php -v
    PHP 5.0.0b2-dev (cli) (built: Aug 24 2003 12:40:08) (DEBUG)

    sh-2.05a# php -r 'class foo { var $x = array(); }'

    Fatal error: Internal zval's can't be arrays, objects or resources in
    Unknown on line 0
  • Marcus Börger at Aug 24, 2003 at 10:49 pm
    Hello Brad,

    Monday, August 25, 2003, 12:08:59 AM, you wrote:

    BB> Yes, just moving the ARRAY cases in zend_API.c and zend_variables.c
    BB> stopped the error, and so far it *seems* to work. that can't be
    BB> real fix, but i hope it is helpful (diffs attached)

    Fixed now. Seems like i was to eager finishing the work.

    --
    Best regards,
    Marcus mailto:helly@php.net

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-internals @
categoriesphp
postedAug 24, '03 at 8:27p
activeAug 24, '03 at 10:49p
posts3
users2
websitephp.net

2 users in discussion

Brad Bulger: 2 posts Marcus Börger: 1 post

People

Translate

site design / logo © 2019 Grokbase