str_pad

PHP 4 >= 4.0.1, PHP 5, PHP 7, PHP 8
str_pad - Pad a string to a certain length with another string
Str Pad Online Tool
Manual
Code Examples

Example #1 str_pad example

PHP Version:


Example #2 of str_pad

PHP Version:


Function str_pad:

Strings Functions

Most used PHP functions