Hapus semua kode HTML menggunakan PHP

<?php
  // Remove all html codes from a string
  	$html = '<p>I love <em>codes</em>.<br>We shall keep the learning going</p>';
	echo strip_tags($html);
	echo '<br>';
	// Remove specific html tag/s from a string
	echo strip_tags($html, '<br>');
?>
godfreysseki