wp-code-pre

Wp Code Pre

This simple plugin was created because of security concerns related to using PHP preg_replace directly. With transition to PHP7, it’s advised to use preg_replace_callback instead.

Plugin is working fine with PHP 8 as well.


   
//here is a example of usage
   <?php
       
echo "Hello, this is PHP echo";
       print 
"Hi, this is PHP print";
    
?>