XMLでパースエラーになる制御文字置き換え(php)
PHPでのXMLパースエラー出力は必須だね - 今からお前んちこいよ
private function _remove_control_chars($string){ $string = preg_replace('/[\x00-\x09\x0B\x0C\x0E-\x1F\x7F]/', '', $string); return $string; }
PHPでのXMLパースエラー出力は必須だね - 今からお前んちこいよ
private function _remove_control_chars($string){ $string = preg_replace('/[\x00-\x09\x0B\x0C\x0E-\x1F\x7F]/', '', $string); return $string; }