|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6658 does not work on 4.02
Submitted: 2000-09-11 14:31 UTC Modified: 2001-02-15 08:49 UTC
From: hui at plasmedia dot com Assigned:
Status: Closed Package: XML related
PHP Version: 4.0.2 OS: linux slackware 7.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: hui at plasmedia dot com
New email:
PHP Version: OS:


 [2000-09-11 14:31 UTC] hui at plasmedia dot com
I do not understand why the below script works on 4.01pl2 but does not work on 4.02, there are no php error message, but only the standart error "the page cannot be displayed"
I suspect i implement xml methods that does not being supported at 4.02
class xml
  var $buffer;
  var $parser;
  var $returntidak;
  var $returnsatu;
  var $returnlebih;
  var $returnvar;
  var $hihi;
  var $votetidak;
  function xml()
    $this->parser = xml_parser_create();
    //echo $returntidak;
  function parse($data){
  function sethasil($hasil)
  function gethasil()
     echo $returntidak;
     return $returntidak;
  function parse($data) {
  function tag_open($parser,$tag,$attributes){
     while (list ($key, $val) = each ($attributes)) {

     	if (strcmp($tag,"TIDAKADA")==0)
     	   	echo "<p>".$val . " orang memilih Indonesia tidak bakal mendapatkan emas";     	   
        if (strcmp($tag,"SATU")==0)
     	   	echo "<p>".$val . " orang memilih Indonesia bakal mendapatkan 1 emas";     	   
     	if (strcmp($tag,"LEBIH")==0)
     	   	echo "<p>".$val . " orang memilih Indonesia bakal mendapatkan lebih dari 1 emas";

  function cdata($parser,$cdata){
  function tag_close ($parser,$tag){

function tag_open($parser,$tag,$attributes) {
function cdata($parser,$cdata) {



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-15 08:49 UTC]
try latest CVS. resubmit if the problem is still there!

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Dec 06 09:03:34 2021 UTC