rendered paste body$args = [id] => 3
[exchange_id] => 3
[phase_id] => 2
[date_create] => 1183992050
[date_modify] => 1183992050
[date_expire] =>
function __instantiate( $args )
{ $this -> id = (int) $args[ 'id' ];
$this -> exchange_id = (int) $args[ 'exchange_id '];
$this -> phase_id = (int) $args[ 'phase_id' ];
echo "<pre>";
var_dump( $args[ 'exchange_id' ] );
var_dump( $this -> exchange_id );
echo "</pre>";
$this -> date_create = (int) $args['date_create'];
$this -> date_modify = (int) $args['date_modify'];
$this -> date_expire = (int) $args['date_expire'];
}
OUTPOUT:
string(1) "3"
int(0)