php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60077 SoapServer ignores type hinting
Submitted: 2011-10-17 16:13 UTC Modified: 2020-03-22 04:22 UTC
Votes:8
Avg. Score:4.4 ± 0.9
Reproduced:7 of 7 (100.0%)
Same Version:1 (14.3%)
Same OS:3 (42.9%)
From: encard at p5r dot ru Assigned: cmb (profile)
Status: No Feedback Package: SOAP related
PHP Version: 5.3.8 OS: Ubuntu 11.04
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
37 - 15 = ?
Subscribe to this entry?

 
 [2011-10-17 16:13 UTC] encard at p5r dot ru
Description:
------------
Type hinting is totally ignored on every code executed by SoapServer object 
during SOAP request.

Test script:
---------------
http://textuploader.com/?p=6&id=T8LNv

Expected result:
----------------
Fatal error.

Actual result:
--------------
Type hinting is ignored.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-11-07 16:53 UTC] will dot fitch at gmail dot com
What is the result of gettype($arr)?
 [2012-01-02 19:17 UTC] encard at p5r dot ru
It's equivalent to type of $a variable (line #33 of test script) which now is 
integer.
 [2020-03-13 15:56 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-03-13 15:56 UTC] cmb@php.net
I cannot reproduce this; I get the expected SoapFault exception
(PHP-7.3 and PHP-7.4 on Windows with mysqlnd).  Does this still
fail for you with any of the actively supported PHP versions[1]?

[1] <https://www.php.net/supported-versions.php>
 [2020-03-22 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 05:01:30 2024 UTC