note 39207 rejected from language.types.type-juggling by betz
| From: | betz@php.net | Date: | Tue, 20 Jan 2004 20:46:41 +0000 |
| Subject: | note 39207 rejected from language.types.type-juggling by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-63903@lists.php.net to get a copy of this message | ||
Note Submitter: tomato@pisem.net
----
I did not find a way to make a new EMPTY variable with string type
e.g:
1)
$var = "";
$var[0]="h"; // $var is array type now
2)
$var = "a";
$var[0]="h"; // $var is string type now
is there any way to make new empty string variable?
ps settype($var,"string") do not make sense in first case :(