strval

PHP 4, PHP 5, PHP 7, PHP 8
strval - Get string value of a variable
Strval Online Tool
Manual
Code Examples

Example #1 strval example using PHP magic __toString() method.

PHP Version:


Example #2 of strval

PHP Version:


Function strval:

Variable handling Functions

Most used PHP functions