ID: 13361
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]

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] [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]

Reply via email to