note 39207 added to language.types.type-juggling

From: Date: Tue, 20 Jan 2004 20:20:50 +0000
Subject: note 39207 added to language.types.type-juggling
Groups: php.notes 
Request: Send a blank email to php-notes+get-63897@lists.php.net to get a copy of this message
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 :( ---- Manual Page -- http://www.php.net/manual/en/language.types.type-juggling.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+39207 Delete -- http://master.php.net/manage/user-notes.php?action=delete+39207&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+39207&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#63897) next »