在window下安装了,PEAR包
<html><head><title>Library Books</title></head>
<body>
  
<table border=1>
<tr><th>Id</th><th>name</th><th>Age</th></tr>
<?php
// connect
require_once('DB.php');
$db_host = "localhost";
$db_user = "root";
$db_passwd = "pengshifu";
$db_dbName = "stu";
$PersistentConnection = 1 ;
$db_type ="mysql";
$db_proto ="";
$db_options="";
$db=DB::connect("$db_type://$db_user:$db_passwd@$db_host/$db_dbName",$db_options);
if (DB::iserror($db)) {
  die($db->getMessage( ));
}
  
// issue the query
$sql = "SELECT * FROM students";
  
$q = $db->query($sql);
if (DB::iserror($q)) {
  die($q->getMessage( ));
}
  
// generate the table
while ($q->fetchInto($row)) {
?>
<tr><td><?= $row[0] ?></td>
  <td><?= $row[1] ?></td>
  <td><?= $row[2] ?></td>
</tr>
<?php
}
?>我用如上代码测试,错误提示如下:
Parse error: syntax error, unexpected T_EXIT in E:\phpweb\test\index.php on line 19

请问我如何查看自已安装了那些PEAR包,怎样测试安装是否成功?