[E017] Error: cannot declare magic method `EnumWithDtor::__destruct` in an enum
   ,-[code.php:4:21]
   |
 3 | enum EnumWithDtor {
   *      ^^^^^^^^^^^^  
   *                     
 4 |     public function __destruct() {}
   *                     ^^^^^|^^^^  
   *                          `------ try removing this magic method
---'

