|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-01-28 21:27 UTC] tony2001@php.net
[2005-02-10 23:32 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 09:00:02 2025 UTC |
Description: ------------ Hi, I tried to register a local object with a SoapClient property into a Session. When registrating this object following Error occours: Fatal error: Exception thrown without a stack frame in Unknown on line 0 Thereafter, while loading the Session, PHP crashs. (No Output - No Header - No Apache-Process) Maybe this problem is also related to the Soap-Functions. (Although I will send it as Session-Related ;-) Kindest Regards, Matthias Leuffen Reproduce code: --------------- <?PHP class test { private $mySoapConnector; public function __construct () { $this->mySoapConnector = new SoapClient ("<pathToWsdl>"); } public function isAlive() { echo "<br>I'm still alive"; } } session_start(); if (!isset ($_SESSION["CLASS"])) { echo "Creating new Session"; $_SESSION["CLASS"] = new test(); } else { echo "Loading Session"; $_SESSION["CLASS"]->isAlive(); } Expected result: ---------------- 1st Call: >-- >Creating new Session >-- 2nd Call: >-- >Loading Session >I'm still alive >-- Actual result: -------------- 1st Call: >-- >Creating new Session > >Fatal error: Exception thrown without a stack frame in Unknown on line 0 >-- 2nd Call: <nothing - enendingly browser loading>