Voting

: five minus three?
(Example: nine)

The Note You're Voting On

mparsa1372 at gmail dot com
2 years ago
<?php
//Syntax of define constant in php
//define(name, value, case-insensitive);

//it will print 100 in output
define('BOOK',100);
echo
BOOK;

//it will print 200 in output
define('book', 200 , true);
echo
book;

//results of all are the same
echo '<br>';
echo
BOOK;
echo
'<br>';
echo
book;

<< Back to user notes page

To Top