MongoId::__constructCreates a new id 
 説明
   public  MongoId::__construct
    ([ stringMongoId  
 $id = null
  ] )パラメータ
 
 返り値Returns a new id. 変更履歴
 例例1 MongoId::__construct example This example shows how to create a new id. This is seldom necessary, as the driver adds an id to arrays automatically before storing them in the database. 
<?php上の例の出力は、 たとえば以下のようになります。 49a7011a05c677b9a916612a 49a702d5450046d3d515d10d 例2 Parameter example This example shows how to use a string parameter to initialize a MongoId with a given value. 
<?php上の例の出力は、 たとえば以下のようになります。 bool(true) 参考
 
  |