1 2 3 4 5 | <code>php</code><code> $str = 'hello world' ;
var_dump((unset) $str );
var_dump( $str );
</code>
|
Copier après la connexion
Copier après la connexion
有同学知道这个使用场景么?
回复内容:
1 2 3 4 5 | <code>php</code><code> $str = 'hello world' ;
var_dump((unset) $str );
var_dump( $str );
</code>
|
Copier après la connexion
Copier après la connexion
有同学知道这个使用场景么?
然而并没有什么卵用。。和直接写null没有毛线区别,个人猜测仅仅是因为类型里有null,所以转换也来个转成null,but why it's (unset) instead of (null),我只能说,who tama knows.