--TEST-- PDO Row Count Test --DESCRIPTION-- Verification for "PDOStatement::rowCount()". --ENV-- PHPT_EXEC=true --SKIPIF-- --FILE-- rowCount(); if ($count !== $rows) { printf("Unexpected row count: $count instead of $rows\n"); } unset($stmt); } //-------------------------------------------------------------------- // Repro // //-------------------------------------------------------------------- function Repro() { try { RowCountTest(); } catch (Exception $e) { echo $e->getMessage(); } } Repro(); ?> --EXPECT-- Test "PDO Statement - Row Count" completed successfully.