unset_cast_deprecated.phpt 188 B

1234567891011121314
  1. --TEST--
  2. The (unset) cast is deprecated
  3. --FILE--
  4. <?php
  5. $x = 1;
  6. var_dump((unset) $x);
  7. var_dump($x);
  8. ?>
  9. --EXPECTF--
  10. Deprecated: The (unset) cast is deprecated in %s on line %d
  11. NULL
  12. int(1)