MongoDB\BSON\fromPHP

  • (mongodb >=1.0.0)
  • Returns the BSON representation of a PHP value