I\'ve got following XML:
123 ACTIVE >
Check performance str_replace vs recursive loop
The str_replace quickly on ~0.00001 seconds. The difference will be noticeable in many calls