ID: 31278 User updated by: developer at ckiweb dot com Reported By: developer at ckiweb dot com Status: Open Bug Type: Reproducible crash Operating System: Gentoo PHP Version: 4.3.10 New Comment:
The is something else that has to be in the code. After the echo line, place print_r($t). Previous Comments: ------------------------------------------------------------------------ [2004-12-24 02:39:33] developer at ckiweb dot com Description: ------------ I was trying to debug a problem in the DB_DataObject class in PEAR, when I got a segmentation fault. It occurs everytime when I try to echo a string greater than 10 characters. Reproduce code: --------------- In the Generator.php file (in the DB_DataObject-1.7.2 class in PEAR) on line 126 (right after $t->_createTableList();), place a line similar to this: echo 'aoeuidhtns'."\n"; The amount of characters has to be 10 or greater. Expected result: ---------------- I would expect the line to appear and the program to keep parsing. Actual result: -------------- The line is echod and then I get a Segmentation Fault ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31278&edit=1