Загрузка...

What is declare(strict_types=1) in PHP?

Learn what strict type checking is in PHP.

‣ Please consider supporting my channel: ☕ https://ko-fi.com/davehollingworth

‣ Recommended web hosting provider:
https://davehollingworth.net/hosting

In this tutorial, learn how by default PHP automatically changes types when necessary; why this is potentially bad, and how to switch it off.

Topics covered:
• Type juggling
• Type declarations
• Enabling strict type checking

Related videos:
‣ PHP Type Declarations: https://youtu.be/Ig0NbYTStxo

#php

Видео What is declare(strict_types=1) in PHP? канала Dave Hollingworth
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять