-
Notifications
You must be signed in to change notification settings - Fork 7.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SoapClient object doesn't respect trace property #17401
Comments
Something you should know about the properties table is that there's a difference in how dynamic properties and non-dynamic properties are stored. Fixed code (but could not test ofc as a full reproducer is missing):
Note that the Lines 251 to 254 in cee64ed
Hope this helps. |
@nielsdos , Thanks for replying and I was trying to access this MACRO in our source code and I see that soap ext folder is not visible though I have build php-src code with --enable-soap configure option. my php-config looks like bowl which shows that I build php-src code with --enable-soap option , However my /usr/local/include/php/ext folder doesn't have soap header files.
|
Ah right, it appears that header file is private and not public, so that's why it's not installed. |
hmm... I see that config.m4 doesnt have However , I did try to use
|
|
Yeah I defined the zend_property macro on top the php-src zend_property ,
I have registered the callback for
|
Additionally , I can see that this_ce is populated right because I can see the first property name as url under properties table..and no of element as 36 However , I am unable to retrieve the __lastrequestheader property from zend_read_property. While debugging, I see that my code exits here and exited. |
Description
HI ,
I am trying to retrieve the properties of soapCLient when _trace property is set to 1. But it did not work.
Trying to access properties of soapclient as below :
Resulted in this output:
But I expected this output instead:
PHP Version
PHP 8.4
Operating System
ubuntu2204
The text was updated successfully, but these errors were encountered: