1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-13 10:04:07 +02:00

Regexp (?P<>) is not supported with preg_replace_callback in older PHP versions

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@947 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana
2009-07-30 09:25:37 +00:00
parent 7b34625b01
commit 175daa360c
2 changed files with 5 additions and 4 deletions

View File

@@ -1,4 +1,2 @@
<?php
function conversion_date($match) {
return ($match["p1"] ? $match["p1"] : ($match["p2"] < 70 ? 20 : 19) . $match["p2"]) . "-$match[p3]$match[p4]-$match[p5]$match[p6]";
}