note 110466 added to function.token-get-all

From: Date: Wed, 24 Oct 2012 21:34:11 +0000
Subject: note 110466 added to function.token-get-all
Groups: php.notes 
Request: Send a blank email to php-notes+get-191529@lists.php.net to get a copy of this message
I keep getting T_STRING instead of T_FUNCTION. What can be the possible reason? e.g. print_r(token_get_all("<?php time(); ?>")); // "time" is shown as T_STRING instead of T_FUNCTION ---- Server IP: 69.147.83.199 Probable Submitter: 76.92.136.254 ---- Manual Page -- http://www.php.net/manual/en/function.token-get-all.php Edit -- https://master.php.net/note/edit/110466 Del: integrated -- https://master.php.net/note/delete/110466/integrated Del: useless -- https://master.php.net/note/delete/110466/useless Del: bad code -- https://master.php.net/note/delete/110466/bad+code Del: spam -- https://master.php.net/note/delete/110466/spam Del: non-english -- https://master.php.net/note/delete/110466/non-english Del: in docs -- https://master.php.net/note/delete/110466/in+docs Del: other reasons-- https://master.php.net/note/delete/110466 Reject -- https://master.php.net/note/reject/110466 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#191529) next »