Jean-Baptiste
Well-known member
Hello,
I have the following PHP variable :
	
	
	
		
I would like to compile it using XenForo's core PHP functions, so I get the following result : "<h1>Demo</h1>".
It's exactly like XenForo's templates would do, but without using templates !
Any ideas ?
				
			I have the following PHP variable :
		Code:
	
	$string = '<xen:h1>Demo</xen:h1>' ;
	I would like to compile it using XenForo's core PHP functions, so I get the following result : "<h1>Demo</h1>".
It's exactly like XenForo's templates would do, but without using templates !
Any ideas ?