From 01ed9758d59cce6e5c794b11b8e9619a5f32e0c6 Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Fri, 22 Mar 2024 13:19:28 +0400 Subject: [PATCH] modifs.mineures sans commentaires --- php/src_base/DataException.php | 19 +++++++++++++++++++ php/src_php/iter/AbstractIterator.php | 10 +++++----- 2 files changed, 24 insertions(+), 5 deletions(-) create mode 100644 php/src_base/DataException.php diff --git a/php/src_base/DataException.php b/php/src_base/DataException.php new file mode 100644 index 0000000..b68b8ed --- /dev/null +++ b/php/src_base/DataException.php @@ -0,0 +1,19 @@ +valid = false; try { $item = $this->_next($key); - } catch (EOFException $e) { + } catch (DataException $e) { $this->beforeClose(); try { $this->_teardown();