How I can destroy an const? I tried unset( KEY ), but not work.
<?php
define('KEY', 'value');
echo KEY; //output value
unset( KEY ); //no work
?>
Constants created with define()
can't be undefined once created.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With