please help! about preg_replace_callback
Posted: Thu Jul 02, 2009 3:45 am
can i transmit other parameters to the function which is called for preg_replace_callback???
please help me, thank u!!

please help me, thank u!!
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Try it.zorro wrote:can i transmit other parameters to the function which is called for preg_replace_callback???
please help me, thank u!!![]()
![]()
prometheuzz wrote:Try it.zorro wrote:can i transmit other parameters to the function which is called for preg_replace_callback???
please help me, thank u!!![]()
![]()
You can access global variables [which are outside your call back function]. And there's this thing called "currying" (a.k.a. delayed argument binding) which you might use.zorro wrote:...
i have tried many times
i think it can not
but i want to define it is really true??