Professional Web Applications Themes

#26065 [Opn]: Crash when nesting classes - PHP Development

ID: 26065 User updated by: kester dot everts at removethis dot wanadoo dot nl -Reported By: kester dot everts at wanadoo dot nl +Reported By: kester dot everts at removethis dot wanadoo dot nl Status: Open Bug Type: Reproducible crash Operating System: Windows XP Professional (SP1) -PHP Version: 5.0.0b1 (beta1) +PHP Version: 5.0.0b2 New Comment: I meant 5.0.0b2... Previous Comments: ------------------------------------------------------------------------ [2003-10-31 17:30:21] kester dot everts at removethis dot wanadoo dot nl Description: ------------ When nesting a class within another class function, PHP crashes. I have PHP running on an Apache2 (2.0.47) server as a module. Changes in my php.ini, ...

  1. #1

    Default #26065 [Opn]: Crash when nesting classes

    ID: 26065
    User updated by: kester dot everts at removethis dot wanadoo dot nl
    -Reported By: kester dot everts at wanadoo dot nl
    +Reported By: kester dot everts at removethis dot wanadoo dot nl
    Status: Open
    Bug Type: Reproducible crash
    Operating System: Windows XP Professional (SP1)
    -PHP Version: 5.0.0b1 (beta1)
    +PHP Version: 5.0.0b2
    New Comment:

    I meant 5.0.0b2...


    Previous Comments:
    ------------------------------------------------------------------------

    [2003-10-31 17:30:21] kester dot everts at removethis dot wanadoo dot
    nl

    Description:
    ------------
    When nesting a class within another class function, PHP crashes.
    I have PHP running on an Apache2 (2.0.47) server as a module.
    Changes in my php.ini, different from php.ini-dist are my SMTP server
    setting, my error reporting level setting to E_ALL and the floating
    point number precision to 14. No exentions are enabled.

    Reproduce code:
    ---------------
    class foo {
    function bar() {
    //here comes the line of doom:
    class my_class {}
    }
    }


    Expected result:
    ----------------
    I expected PHP to return a fatal error which says that classes cannot
    be nested.

    Actual result:
    --------------
    PHP crashed...
    I am using Windows, so I have not got a backtrace. I have sent an error
    report to Microsoft; maybe that helps.


    ------------------------------------------------------------------------


    --
    Edit this bug report at [url]http://bugs.php.net/?id=26065&edit=1[/url]
    kester dot everts at removethis dot wanadoo dot nl Guest

  2. #2

    Default #26065 [Opn]: Crash when nesting classes

    ID: 26065
    User updated by: kester dot everts at removethis dot wanadoo dot nl
    Reported By: kester dot everts at removethis dot wanadoo dot nl
    Status: Open
    Bug Type: Reproducible crash
    Operating System: Windows XP Professional (SP1)
    PHP Version: 5.0.0b2
    New Comment:

    And it also happens with interfaces. You can either replace class foo
    or class my_class with an interface.


    Previous Comments:
    ------------------------------------------------------------------------

    [2003-10-31 17:40:48] kester dot everts at removethis dot wanadoo dot
    nl

    I meant 5.0.0b2...

    ------------------------------------------------------------------------

    [2003-10-31 17:30:21] kester dot everts at removethis dot wanadoo dot
    nl

    Description:
    ------------
    When nesting a class within another class function, PHP crashes.
    I have PHP running on an Apache2 (2.0.47) server as a module.
    Changes in my php.ini, different from php.ini-dist are my SMTP server
    setting, my error reporting level setting to E_ALL and the floating
    point number precision to 14. No exentions are enabled.

    Reproduce code:
    ---------------
    class foo {
    function bar() {
    //here comes the line of doom:
    class my_class {}
    }
    }


    Expected result:
    ----------------
    I expected PHP to return a fatal error which says that classes cannot
    be nested.

    Actual result:
    --------------
    PHP crashed...
    I am using Windows, so I have not got a backtrace. I have sent an error
    report to Microsoft; maybe that helps.


    ------------------------------------------------------------------------


    --
    Edit this bug report at [url]http://bugs.php.net/?id=26065&edit=1[/url]
    kester dot everts at removethis dot wanadoo dot nl Guest

Similar Threads

  1. Nesting & Grouping
    By Alan_King@adobeforums.com in forum Adobe Indesign Windows
    Replies: 3
    Last Post: July 7th, 12:55 PM
  2. InDesign CS CE non-stop CRASH, CRASH, CRASH, CRASH, CRASH, CRASH
    By kajzica@adobeforums.com in forum Adobe Indesign Windows
    Replies: 15
    Last Post: July 2nd, 07:57 PM
  3. #26065 [Opn->Ver]: Crash when nesting classes
    By sniper@php.net in forum PHP Development
    Replies: 0
    Last Post: November 1st, 10:13 AM
  4. #26065 [NEW]: Crash when nesting classes
    By kester dot everts at wanadoo dot nl in forum PHP Development
    Replies: 0
    Last Post: October 31st, 10:31 PM
  5. Nesting
    By Ursus in forum FileMaker
    Replies: 5
    Last Post: October 10th, 10:34 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139