Bug #13361 Updated: Seg Fault

From: Date: Tue, 18 Sep 2001 11:03:15 +0000
Subject: Bug #13361 Updated: Seg Fault
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-66170@lists.php.net to get a copy of this message
ID: 13361 User updated by: bate@bate.de Reported By: bate@bate.de Status: Closed Bug Type: Unknown/Other Function Operating System: Linux 2.2.16 PHP Version: 4.0.6 New Comment: http://www.bate.de/bug/phpinfo.html this is the PHPINFO from my php binary "php -i >phpinfo.html" I check it with 4.0.7RC1 and 4.0.7RC2 Both makes a Seg Fault. Previous Comments: ------------------------------------------------------------------------ [2001-09-18 06:32:34] mfischer@php.net Not reproduceable with 4.0.6 on my machine .. Anyway, it also works on CVS so. Try one from http://snaps.php.net/ Closed. - Markus ------------------------------------------------------------------------ [2001-09-18 05:37:12] bate@bate.de #!/usr/bin/php -q <?php echo "Ihr Name:"; if ($fp = fopen("php://stdin","r")) { $line = fgets($fp, 100); fclose($fp); } $name = ereg_replace("[\n\r]", '', $line); echo "Hallo $name!\n"; ?> This Program makes me with my Binary a seg fault after 3 executions .. ? ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=13361&edit=1

« previous php.dev (#66170) next »