note 84389 added to function.strtok

From: Date: Fri, 11 Jul 2008 16:31:11 +0000
Subject: note 84389 added to function.strtok
Groups: php.notes 
Request: Send a blank email to php-notes+get-141407@lists.php.net to get a copy of this message
Congratualtions. You have written a function to tokenize a string that actually relies on, and outputs the exact same output as, strtok(). What's better is that you've decided to post your function on the manual page for the function that it emulates. The best part is that you are using strtok twice, for no reason but to add useless processing. Genious. ---- Server IP: 92.48.74.199 Probable Submitter: 217.34.32.119 ---- Manual Page -- http://www.php.net/manual/en/function.strtok.php Edit -- https://master.php.net/note/edit/84389 Del: integrated -- https://master.php.net/note/delete/84389/integrated Del: useless -- https://master.php.net/note/delete/84389/useless Del: bad code -- https://master.php.net/note/delete/84389/bad+code Del: spam -- https://master.php.net/note/delete/84389/spam Del: non-english -- https://master.php.net/note/delete/84389/non-english Del: in docs -- https://master.php.net/note/delete/84389/in+docs Del: other reasons-- https://master.php.net/note/delete/84389 Reject -- https://master.php.net/note/reject/84389 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#141407) next »