define('key_start_atz', 200);
$str = 'key_start_atz';
How can I get 200
via $str
?
constant($str);
define('key_start_atz', 200);
$x = 'key_start_atz'; // contains 'key_start_atz'
$x = key_start_atz; // contains 200
$x = constant('key_start_atz'); // contains 200
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