update page now

Voting

: max(eight, eight)?
(Example: nine)

The Note You're Voting On

narada dot sage at googlemail dot com
19 years ago
To access the value of a class constant use the following technique.

<?php

class a {
    const b = 'c';
}

echo constant('a::b');

// output: c

?>

<< Back to user notes page

To Top