#33983 [Opn->Fbk]: bugy result from get_all_tokens()

From: Date: Wed, 03 Aug 2005 16:19:30 +0000
Subject: #33983 [Opn->Fbk]: bugy result from get_all_tokens()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-82896@lists.php.net to get a copy of this message
ID: 33983 Updated by: tony2001@php.net Reported By: smart at open-publisher dot net -Status: Open +Status: Feedback Bug Type: Unknown/Other Function Operating System: XP PHP Version: 5.0.4 New Comment: Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try to avoid embedding huge scripts into the report. Previous Comments: ------------------------------------------------------------------------ [2005-08-03 18:14:59] smart at open-publisher dot net Description: ------------ When parsing files that contains mixed html + php code with the function get_all_tokens() the returned array contains a lot of html fragments. Also when parsing some files the returned array cause heavy problems. The Server return "document contains no data". But the same file is correctly parsed by the php interpreter. So i think the problem is the function get_all_tokens(). ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33983&edit=1

« previous php.bugs (#82896) next »