tests: skip tests with dynamic properties in PHP-8.2
[m6w6/ext-pq] / tests / crash_cur_reverse_dep.phpt
index a9f4d1909ba4ff1bf4f7b3e4cbcec4212fe7faea..c97d73aa34b2102128a2d6e006061bd3b1a9a9a8 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