Re: \ Char Problems

From: Date: Wed, 13 Dec 2000 07:49:42 +0000
Subject: Re: \ Char Problems
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-30056@lists.php.net to get a copy of this message
Matt Stone wrote: > > Sorry for the trouble :) > Still not working... > I have this array ('4' => 'a', '8' => 'b', > 'c' => 'c', '3' => 'e', 'f' => > 'f', '9' => 'g', '|-|' => 'h', > '1' => 'i', 'j' => 'j', '|<' => > 'k', '|' => > 'l', '/\/\' => 'm', '|\|' => 'n', > '0' => 'o', 'p' => 'p', 'q' => > 'q', '|2' > => 'r', '5' => 's', '7' => 't', > 'u' => 'u', '\/' => 'v', '\/\/' => > 'w','><' > => 'x', ''/' => 'y', 'z' => > 'z', '+' => 't') > I get this error: > Parse error: parse error, expecting `')'' in c:\inetpub\wwwroot\leetconv.php > on line 12 > If you use in the above array for 'm' and 'y' these keys <? '/\/\\' => 'm' '\'/' => 'y' ?> then it should work (at least var_dump() for this array shows correct keys). -- Pavel a.k.a. Papi

« previous php.general (#30056) next »