Hello,
I am an old programmer but new to PHP. Have traced an errant PHP operation to the following lines:
$string="[IN TRADE] Servicemans essential test equipment.
My review: http://youtu.be/OiOipql_Zcc Saves you time and avoid blanket replace of electrolytic capacitor on faulty equipment when repairing TV, LCD, Audio board, etc. It tells you which electrolytics are out-of-spec IN CIRCUIT (or out)";
//after the following preg_replace the $string is sometimes NULL; why?
$string = preg_replace(’#(<[^>]+[\x00-\x20"’/])(on|xmlns)[^>]*>#iUu’, “$1>”, $string);
Of course I have checked the PHP help for preg_replace, but Id appreciate a breakdown on how the user bits of preg_replace work so I can then figure out why that step is inconsistent:
1…’#(<[^>]+[\x00-\x20"’/])(on|xmlns)[^>]*>#iUu’
2…"$1>"
Or, pointer in right direction.
Thanks vm. Alistair.