mirror of
https://github.com/php/php-src.git
synced 2024-11-25 10:54:15 +08:00
Fix for Bug 29010 "make test does not wait to email address" (by Sebastian Nohn)
This commit is contained in:
parent
dee534efba
commit
7b292e2fba
@ -445,7 +445,6 @@ if (!getenv('NO_INTERACTION')) {
|
||||
if (!strncasecmp($user_input, 'y', 1) || strlen(trim($user_input)) == 0) {
|
||||
echo "\nPlease enter your email address.\n(Your address will be mangled so that it will not go out on any\nmailinglist in plain text): ";
|
||||
flush();
|
||||
$fp = fopen("php://stdin", "r+");
|
||||
$user_email = trim(fgets($fp, 1024));
|
||||
$user_email = str_replace("@", " at ", str_replace(".", " dot ", $user_email));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user