Prev: PEAR clases don't work with PHP 5.3
Next: PHP_Beautifier: strange behaviour with newlines and comments
From: "Robert P. J. Day" on 5 Mar 2010 10:41 i just started playing with the PHP_Beautifier package (0.1.14 beta) and was wandering through the code and ran across a couple occurrences of the string "tokeniker", which strikes me as a weird (mis)spelling(?) of "tokenizer": $ grep -irn tokeniker * Beautifier/Tokenizer.php:38:interface PHP_Beautifier_Tokeniker_Interface { Beautifier.php:697: $sClass = 'PHP_Beautifier_Tokeniker_' . ucfirst($this->sFileType); $ i popped over to the subversion repo here: http://beautifyphp.svn.sourceforge.net/viewvc/beautifyphp/trunk/ and it appears that those same weird spellings are in the trunk. is there something magic about that spelling? what does it represent? thanks. rday -- ======================================================================== Robert P. J. Day Waterloo, Ontario, CANADA Linux Consulting, Training and Kernel Pedantry. Web page: http://crashcourse.ca Twitter: http://twitter.com/rpjday ========================================================================
From: Michael Gauthier on 8 Mar 2010 09:31
Robert, Good catch. This appears to be a typo. The correct string is definitely Tokenizer, not Tokeniker. You should file a bug about the API using incorrect spelling. Cheers, Mike On Fri, 2010-03-05 at 10:41 -0500, Robert P. J. Day wrote: > i just started playing with the PHP_Beautifier package (0.1.14 beta) > and was wandering through the code and ran across a couple occurrences > of the string "tokeniker", which strikes me as a weird > (mis)spelling(?) of "tokenizer": > > $ grep -irn tokeniker * > Beautifier/Tokenizer.php:38:interface PHP_Beautifier_Tokeniker_Interface { > Beautifier.php:697: $sClass = 'PHP_Beautifier_Tokeniker_' . ucfirst($this->sFileType); > $ > > i popped over to the subversion repo here: > > http://beautifyphp.svn.sourceforge.net/viewvc/beautifyphp/trunk/ > > and it appears that those same weird spellings are in the trunk. is > there something magic about that spelling? what does it represent? > thanks. > > rday > -- > > ======================================================================== > Robert P. J. Day Waterloo, Ontario, CANADA > > Linux Consulting, Training and Kernel Pedantry. > > Web page: http://crashcourse.ca > Twitter: http://twitter.com/rpjday > ======================================================================== > |