note 35125 deleted from function.token-get-all by didou

From: Date: Thu, 21 Aug 2003 09:49:05 +0000
Subject: note 35125 deleted from function.token-get-all by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-54805@lists.php.net to get a copy of this message
Note Submitter: tater@potatoe.com ---- Yes, the example is misleading: $tokens = token_get_all("foreach"); does not return array(T_FOREACH => "foreach") but rather array(T_FOREACH, "foreach") (i.e. a 2-element list, not a 1-element hash)

« previous php.notes (#54805) next »