PHP 7.2.0 Beta 3 Released

Voting

Please answer this simple SPAM challenge: seven minus five?
(Example: nine)

The Note You're Voting On

php at webflips dot net
3 years ago
It is perfectly valid to use a built-in PHP keyword as a constant name - as long as you the constant() function to retrieve it later:

<?php
define
('echo', 'My constant value');

echo
constant('echo'); // outputs 'My constant value'
?>

<< Back to user notes page

To Top