php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11574 Using $thok()
Submitted: 2001-06-20 07:07 UTC Modified: 2001-07-22 13:20 UTC
From: ssayan3 at hotmail dot com Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 4.0.4pl1 OS: Windows Me
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
30 + 43 = ?
Subscribe to this entry?

 
 [2001-06-20 07:07 UTC] ssayan3 at hotmail dot com
<?
$var[0] = "text0"; $var[1] = "text1"; $var[2] = "text2"; $var[3] = "text3"; $var[4] = "text4"; $co = "0";

while (($var["$co"]) == TRUE) {
$some = $var[$co];
echo $var["$co"] . " " . strlen($var[$co]) . " " . strtok($some) . "<br>" ;
$co++;
}
?>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-20 10:16 UTC] derick@php.net
This works fine for me on Linux with php 4.0.6RC4, can you try
one of the snapshots from www.zend.com/snapshots and see if the problem still exists?
 [2001-07-22 13:20 UTC] andy@php.net
no feedback after 30+ days.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 02:01:30 2024 UTC