php 7.4 ~ Lesson 8: PHP Strip Tags Accepts Array

Опубликовано: 21 Март 2026
на канале: Zak H.
1,384
19

php 7.4 ~ Lesson 8: PHP Strip Tags Accepts Array In PHP 7.4 ~ PHP's strip_tags function now accepts an array of the html element tags we want to omit from stripping ~ here's a quick to the point example of using strip tags with the second parameter as an array.

PHP 7.4 ~ Lesson 9: Serialize & Unserialize Magic Methods Serialize is the getter and unserialize is the setter PHP 7.4 gives two new magic methods to help us serialize data from class instance state and unserialize data to set class instance state. Pretty nifty ~ I'm a fan :)

Let's Learn About php 7.4 and its new features!

Lesson 1: Class property typing (easy casting)
   • PHP 7.4 ~ Lesson 1: PHP Typed Class Proper...  

Lesson 2: Short hand functions or Arrow functions
   • php 7.4 ~ Lesson 2: PHP Short hand functions  

Lesson 3: Short hand functions or arrow function, implicit scoping
   • php 7.4 ~ Lesson 3: php short hand functio...  

Lesson 4: PHP Null coalescing assignment operator
   • php 7.4 ~ Lesson 3: php short hand functio...  

Lesson 5: PHP spread operator (AKA unpacking arrays)
   • php 7.4 ~ Lesson 5: PHP Spread operator (U...  

Lesson 6: PHP Rest Operator (Doesn't really exist)
   • PHP 7.4 ~ Lesson 6: PHP Rest Operator (Doe...  

Lesson 7: PHP Numeric literal operator
   • php 7.4 ~ Lesson 7: PHP Numeric literal se...  

Lesson 8: PHP Strip Tags Accepts Array Example
   • php 7.4 ~ Lesson 8: PHP Strip Tags Accepts...  

Lesson 9: PHP Serialize & Unserialize Magic Methods
   • PHP 7.4 ~ Lesson 9: Serialize & Unserializ...  

Clean Code Studio ~ Clean Code Clean Life ~ Simplify
https://cleancode.studio