tests: skip tests with dynamic properties in PHP-8.2
[m6w6/ext-pq] / tests / crash_txn_reverse_dep.phpt
index d1a5cf181527d1e6dd570720f7b15aafd9babbc4..cddb5dfc161628357f055a7bb210a13323cc3cdf 100644 (file)
@@ -3,6 +3,8 @@ crash txn reverse dependency from connection
 --SKIPIF--
 <?php
 include "_skipif.inc";
+if (version_compare(PHP_VERSION, "8.2", ">="))
+       echo "skip PHP_VERSION>=8.2 (dynamic properties deprecated)\n";
 ?>
 --FILE--
 <?php