(PHP 7 >= 7.4.0, PHP 8)
WeakReference::__construct — 不允許實(shí)例化的構(gòu)造函數(shù)
這個(gè)方法的存在只是為了禁止實(shí)例化 WeakReference 類。 弱引用使用工廠方法 WeakReference::create() 進(jìn)行實(shí)例化。
此函數(shù)沒(méi)有參數(shù)。