Bug #13361 Updated: Seg Fault

From: Date: Tue, 18 Sep 2001 10:32:34 +0000
Subject: Bug #13361 Updated: Seg Fault
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-66167@lists.php.net to get a copy of this message
ID: 13361 Updated by: mfischer Reported By: bate@bate.de Old Status: Open Status: Closed Bug Type: Unknown/Other Function Operating System: Linux 2.2.16 PHP Version: 4.0.6 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [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 (#66167) next »