ID: 13361 Updated by: mfischer Reported By: [EMAIL PROTECTED] 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] [EMAIL PROTECTED] #!/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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]