note 18513 deleted from function.preg-replace by sniper
| From: | sniper@php.net | Date: | Sun, 07 Sep 2003 21:59:01 +0000 |
| Subject: | note 18513 deleted from function.preg-replace by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-55676@lists.php.net to get a copy of this message | ||
Note Submitter:
----
Just a example with an array in an output...
<?php
$maand = array("","Januar","Februar","etc..");
echo preg_replace("/(\d{1,2})-(\d{1,2})-(19|20)(\d{2})/e","'\\1 '.
\$maand['\\2'] .' \\3\\4'","25-1-2002");
?>