Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- interface MathInterface{
- const MSG = "Math Interface";
- const PI = 3.1415;
- public function calculate();
- }
- echo MathInterface::MSG . "<br>";
- echo "MathInterface::PI";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement