From:             [EMAIL PROTECTED]
Operating system: win me/freebsd
PHP version:      4.0.6
PHP Bug Type:     Output Control
Bug description:  ereg and preg problems

$data = eregi_replace("(.*)", prodwebsearch('\\1'), "$data");

function prodwebsearch($search) { 
# here search is fine
# search = ultra 5
return prodsearch($search); 
}

function prodsearch($search) { 
#here its not
# search = \1
return $search;
}

(this is just an example)

why does $search change to \1?
-- 
Edit bug report at: http://bugs.php.net/?id=12761&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