filmov
tv
PHP Type Declarations: make your PHP code easier to read, and simpler to use

Показать описание
PHP is a dynamically-typed language. This means that variables don't have a fixed type. However, PHP does have an optional strong type system: type declarations (previously known as type hints). In this video we'll see how using this will make your code simpler, easier to read, and easier to maintain.
Resources:
Code shown in the video:
00:00 Intro
00:30 Types in PHP
00:49 Type juggling
02:00 Function arguments
04:40 Type declarations
07:05 Strict type mode
08:15 Available types
08:46 Return values
09:00 Class properties
09:20 Union types
09:30 Nullable
10:02 Summary
#PHP #PHP8
PHP Type Declarations: make your PHP code easier to read, and simpler to use
PHP 7 - Scalar Type Declarations
10: Type Declarations In OOP PHP | Type Hinting In PHP | Object Oriented PHP Tutorial | PHP Tutorial
10. Return Type Declarations - Object Oriented PHP
PHP 7: Return Type Declarations - New Feature!
Why should you use type declarations for function parameters in php? the power of #php function
Why should you use type declarations in php? boost your #php skills with this expert tip!
Learn About Different Types of Declarations in PHP 7
PHP 7: Scalar Type Declarations - New Feature!
PHP Strict Mode Type Declaration in Tamil | Declaring Strict_types in PHP in Tamil
PHP| Declare variable
Learn About Different Types of Declarations in PHP 7 - Part 2
Why does PHP 8 use Strictly Typed Vars + Namespaces?
PHP Return, Declare & Tickable Statements - Full PHP 8 Tutorial
4 Return type declarations PHP 7
SHORTEN YOUR CLASS CONSTRUCTORS 😱 with this new PHP feature! #php #php8 #shorts
LEVEL UP 🔼 your coding game with this PHP feature! #php #coding #programming
2 Primitive type declarations PHP 7
PHP Upgrade: The Difference between #PHP5 and #PHP7
Class Properties - PHP - P44
STOP Saying PHP is Loosely Typed!!! #php #shorts
PHP 7: How to declare a variable | Tutorial Nr. 2
3 Object type declarations PHP 7
STRENGTHEN YOU CODE SECURITY 💪 and prevent SQL injections! #php #coding #programming
Комментарии