PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php $str1 = 'Привет!!'; $str2 = 'test'; $max_len = max(mb_strlen($str1),mb_strlen($str2)); echo str_pad( $str1, $max_len, " ", STR_PAD_BOTH ) . PHP_EOL ; echo str_pad( $str2, $max_len, " ", STR_PAD_BOTH ) . PHP_EOL ;
Show:  
Copy Clear