Fixed example2.php in documentation