fixed function name in example (thanks Thomas Gillis)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301422 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Peter Cowburn 2010-07-20 15:38:17 +00:00
parent 2ab5985e8b
commit 55ac051503

View file

@ -29,7 +29,7 @@
<?php
$profile = array("username" => "foobity",
"pic" => new MongoBinData(get_file_contents("gravatar.jpg"))
"pic" => new MongoBinData(file_get_contents("gravatar.jpg"))
);
$users->save($profile);