Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php print character x times

str_repeat( string $string , int $times )

// example
echo '1' . str_repeat( '0' , 4 );

// 10000
Comment

PREVIOUS NEXT
Code Example
Php :: laravel display error message 
Php :: php intl 
Php :: where laravel function 
Php :: get post by taxonomy 
Php :: Calculate the Difference Between Two Dates Using PHP 
Php :: date format in laravel month name day name 
Php :: read global laravel request() 
Php :: General error: 1709 Index column size too large. The maximum column size is 767 bytes. 
Php :: how to load data from .env file in php 
Php :: Invalid request (Unsupported SSL request) 
Php :: php echo alot of html 
Php :: $_GET["name"] 
Php :: format time laravel 
Php :: remove action from theme wordpress 
Php :: nl2br php 
Php :: laravel create migration 
Php :: php mysql insert date time 
Php :: laravel curl request 
Php :: how to check if there is an authenticated user laravel 
Php :: replace accent php 
Php :: laravel date between 
Php :: php random 5 digit number 
Php :: Format and show date PHP 
Php :: php json_encode 
Php :: Target class [Controller] does not exist. 
Php :: root directory in php 
Php :: wordpress thumbnail 
Php :: get current url in controller in laravel 
Php :: larave artisan command run in web 
Php :: laravel model casts 
ADD CONTENT
Topic
Content
Source link
Name
8+7 =