|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[1999-09-20 08:16 UTC] maycat at odessa dot net
array_walk won't work at all. echo "text1".(m_l($aa,bb))."text2"; in HTML looks like Function result, Text1, Text2. But imho correct is Text1, Func. res., Text 2. but echo text1; echo m_l($aa,$bb); echo text2; is all ok. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 06:00:01 2025 UTC |
try to submit a source code in which array_walk doesn't work. are you sure, you RETURN the value from m_l() function and don't echo it? if you have: function fnc($a) { echo $a; } and write echo "first ".fnc("second")." third"; then output stating "secondfirst third" is right. instead of echo $a, i should have used return to get "first second third". it's just the way how it works.