Dutch PHP Conference 2025 - Call For Papers

Voting

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

The Note You're Voting On

narada dot sage at googlemail dot com
18 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