Re: Variable wildcards

From: Date: Thu, 11 Apr 2002 22:44:29 +0000
Subject: Re: Variable wildcards
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-92675@lists.php.net to get a copy of this message
Sounds like what you want is Variable Variables. http://www.php.net/manual/en/language.variables.variable.php ----- Original Message ----- From: "Jason Bell" <jbell@barkingrat.com> To: <php-general@lists.php.net> Sent: Thursday, April 11, 2002 4:24 PM Subject: [PHP] Variable wildcards are there wildcard characters for variables? Lets say that I have a varable that always starts with $user but then has the 2 digit user id attached to the end, so it could be $user12 or $user28 is there a way to grab these? sort of like in unix standards, where I could use user?? or user* ? Thanks!

« previous php.general (#92675) next »