PHP 8.5.0 Alpha 1 available for testing

Voting

: one minus one?
(Example: nine)

The Note You're Voting On

Lars Lernestal
13 years ago
if you want to check id a class constant is defined use self:: before the constant name:

<?php
defined
('self::CONSTANT_NAME');
?>

<< Back to user notes page

To Top