User-Defined PHP Functions

Главная » Tutorials » PHP » User-Defined PHP Functions

In this lesson we shortly will consider writing custom functions. Who watched this lesson, you wouldn’t know something new. But this lesson needs because very soon we will write a lot of our custom functions.

Function declaration in php begins from function keyword. Next function name follows and parameters in brackets. Function can work without parameters. In braces there is function body.

Подписаться на рассылку

Будьте в курсе - получайте последние статьи на свой email

Ваша подписка успешно оформлена

Pin It on Pinterest

Share This