Answer the question
In order to leave comments, you need to log in
How to replace characters in a string?
there is a line:
<?php
$text = "qw_er00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000";
echo strlen($text); //223
?>
$input = "id_alien";
$text_send = str_pad($input, 223, "0");
var_dump($text_send);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question