|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-10-31 22:30 UTC] lrhazi at netgen dot com
[2000-10-31 22:44 UTC] joey@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 05:00:02 2025 UTC |
function complete_email_addresses($ilist,$suffix){ my_info("Entered compelte with [$ilist] and [$suffix]"); if(($ilist == "")||($suffix == "")){ my_info("leaving complete too early!"); return $ilist; } $name1="";$result=""; $name = strtok($ilist,","); while($name) { my_info("inside loop with [$name]"); $name1 .=$suffix; $result .= $name1.","; } my_info("ilist completed : $result"); return $result; } I call this function with ("toto","@domain.com") and it never returns!