|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-11-30 14:04 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 22 09:00:01 2025 UTC |
Description: ------------ I placed php.ini (recommended version) in the same path as the executable that was going to run the script. My program uses Microsoft Script Control and i have a class module which i use to collect feedback from my scripts. I add the class module as an object using Dim rep as class1 set rep = new class1 ScriptControl1.AddObject "rep",rep,false (reply is a method in the class module) hence, rep.reply "hello world" will display a message box saying "hello world" the script doesn't run and when the program exits php crashes with a memory cannot be read error message. also, the same thing happens with WScript but it displays the message and when the script ends PHP crashes Reproduce code: --------------- $rep->reply("Hello world"); Expected result: ---------------- message box appears saying Hello World Actual result: -------------- php crashes with memory cannot be read error