PHP OOP - статические методы
<?php
class greeting {
public static function welcome() {
echo "Hello World!";
}
}
// Call static method
greeting
naly moslih
<?php
class greeting {
public static function welcome() {
echo "Hello World!";
}
}
// Call static method
greeting