ID: 30108 User updated by: saleh at sfsj dot net Reported By: saleh at sfsj dot net -Status: Feedback +Status: Open Bug Type: Zend Engine 2 problem Operating System: Windows XP sp1 -PHP Version: 5.0.1 +PHP Version: 5.0.4-dev New Comment:
works fine now, thanks :) Previous Comments: ------------------------------------------------------------------------ [2005-01-13 17:12:42] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.0-win32-latest.zip Can't reproduce with latest snapshots. ------------------------------------------------------------------------ [2004-09-16 10:33:06] saleh at sfsj dot net Description: ------------ what I want to achive is to store the arguments passed to the overloaded method in a property but it seems that it sets NULL instead! also a strange behavior sometimes occur! sometimes when I want to see the content of the property which is supposed to have the arguments (the one taking NULL instead) apache fails and other times it works! I have pointed where it works and where it fails in the repreducing code.. when it fails, Windows shows that apache encountered a problem and it has to be closed, but it doesn't force closing apache and I can still continue my work without restarting the server .. I am not sure if it's legal in the first place to set arguments values to properties inside __call method but if it was illegal, I guess a "fatal error" message would be more friendly than seeing an apache failur message from windows :) I am not sure why it's behaving like that! Apache version: 1.3.27 php is not installed as a CGI .. Reproduce code: --------------- http://www.sfsj.net/__call_problem.php Expected result: ---------------- I excpet to see the arguments printed and stored in the property "args" Actual result: -------------- if it works, it doesn't set the arguments and sets NULL instead.. and sometimes it fails apache and doesn't show anything.. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30108&edit=1