예제 #1
0
<?php

error_reporting(E_ALL & ~E_NOTICE);
require_once "parse.inc";
require_once "xmpir.inc";
require_once "xmpir4cs.inc";
$p = XGenParse("mpir.x");
echo filter_rn(XMPIR_GenerateWinCore($p));
function filter_rn($s)
{
    $s = str_replace("\r", "", $s);
    $s = str_replace("\n", "\r\n", $s);
    return $s;
}
예제 #2
0
<?php

error_reporting(E_ALL & ~E_NOTICE);
require_once "parse.inc";
require_once "xmpir.inc";
require_once "xmpir4cs.inc";
$p = XGenParse("mpir.x");
echo filter_rn(CSharpMPIR_Generate($p));
function filter_rn($s)
{
    $s = str_replace("\r", "", $s);
    $s = str_replace("\n", "\r\n", $s);
    return $s;
}