大家讲道理2017-06-30 09:57:21
unset
<?php
define('CLI_SCRIPT', true);
$user = new stdClass();
$user->id = 1;
$user->name = 'tony';
$user->age = 23;
var_dump($user);
unset($user->name);
var_dump($user);