<?php require_once "config.php"; require_once __ROOT__ . "/database/DbUtil.php"; require_once __ROOT__ . "/entity/Question.php"; require_once __ROOT__ . "/entity/Answer.php"; require_once __ROOT__ . "/Log.php"; //echo <<<EOF //<html> //<head> //<meta charset="utf-8"> //<title>菜鸟教程(runoob.com)</title> //</head> //<body> // //<form action="/api/BaiduImage.php" method="post" enctype="multipart/form-data"> // <label for="file">文件名:</label> // <input type="file" name="file" id="file"><br> // <input type="submit" name="submit" value="提交"> //</form> // //</body> //</html> //EOF; //var_dump(array_search(new Answer(1, 2, 3, 4), array(new Answer(4, 5, 6, 7), new Answer(2, 2, 3, 4)))); var_dump(array_search(4, array(2, 5, 1)));