--TEST-- accesses an output parameter --SKIPIF-- --FILE-- prepare("select ? = count(* ) from Person.Person"); $stmt->bindParam( 1, $input1, PDO::PARAM_STR, 10); $stmt->execute(); echo "Result: ".$input1; //free the statement and connection $conn = null; $stmt = null; ?> --EXPECT-- Result: 19972