Ejemplo n.º 1
0
function O()
{
    $e = P($b['Q']);
    $f = R($e);
    $g = "S{$eT}{$eU}{$eV}";
    $h = W($g);
    if (!$h) {
        X(Y());
        return $this->E();
    }
    if (!AA($h)) {
        AB('AC');
        return $this->E();
    } else {
        $i = <<<AE
AF{$b['Q']}AH
AE;
        while ($j = AI($h)) {
            $g = "AJ{$j['AK']}AL";
            $k = W($g);
            $l = AI($k);
            $i .= <<<AO
AP
AO;
            if ($j['AQ']) {
                $i .= "AR{$j['AQ']}AU";
            }
            if ($j['AQ'] == 0) {
                if ($j['AW'] != 0) {
                    $i .= "AX{$l['AY']}AZ{$j['BA']}BB{$j['BC']}BD";
                } else {
                    $i .= "AX{$l['AY']}AZ{$j['BA']}BB{$j['BJ']}BK{$j['BL']}BM{$j['BN']}BD";
                }
            }
            $i .= 'BP';
        }
        return $i . $this->E();
    }
}
Ejemplo n.º 2
0
<?php

while (B()) {
    ?>
C<?php 
    D();
    echo 'E' . F('G') . 'H';
    ?>
I<?php 
    J();
    if (K('L')) {
        ?>
M<?php 
        echo F('O');
        ?>
P<?php 
        echo Q();
    }
    ?>
R<?php 
    S('T', F('V'), 'W');
    ?>
X<?php 
    Y();
    Z(0);
    AA('AB', F('AD') . 'AE', 'AF', 'AG');
    ?>
AH<?php 
}
Ejemplo n.º 3
0
 function ConcludeContractForPID($pid, $parent, $company_id, $startup_subtraction, $plan, $companycredit)
 {
     global $db;
     $debug = FALSE;
     $debug ? $db->debug = TRUE : ($db->debug = FALSE);
     // Check up if this person is somehow in that database...
     $this->sql = "SELECT * FROM care_tz_insurance WHERE PID={$pid} AND parent={$parent}";
     $this->result = $db->Execute($this->sql);
     if ($companycredit) {
         $companycredit = 1;
     } else {
         $companycredit = 0;
     }
     if ($this->result->RecordCount() > 0) {
         if ($debug) {
             $this->GetCompanyFromPID($pid);
         }
         $this->sql = "UPDATE care_tz_insurance SET\n\t    \tparent='" . $parent . "',\n\t    \tcompany_id='" . $company_id . "',\n\t    \tcompany_parent=0,\n\t    \tceiling_startup_subtraction='" . $startup_subtraction . "',\n\t    \tgets_company_credit='" . $companycredit . "',\n\t    \tplan='" . $plan . "',\n\t    \tstart_date='" . date() . "',\n\t    \tend_date='" . (date() + Y(1)) . "',\n\t    \ttimestamp='" . time() . "',\n\t    \tcancel_flag=0 WHERE PID='" . $pid . "' AND parent='" . $parent . "'";
     } else {
         $this->sql = "INSERT INTO care_tz_insurance SET\n\t    \tparent='" . $parent . "',\n\t    \tcompany_id='" . $company_id . "',\n\t    \tcompany_parent=0,\n\t    \tPID='" . $pid . "',\n\t    \tceiling_startup_subtraction='" . $startup_subtraction . "',\n\t    \tgets_company_credit='" . $companycredit . "',\n\t    \tplan='" . $plan . "',\n\t    \tstart_date='" . date() . "',\n\t    \tend_date='" . (date() + Y(1)) . "',\n\t    \ttimestamp='" . time() . "',\n\t    \tcancel_flag=0";
     }
     $this->result = $db->Execute($this->sql);
     return true;
 }
Ejemplo n.º 4
0
<?php

if ($b->N('U') == 1) {
    echo V::W('X', Y($c->N('U')));
} else {
    echo V::W('X', Y($c->N('AG')));
}
$a++;
$b++;
if ($c) {
    $d++;
} else {
    $f++;
}
Ejemplo n.º 5
0
<?php

if (B('C') == $a || !D()) {
    ?>
D<?php 
    F('G');
    ?>
G<?php 
    I('J');
    ?>
J<?php 
    echo L('M');
    ?>
M<?php 
    O('P');
    ?>
P<?php 
} elseif (!$b || !$c) {
    if (!$d && !$e) {
        R(S('T'), $f, $g, $h, $i, $j);
    } elseif (!$k) {
        U(V('W'), $l, $m, $n);
    } elseif (!$o) {
        X(Y('Z'), $p, $q, $r);
    }
} else {
    switch ($s) {
        case 0:
            $t = AA();
    }
}
Ejemplo n.º 6
0
<?php

function Y($f)
{
    $g = create_function('$w', '$f = ' . var_export($f, true) . ';
    return $f(create_function(\'\', \'$w = \'.var_export($w,true).\';
      return call_user_func_array($w($w), func_get_args());
    \'));
  ');
    return $g($g);
}
function almost_fib($f)
{
    return create_function('$i', '$f = ' . var_export($f, true) . ';
    return ($i <= 1) ? $i : ($f($i-1) + $f($i-2));
  ');
}
$fibonacci = Y('almost_fib');
echo $fibonacci(10), "\n";
function almost_fac($f)
{
    return create_function('$i', '$f = ' . var_export($f, true) . ';
    return ($i <= 1) ? 1 : ($f($i - 1) * $i);
  ');
}
$factorial = Y('almost_fac');
echo $factorial(10), "\n";
Ejemplo n.º 7
0
<?php

for ($i = 0; $i < 10; $i++) {
    echo V::W('X', Y($c->N('U')));
}
while (1) {
    $a++;
}
switch ($a) {
    case 1:
        break 1;
    case 13:
        break 1;
    default:
        break 1;
}
foreach ($i as $b) {
    echo V::W('X', Y($c->N('U')));
}
Ejemplo n.º 8
0
<?php

function Y($f)
{
    $g = function ($w) use($f) {
        return $f(function () use($w) {
            return call_user_func_array($w($w), func_get_args());
        });
    };
    return $g($g);
}
$fibonacci = Y(function ($f) {
    return function ($i) use($f) {
        return $i <= 1 ? $i : $f($i - 1) + $f($i - 2);
    };
});
echo $fibonacci(10), "\n";
$factorial = Y(function ($f) {
    return function ($i) use($f) {
        return $i <= 1 ? 1 : $f($i - 1) * $i;
    };
});
echo $factorial(10), "\n";