note 21886 deleted from function.str-pad by rasmus

From: Date: Tue, 05 May 2015 05:33:48 +0000
Subject: note 21886 deleted from function.str-pad by rasmus
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-202435@lists.php.net to get a copy of this message
Note Submitter: no_email at php dot net ---- To convert your string couldnt you just use strval($var)? What if you want non-breaking spaces? If I try to str_pad with " " PHP thinks my padding string is 6 characters, whn in HTML it is only one.

« previous php.notes (#202435) next »