[pmwiki-devel] php question

Hans design5 at softflow.co.uk
Thu Jan 22 08:16:19 CST 2009


okay, I get confused which php array functions to employ, to get the
most efficient code.

Say I have an array $ar with string values (no key names).
I want to check if there is a value 'xyz', and if there is, I want to
have it replaced with  value 'abc'.

How do I do this best? It should work with php 4 and 5.

Thanks,
hans




More information about the pmwiki-devel mailing list